summaryrefslogtreecommitdiff
path: root/include/configs/ti_omap3_common.h
diff options
context:
space:
mode:
authorAdam Ford <aford173@gmail.com>2018-07-24 18:06:04 -0500
committerTom Rini <trini@konsulko.com>2018-08-03 19:53:54 -0400
commitbdaf24f8a5736a07fe633e15bbe2cd9fffaf8fe9 (patch)
tree4a80e0f255fcf8caac7a0307c9d0567e25d17070 /include/configs/ti_omap3_common.h
parent91570b5d0bd8981da11739e21761fb31186e4104 (diff)
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 <aford173@gmail.com>
Diffstat (limited to 'include/configs/ti_omap3_common.h')
-rw-r--r--include/configs/ti_omap3_common.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/configs/ti_omap3_common.h b/include/configs/ti_omap3_common.h
index 7cd4272ce5..6d16fc782b 100644
--- a/include/configs/ti_omap3_common.h
+++ b/include/configs/ti_omap3_common.h
@@ -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