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
This commit is contained in:
Mugunthan V N 2015-09-29 14:42:26 +05:30 committed by Tom Rini
parent 7a837bcf12
commit 136b1013a2

View File

@ -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 */