Message ID | 20190623224836.29324-1-aford173@gmail.com |
---|---|
State | Accepted |
Commit | 938359c5704835d5cf8d20f09beab1b361891003 |
Delegated to: | Tom Rini |
Headers | show |
Series | [U-Boot] ARM: da850-evm: Remove duplicate UART initialization | expand |
On Sun, Jun 23, 2019 at 05:48:36PM -0500, Adam Ford wrote: > 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> > > diff --git a/board/davinci/da8xxevm/da850evm.c b/board/davinci/da8xxevm/da850evm.c > index a90b7a3538..c5404e6063 100644 Applied to u-boot/master, thanks!
diff --git a/board/davinci/da8xxevm/da850evm.c b/board/davinci/da8xxevm/da850evm.c index a90b7a3538..c5404e6063 100644 --- a/board/davinci/da8xxevm/da850evm.c +++ b/board/davinci/da8xxevm/da850evm.c @@ -368,11 +368,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; }
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>