ARM: da850-evm: Remove repeated pinmuxing calls
authorAdam Ford <aford173@gmail.com>
Sun, 23 Jun 2019 23:30:54 +0000 (18:30 -0500)
committerTom Rini <trini@konsulko.com>
Sat, 27 Jul 2019 02:24:12 +0000 (22:24 -0400)
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 <aford173@gmail.com>
board/davinci/da8xxevm/da850evm.c

index 649c488470b145a1ee099ecd9edff210fb6bca54..fcf9334ba92d3f148b6cad87990de218816557c1 100644 (file)
@@ -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));