summaryrefslogtreecommitdiff
path: root/include/configs/ti_omap5_common.h
diff options
context:
space:
mode:
authorMugunthan V N <mugunthanvnm@ti.com>2015-09-29 09:12:26 (GMT)
committerTom Rini <trini@konsulko.com>2015-10-22 18:44:01 (GMT)
commit136b1013a20ad8107166e1d3e8c4a4646ff7aded (patch)
tree9941ed479946f48a896b8e72bc3a7a05bdd4352d /include/configs/ti_omap5_common.h
parent7a837bcf1222b00c1b87f3496e52cb543391f10a (diff)
downloadu-boot-136b1013a20ad8107166e1d3e8c4a4646ff7aded.tar.xz
ti_omap5_common: 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> asdfsadf
Diffstat (limited to 'include/configs/ti_omap5_common.h')
-rw-r--r--include/configs/ti_omap5_common.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/include/configs/ti_omap5_common.h b/include/configs/ti_omap5_common.h
index 9fc33aa..5acbc92 100644
--- a/include/configs/ti_omap5_common.h
+++ b/include/configs/ti_omap5_common.h
@@ -161,4 +161,12 @@
#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 */