summaryrefslogtreecommitdiff
path: root/include/configs
diff options
context:
space:
mode:
authorLokesh Vutla <lokeshvutla@ti.com>2017-02-21 11:40:44 +0530
committerTom Rini <trini@konsulko.com>2017-03-21 07:17:11 -0400
commit19c1c700ecdedcb1c24de8d17bd01be4a8ccbfcc (patch)
tree1f53f4b51540a0c56dba70733dedf955aed4dc6c /include/configs
parent6a59845581c557bbc89881fad2d80544672d7b32 (diff)
configs: am43xx_evm: Enable SPL_DM
Enable SPL_DM on all AM43xx based platforms Reviewed-by: Tom Rini <trini@konsulko.com> Signed-off-by: Lokesh Vutla <lokeshvutla@ti.com> Reviewed-by: Tom Rini <trini@konsulko.com>
Diffstat (limited to 'include/configs')
-rw-r--r--include/configs/am43xx_evm.h7
1 files changed, 2 insertions, 5 deletions
diff --git a/include/configs/am43xx_evm.h b/include/configs/am43xx_evm.h
index 1d622eff2f..ec99958fcd 100644
--- a/include/configs/am43xx_evm.h
+++ b/include/configs/am43xx_evm.h
@@ -18,9 +18,9 @@
/* NS16550 Configuration */
#define CONFIG_SYS_NS16550_CLK 48000000
-#if defined(CONFIG_SPL_BUILD) || !defined(CONFIG_DM_SERIAL)
+#if !defined(CONFIG_SPL_DM) || !defined(CONFIG_DM_SERIAL)
+#define CONFIG_SYS_NS16550_REG_SIZE (-4)
#define CONFIG_SYS_NS16550_SERIAL
-#define CONFIG_SYS_NS16550_REG_SIZE (-4)
#endif
/* I2C Configuration */
@@ -111,9 +111,6 @@
* DM support in SPL
*/
#ifdef CONFIG_SPL_BUILD
-#undef CONFIG_DM_MMC
-#undef CONFIG_DM_SPI
-#undef CONFIG_DM_SPI_FLASH
#undef CONFIG_TIMER
#endif