summaryrefslogtreecommitdiff
path: root/include/configs/ti_omap3_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_omap3_common.h
parent1874626b2b7f7d44187e72c8e285dd348285743d (diff)
downloadu-boot-c7b9686d5d482c8e952598841ea467e6ec0ec0de.tar.gz
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_omap3_common.h')
-rw-r--r--include/configs/ti_omap3_common.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/configs/ti_omap3_common.h b/include/configs/ti_omap3_common.h
index e399a879ac..e749d5dfb5 100644
--- a/include/configs/ti_omap3_common.h
+++ b/include/configs/ti_omap3_common.h
@@ -19,7 +19,7 @@
#include <asm/arch/omap.h>
#ifndef CONFIG_SPL_BUILD
-# define CONFIG_OMAP_SERIAL
+# define CONFIG_NS16550_SERIAL
#endif
/* Common ARM Erratas */
@@ -37,10 +37,10 @@
/* NS16550 Configuration */
#define V_NS16550_CLK 48000000 /* 48MHz (APLL96/2) */
#define CONFIG_SYS_NS16550
+#define CONFIG_SYS_NS16550_CLK V_NS16550_CLK
#ifdef CONFIG_SPL_BUILD
# define CONFIG_SYS_NS16550_SERIAL
# define CONFIG_SYS_NS16550_REG_SIZE (-4)
-# define CONFIG_SYS_NS16550_CLK V_NS16550_CLK
#endif
#define CONFIG_SYS_BAUDRATE_TABLE {4800, 9600, 19200, 38400, 57600, \
115200}