From e83d61a57d8abcbf68b81a81dd468149a2a250b0 Mon Sep 17 00:00:00 2001 From: Jean-Jacques Hiblot Date: Fri, 14 Apr 2017 19:50:01 +0200 Subject: [PATCH] include: config: am335x: disable DM_MMC_OPS if DM_MMC is disabled Signed-off-by: Jean-Jacques Hiblot Reviewed-by: Simon Glass --- include/configs/am335x_evm.h | 2 ++ include/configs/am335x_shc.h | 1 + include/configs/chiliboard.h | 1 + 3 files changed, 4 insertions(+) diff --git a/include/configs/am335x_evm.h b/include/configs/am335x_evm.h index 51c3d493c8..b6b14d38bd 100644 --- a/include/configs/am335x_evm.h +++ b/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 diff --git a/include/configs/am335x_shc.h b/include/configs/am335x_shc.h index bc0943fdfd..247679eee3 100644 --- a/include/configs/am335x_shc.h +++ b/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 diff --git a/include/configs/chiliboard.h b/include/configs/chiliboard.h index f515db038d..20168b22b6 100644 --- a/include/configs/chiliboard.h +++ b/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 -- 2.39.5