From: Mugunthan V N Date: Tue, 29 Sep 2015 09:12:26 +0000 (+0530) Subject: ti_omap5_common: mmc: do not define DM_MMC for spl X-Git-Tag: v2025.01-rc5-pxa1908~11443 X-Git-Url: http://git.dujemihanovic.xyz/html/static/gitweb.css?a=commitdiff_plain;h=136b1013a20ad8107166e1d3e8c4a4646ff7aded;p=u-boot.git 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 asdfsadf --- diff --git a/include/configs/ti_omap5_common.h b/include/configs/ti_omap5_common.h index 9fc33aa6a2..5acbc92c3f 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 */