ti_omap3_common: Add CONFIG_SYS_NS16550_COMx entries
PATCH v2 1/1 ti_omap3_common: Add CONFIG_SYS_NS16550_COMx entries
Several boards do not use the default UART3, so they do a check for ifdef CONFIG_SPL_BUILD and enable the pointer for CONFIG_SYS_NS16550_COMx to point to OMAP34XX_UARTx.
Let's consoldate this all into one place, and remove them from the individual boards.
Signed-off-by Adam Ford <[email protected]>
---
V2: Rebase against master
include/configs/omap3_cairo.h +0 -2
@@ -203,8 +203,6 @@* function per_clocks_enable(). */ #ifdef CONFIG_SPL_BUILD -#undef CONFIG_SYS_NS16550_COM3 -#define CONFIG_SYS_NS16550_COM2 OMAP34XX_UART2#undef CONFIG_SERIAL3#define CONFIG_SERIAL2 #endif
include/configs/omap3_logic.h +0 -6
@@ -16,12 +16,6 @@#include <configs/ti_omap3_common.h> -#ifdef CONFIG_SPL_BUILD -/* select serial console configuration for SPL */ -#define CONFIG_SYS_NS16550_COM1 OMAP34XX_UART1 -#endif - -/* * We are only ever GP parts and will utilize all of the "downloaded image" * area in SRAM which starts at 0x40200000 and ends at 0x4020FFFF (64KB) in
include/configs/ti_omap3_common.h +2 -0
@@ -38,6 +38,8 @@/* Select serial console configuration */ #ifdef CONFIG_SPL_BUILD +#define CONFIG_SYS_NS16550_COM1 OMAP34XX_UART1 +#define CONFIG_SYS_NS16550_COM2 OMAP34XX_UART2#define CONFIG_SYS_NS16550_COM3 OMAP34XX_UART3#define CONFIG_SERIAL3 3#endif
Signature · 1 line
2.17.1
PATCH v2 1/1 ti_omap3_common: Add CONFIG_SYS_NS16550_COMx entries
Quoted 8 lines · Adam Ford
Several boards do not use the default UART3, so they do a check for ifdef
CONFIG_SPL_BUILDand enable the pointer forCONFIG_SYS_NS16550_COMxto point toOMAP34XX_UARTx.Let's consoldate this all into one place, and remove them from the individual boards.
Signed-off-by Adam Ford <[email protected]>
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/20180804/0ff03e52/attachment.sig>