diff --git a/include/configs/ti_omap5_common.h b/include/configs/ti_omap5_common.h index 9fc33aa6a2c6d832fdec13ecb9ae6ebe66ab97b2..5acbc92c3f60923c18348191dfec99992bebf94e 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 */