]> git.sur5r.net Git - u-boot/commitdiff
am43xx_evm.h: : switch to CONFIG_OMAP_SERIAL for non-SPL DM_SERIAL
authorMugunthan V N <mugunthanvnm@ti.com>
Mon, 28 Sep 2015 10:47:49 +0000 (16:17 +0530)
committerTom Rini <trini@konsulko.com>
Thu, 22 Oct 2015 18:43:59 +0000 (14:43 -0400)
Tested on am437x gp evm and am437x sk evm

Signed-off-by: Mugunthan V N <mugunthanvnm@ti.com>
include/configs/am43xx_evm.h

index 67d5c48ddeb61472472d7397a8e362cf5679091d..09a3e17de33fef96bcedaf96c5c98cf6717c6d54 100644 (file)
 
 /* 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