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>
This commit is contained in:
parent
53ee6342b8
commit
01e870b70f
|
@ -51,9 +51,13 @@
|
||||||
* Hardware drivers
|
* Hardware drivers
|
||||||
*/
|
*/
|
||||||
#define CONFIG_SYS_NS16550
|
#define CONFIG_SYS_NS16550
|
||||||
|
#if defined(CONFIG_SPL_BUILD) || !defined(CONFIG_DM_SERIAL)
|
||||||
#define CONFIG_SYS_NS16550_SERIAL
|
#define CONFIG_SYS_NS16550_SERIAL
|
||||||
#define CONFIG_SYS_NS16550_REG_SIZE (-4)
|
#define CONFIG_SYS_NS16550_REG_SIZE (-4)
|
||||||
#define CONFIG_SYS_NS16550_CLK 48000000
|
#define CONFIG_SYS_NS16550_CLK 48000000
|
||||||
|
#else
|
||||||
|
#define CONFIG_OMAP_SERIAL
|
||||||
|
#endif
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Environment setup
|
* Environment setup
|
||||||
|
|
Loading…
Reference in New Issue