Browse Source

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>
Jean-Jacques Hiblot 8 years ago
parent
commit
e83d61a57d
3 changed files with 4 additions and 0 deletions
  1. 2 0
      include/configs/am335x_evm.h
  2. 1 0
      include/configs/am335x_shc.h
  3. 1 0
      include/configs/chiliboard.h

+ 2 - 0
include/configs/am335x_evm.h

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

+ 1 - 0
include/configs/am335x_shc.h

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

+ 1 - 0
include/configs/chiliboard.h

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