mirror of
https://github.com/brain-hackers/u-boot-brain
synced 2024-07-12 14:16:17 +09:00
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>
This commit is contained in:
parent
bfaa2d99dc
commit
53ee6342b8
|
@ -58,11 +58,15 @@
|
||||||
* 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
|
||||||
#define CONFIG_CONS_INDEX 3
|
|
||||||
#define CONFIG_SYS_NS16550_COM3 UART3_BASE
|
#define CONFIG_SYS_NS16550_COM3 UART3_BASE
|
||||||
|
#else
|
||||||
|
#define CONFIG_OMAP_SERIAL
|
||||||
|
#endif
|
||||||
|
#define CONFIG_CONS_INDEX 3
|
||||||
|
|
||||||
/* TWL6030 */
|
/* TWL6030 */
|
||||||
#ifndef CONFIG_SPL_BUILD
|
#ifndef CONFIG_SPL_BUILD
|
||||||
|
|
Loading…
Reference in New Issue
Block a user