include: config: am335x: disable DM_MMC_OPS if DM_MMC is disabled

Signed-off-by: Jean-Jacques Hiblot <jjhiblot@ti.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
Jean-Jacques Hiblot
2017-04-14 19:50:01 +02:00
committed by Jaehoon Chung
parent 22f3368e71
commit e83d61a57d
3 changed files with 4 additions and 0 deletions

View File

@@ -291,6 +291,8 @@
* DM support in SPL * DM support in SPL
*/ */
#ifdef CONFIG_SPL_BUILD #ifdef CONFIG_SPL_BUILD
#undef CONFIG_DM_MMC
#undef CONFIG_DM_MMC_OPS
#undef CONFIG_TIMER #undef CONFIG_TIMER
#undef CONFIG_DM_USB #undef CONFIG_DM_USB
#endif #endif

View File

@@ -262,6 +262,7 @@
*/ */
#ifdef CONFIG_SPL_BUILD #ifdef CONFIG_SPL_BUILD
#undef CONFIG_DM_MMC #undef CONFIG_DM_MMC
#undef CONFIG_DM_MMC_OPS
#undef CONFIG_TIMER #undef CONFIG_TIMER
#endif #endif

View File

@@ -188,6 +188,7 @@
*/ */
#ifdef CONFIG_SPL_BUILD #ifdef CONFIG_SPL_BUILD
#undef CONFIG_DM_MMC #undef CONFIG_DM_MMC
#undef CONFIG_DM_MMC_OPS
#undef CONFIG_TIMER #undef CONFIG_TIMER
#undef CONFIG_DM_USB #undef CONFIG_DM_USB
#endif #endif