From e054be5babdafddf63fa6be7a021f6b2e5667b50 Mon Sep 17 00:00:00 2001 From: Adam Ford Date: Sun, 23 Jun 2019 18:30:54 -0500 Subject: [PATCH] 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. Signed-off-by: Adam Ford --- board/davinci/da8xxevm/da850evm.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/board/davinci/da8xxevm/da850evm.c b/board/davinci/da8xxevm/da850evm.c index 649c488470..fcf9334ba9 100644 --- a/board/davinci/da8xxevm/da850evm.c +++ b/board/davinci/da8xxevm/da850evm.c @@ -353,10 +353,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)); -- GitLab