Skip to contentSkip to conversation

ARM: da850-evm: Remove repeated pinmuxing calls

PATCH New Adam Ford 2 participants 2 messages Jun 23, 2019 – Jul 28, 2019

lore
Share & tools
lore

Adam Ford

author
#0 lore raw

PATCH 1/1 ARM: da850-evm: Remove repeated pinmuxing calls

arch_cpu_init() initializes the pinmuxing which is called fairly early in the start sequences, so the board_init function doesn't need to do it again. This patch removes the call from board_init.

board/davinci/da8xxevm/da850evm.c +0 -4
index c5404e6063..fb1f5750fa 100644
@@ -344,10 +344,6 @@ int board_init(void)
 		 DAVINCI_SYSCFG_SUSPSRC_UART2),
 	       &davinci_syscfg_regs->suspsrc);
 
-	/* configure pinmux settings */
-	if (davinci_configure_pin_mux_items(pinmuxes, ARRAY_SIZE(pinmuxes)))
-		return 1;
-
 #ifdef CONFIG_USE_NOR
 	/* Set the GPIO direction as output */
 	clrbits_le32((u32 *)GPIO_BANK0_REG_DIR_ADDR, (0x01 << 11));
Signature · 1 line
2.17.1
#1 lore raw

PATCH 1/1 ARM: da850-evm: Remove repeated pinmuxing calls

board/davinci/da8xxevm/da850evm.c

Quoted 8 lines · Adam Ford

arch_cpu_init() initializes the pinmuxing which is called fairly early in the start sequences, so the board_init function doesn't need to do it again. This patch removes the call from board_init.

board/davinci/da8xxevm/da850evm.c +0 -0
index c5404e6063..fb1f5750fa 100644

Applied to u-boot/master, thanks!

Signature · 8 lines
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20190728/977f6401/attachment.sig>