am43xx_evm.h: : switch to CONFIG_OMAP_SERIAL for non-SPL DM_SERIAL

Tested on am437x gp evm and am437x sk evm

Signed-off-by: Mugunthan V N <mugunthanvnm@ti.com>
This commit is contained in:
Mugunthan V N 2015-09-28 16:17:49 +05:30 committed by Tom Rini
parent e5a098b5cc
commit 2a429d23e8

View file

@ -23,9 +23,13 @@
/* NS16550 Configuration */
#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_SYS_NS16550_REG_SIZE (-4)
#else
#define CONFIG_OMAP_SERIAL
#endif
/* I2C Configuration */
#define CONFIG_CMD_EEPROM