Add a generic Kconfig option for the CONFIG_MMC option that was used before
in the configuration headers.

Since all the architectures need to be converted to that first, depend on
an non-existent config option that will be extended with architectures that
use that option.

Signed-off-by: Maxime Ripard <maxime.rip...@free-electrons.com>
---
 drivers/mmc/Kconfig | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/drivers/mmc/Kconfig b/drivers/mmc/Kconfig
index 6277f92ef5b7..d3d7d911e484 100644
--- a/drivers/mmc/Kconfig
+++ b/drivers/mmc/Kconfig
@@ -1,5 +1,11 @@
 menu "MMC Host controller Support"
 
+config MMC
+       bool "Enable MMC support"
+       depends on UNUSED
+       help
+         TODO: Move all architectures to use this option
+
 config DM_MMC
        bool "Enable MMC controllers using Driver Model"
        depends on DM
-- 
2.5.3

_______________________________________________
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot

Reply via email to