summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorMugunthan V N <mugunthanvnm@ti.com>2015-09-28 12:56:29 +0530
committerTom Rini <trini@konsulko.com>2015-10-22 14:22:29 -0400
commit6ae843632ee4817c899c08c6dc3631e6e0cb6207 (patch)
treee23314119226e5be9fe5a6ee2b192eb5843becad /include
parent11e1582506c615cc444e9ba8f34e877386aa4f45 (diff)
am335x_evm: mmc: do not define DM_MMC for spl
Since spl doesn't support DM currently, do not define DM_MMC for spl build. Signed-off-by: Mugunthan V N <mugunthanvnm@ti.com> Reviewed-by: Tom Rini <trini@konsulko.com>
Diffstat (limited to 'include')
-rw-r--r--include/configs/am335x_evm.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/include/configs/am335x_evm.h b/include/configs/am335x_evm.h
index f85a0c8c5e..d58816d61d 100644
--- a/include/configs/am335x_evm.h
+++ b/include/configs/am335x_evm.h
@@ -351,6 +351,14 @@
#define CONFIG_G_DNL_MANUFACTURER "Texas Instruments"
#endif /* CONFIG_USB_MUSB_GADGET */
+/*
+ * 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
+
#if defined(CONFIG_SPL_BUILD) && defined(CONFIG_SPL_USBETH_SUPPORT)
/* Remove other SPL modes. */
#undef CONFIG_SPL_YMODEM_SUPPORT