]> git.sur5r.net Git - u-boot/commitdiff
am43xx_evm: mmc: do not define DM_MMC for spl
authorMugunthan V N <mugunthanvnm@ti.com>
Mon, 28 Sep 2015 10:47:50 +0000 (16:17 +0530)
committerTom Rini <trini@konsulko.com>
Thu, 22 Oct 2015 18:43:59 +0000 (14:43 -0400)
Since spl doesn't support DM currently, do not define DM_MMC
for spl build.

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

index 09a3e17de33fef96bcedaf96c5c98cf6717c6d54..d93e3e7619d9215b2ab5e82124dacded4c22d338 100644 (file)
 #define CONFIG_USB_GADGET_DUALSPEED
 #endif
 
+/*
+ * Disable MMC DM for SPL build and can be re-enabled after adding
+ * DM support in SPL
+ */
+#ifdef CONFIG_SPL_BUILD
+#undef CONFIG_DM_MMC
+#endif
+
 #ifndef CONFIG_SPL_BUILD
 /* USB Device Firmware Update support */
 #define CONFIG_USB_FUNCTION_DFU