Commit 01e870b70f693ff739299e515f19c364ce59c68f
1 parent
53ee6342b8
Exists in
v2017.01-smarct4x
and in
30 other branches
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>
Showing 1 changed file with 4 additions and 0 deletions Side-by-side Diff
include/configs/ti_omap5_common.h
... | ... | @@ -51,9 +51,13 @@ |
51 | 51 | * Hardware drivers |
52 | 52 | */ |
53 | 53 | #define CONFIG_SYS_NS16550 |
54 | +#if defined(CONFIG_SPL_BUILD) || !defined(CONFIG_DM_SERIAL) | |
54 | 55 | #define CONFIG_SYS_NS16550_SERIAL |
55 | 56 | #define CONFIG_SYS_NS16550_REG_SIZE (-4) |
56 | 57 | #define CONFIG_SYS_NS16550_CLK 48000000 |
58 | +#else | |
59 | +#define CONFIG_OMAP_SERIAL | |
60 | +#endif | |
57 | 61 | |
58 | 62 | /* |
59 | 63 | * Environment setup |