]> git.sur5r.net Git - u-boot/commitdiff
am335x_evm: mmc: do not define DM_MMC for spl
authorMugunthan V N <mugunthanvnm@ti.com>
Mon, 28 Sep 2015 07:26:29 +0000 (12:56 +0530)
committerTom Rini <trini@konsulko.com>
Thu, 22 Oct 2015 18:22:29 +0000 (14:22 -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>
Reviewed-by: Tom Rini <trini@konsulko.com>
include/configs/am335x_evm.h

index f85a0c8c5e7792a91036b5dfa991c560ef4ab55f..d58816d61d7572008b806e5595645c633a8e177e 100644 (file)
 #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