ti_omap5_common: mmc: do not define DM_MMC for spl
authorMugunthan V N <mugunthanvnm@ti.com>
Tue, 29 Sep 2015 09:12:26 +0000 (14:42 +0530)
committerTom Rini <trini@konsulko.com>
Thu, 22 Oct 2015 18:44:01 +0000 (14:44 -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>
asdfsadf

include/configs/ti_omap5_common.h

index 9fc33aa6a2c6d832fdec13ecb9ae6ebe66ab97b2..5acbc92c3f60923c18348191dfec99992bebf94e 100644 (file)
 #define CONFIG_SPL_NAND_AM33XX_BCH     /* ELM support */
 #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
+
 #endif /* __CONFIG_TI_OMAP5_COMMON_H */