summaryrefslogtreecommitdiff
path: root/include/configs/am43xx_evm.h
diff options
context:
space:
mode:
authorLokesh Vutla <lokeshvutla@ti.com>2017-02-21 06:10:44 (GMT)
committerTom Rini <trini@konsulko.com>2017-03-21 11:17:11 (GMT)
commit19c1c700ecdedcb1c24de8d17bd01be4a8ccbfcc (patch)
tree1f53f4b51540a0c56dba70733dedf955aed4dc6c /include/configs/am43xx_evm.h
parent6a59845581c557bbc89881fad2d80544672d7b32 (diff)
downloadu-boot-19c1c700ecdedcb1c24de8d17bd01be4a8ccbfcc.tar.xz
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/am43xx_evm.h')
-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 1d622ef..ec99958 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