aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorMugunthan V N <mugunthanvnm@ti.com>2015-09-28 16:17:49 +0530
committerTom Rini <trini@konsulko.com>2015-10-22 14:43:59 -0400
commit2a429d23e8b9e46428d57143e39052fab6a95956 (patch)
tree7cc38f69d316547fac5326764c32f4f176d00de3 /include
parente5a098b5cc46e296af9d95315be1ea848839082c (diff)
downloadu-boot-2a429d23e8b9e46428d57143e39052fab6a95956.zip
u-boot-2a429d23e8b9e46428d57143e39052fab6a95956.tar.gz
u-boot-2a429d23e8b9e46428d57143e39052fab6a95956.tar.bz2
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>
Diffstat (limited to 'include')
-rw-r--r--include/configs/am43xx_evm.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/include/configs/am43xx_evm.h b/include/configs/am43xx_evm.h
index 67d5c48..09a3e17 100644
--- a/include/configs/am43xx_evm.h
+++ b/include/configs/am43xx_evm.h
@@ -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