summaryrefslogtreecommitdiff
path: root/include/configs/ti_omap5_common.h
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2015-09-17 20:47:04 (GMT)
committerTom Rini <trini@konsulko.com>2015-10-22 18:18:41 (GMT)
commit01e870b70f693ff739299e515f19c364ce59c68f (patch)
tree1f56febd58143e65047d9df0c638f14db3235dd8 /include/configs/ti_omap5_common.h
parent53ee6342b86ddcbc89db1c9a7de816a13a09ef12 (diff)
downloadu-boot-01e870b70f693ff739299e515f19c364ce59c68f.tar.xz
ti_omap5_common.h: Switch to CONFIG_OMAP_SERIAL for non-SPL DM_SERIAL
Tested on J6Eco EVM Signed-off-by: Tom Rini <trini@konsulko.com>
Diffstat (limited to 'include/configs/ti_omap5_common.h')
-rw-r--r--include/configs/ti_omap5_common.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/configs/ti_omap5_common.h b/include/configs/ti_omap5_common.h
index 189ea7e..9fc33aa 100644
--- a/include/configs/ti_omap5_common.h
+++ b/include/configs/ti_omap5_common.h
@@ -51,9 +51,13 @@
* Hardware drivers
*/
#define CONFIG_SYS_NS16550
+#if defined(CONFIG_SPL_BUILD) || !defined(CONFIG_DM_SERIAL)
#define CONFIG_SYS_NS16550_SERIAL
#define CONFIG_SYS_NS16550_REG_SIZE (-4)
#define CONFIG_SYS_NS16550_CLK 48000000
+#else
+#define CONFIG_OMAP_SERIAL
+#endif
/*
* Environment setup