diff options
author | Tom Rini <trini@konsulko.com> | 2015-09-17 16:47:03 -0400 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2015-10-22 14:18:40 -0400 |
commit | 53ee6342b86ddcbc89db1c9a7de816a13a09ef12 (patch) | |
tree | 7c7b7aadc4737c0cb6f20fe85cf35408d4184141 /include/configs/ti_omap4_common.h | |
parent | bfaa2d99dc47b44f4e76bc029c2feb75634ca5c6 (diff) |
ti_omap4_common.h: Switch to CONFIG_OMAP_SERIAL for non-SPL DM_SERIAL
Tested on Pandaboard
Signed-off-by: Tom Rini <trini@konsulko.com>
Diffstat (limited to 'include/configs/ti_omap4_common.h')
-rw-r--r-- | include/configs/ti_omap4_common.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/include/configs/ti_omap4_common.h b/include/configs/ti_omap4_common.h index 1cd7dae85b..741f71fc16 100644 --- a/include/configs/ti_omap4_common.h +++ b/include/configs/ti_omap4_common.h @@ -58,11 +58,15 @@ * 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 -#define CONFIG_CONS_INDEX 3 #define CONFIG_SYS_NS16550_COM3 UART3_BASE +#else +#define CONFIG_OMAP_SERIAL +#endif +#define CONFIG_CONS_INDEX 3 /* TWL6030 */ #ifndef CONFIG_SPL_BUILD |