summaryrefslogtreecommitdiffstats
path: root/include/configs/ti_omap5_common.h
diff options
context:
space:
mode:
authorThomas Chou <thomas@wytron.com.tw>2015-11-19 21:48:12 +0800
committerTom Rini <trini@konsulko.com>2015-11-21 21:50:17 -0500
commitc7b9686d5d482c8e952598841ea467e6ec0ec0de (patch)
treea0f8c9b0243f887c8f65f769c13ecada6bf280cc /include/configs/ti_omap5_common.h
parent1874626b2b7f7d44187e72c8e285dd348285743d (diff)
downloadtalos-obmc-uboot-c7b9686d5d482c8e952598841ea467e6ec0ec0de.tar.gz
talos-obmc-uboot-c7b9686d5d482c8e952598841ea467e6ec0ec0de.zip
ns16550: unify serial_omap
Unify serial_omap, and use the generic binding. Signed-off-by: Thomas Chou <thomas@wytron.com.tw> Reviewed-by: Tom Rini <trini@konsulko.com> Acked-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'include/configs/ti_omap5_common.h')
-rw-r--r--include/configs/ti_omap5_common.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/configs/ti_omap5_common.h b/include/configs/ti_omap5_common.h
index 5acbc92c3f..be1f4c14b8 100644
--- a/include/configs/ti_omap5_common.h
+++ b/include/configs/ti_omap5_common.h
@@ -51,12 +51,12 @@
* Hardware drivers
*/
#define CONFIG_SYS_NS16550
+#define CONFIG_SYS_NS16550_CLK 48000000
#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
+#define CONFIG_NS16550_SERIAL
#endif
/*
OpenPOWER on IntegriCloud