ARM: da850-evm: Remove duplicate UART initialization
authorAdam Ford <aford173@gmail.com>
Sun, 23 Jun 2019 22:48:36 +0000 (17:48 -0500)
committerTom Rini <trini@konsulko.com>
Sat, 27 Jul 2019 02:24:12 +0000 (22:24 -0400)
The Low Level init functions start the UART, so it doesn't need
to happen during board_init.  This patch removes it from
board_init.

Signed-off-by: Adam Ford <aford173@gmail.com>
board/davinci/da8xxevm/da850evm.c

index 43483d5..649c488 100644 (file)
@@ -377,11 +377,6 @@ int board_init(void)
        davinci_emac_mii_mode_sel(HAS_RMII);
 #endif /* CONFIG_DRIVER_TI_EMAC */
 
-       /* enable the console UART */
-       writel((DAVINCI_UART_PWREMU_MGMT_FREE | DAVINCI_UART_PWREMU_MGMT_URRST |
-               DAVINCI_UART_PWREMU_MGMT_UTRST),
-              &davinci_uart2_ctrl_regs->pwremu_mgmt);
-
        return 0;
 }