Skip to contentSkip to conversation

ARM: da850-evm: Remove duplicate UART initialization

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 duplicate UART initialization

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.

board/davinci/da8xxevm/da850evm.c +0 -5
index a90b7a3538..c5404e6063 100644
@@ -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;
 }
 
Signature · 1 line
2.17.1
#1 lore raw

PATCH 1/1 ARM: da850-evm: Remove duplicate UART initialization

board/davinci/da8xxevm/da850evm.c

Quoted 8 lines · Adam Ford

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.

board/davinci/da8xxevm/da850evm.c +0 -0
index a90b7a3538..c5404e6063 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/e218248f/attachment.sig>