]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
kconfig: mmc: move pxa_mmc_generic to kconfig
authorMarcel Ziswiler <marcel@ziswiler.com>
Mon, 20 May 2019 00:44:58 +0000 (02:44 +0200)
committerTom Rini <trini@konsulko.com>
Tue, 30 Jun 2020 15:13:11 +0000 (11:13 -0400)
Move CONFIG_PXA_MMC_GENERIC to Kconfig.

Signed-off-by: Marcel Ziswiler <marcel@ziswiler.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
configs/colibri_pxa270_defconfig
drivers/mmc/Kconfig
include/configs/pxa-common.h
scripts/config_whitelist.txt

index 153ced707de09ccb78bc167ff3b386df18526e15..4d881201abf38fd024f96d6b5f2f259775ca8926 100644 (file)
@@ -32,6 +32,7 @@ CONFIG_ENV_IS_IN_FLASH=y
 CONFIG_ENV_ADDR=0x80000
 CONFIG_ENV_VARS_UBOOT_RUNTIME_CONFIG=y
 CONFIG_DM=y
+CONFIG_PXA_MMC_GENERIC=y
 CONFIG_MTD_NOR_FLASH=y
 CONFIG_FLASH_CFI_DRIVER=y
 CONFIG_SYS_FLASH_USE_BUFFER_WRITE=y
index 33b128ddc5a47066756a712d00a9e5be9214ace8..ad86c232c43681e1fe5e30990f90991b4b169617 100644 (file)
@@ -299,6 +299,14 @@ config MMC_PCI
 
          If unsure, say N.
 
+config PXA_MMC_GENERIC
+       bool "Support for MMC controllers on PXA"
+       help
+         This selects MMC controllers on PXA.
+         If you are on a PXA architecture, say Y here.
+
+         If unsure, say N.
+
 config MMC_OMAP_HS
        bool "TI OMAP High Speed Multimedia Card Interface support"
        select DM_REGULATOR_PBIAS if DM_MMC && DM_REGULATOR
index 2632d48cc9cbb82c1de97a2221635f2e4e4e753c..52d77e06acf46cd250b8df73f4baf1e6fac0aba0 100644 (file)
 #define        CONFIG_KGDB_BAUDRATE            230400
 #endif
 
-/*
- * MMC Card Configuration
- */
-#ifdef CONFIG_CMD_MMC
-#define        CONFIG_PXA_MMC_GENERIC
-#endif
-
 /*
  * OHCI USB
  */
index bc3ca6e5b5a9fee5d72da59afb35eac1df86d66c..747583089b8fe78295496ee79fe1552ec996acae 100644 (file)
@@ -1368,7 +1368,6 @@ CONFIG_PRPMC_PCI_ALIAS
 CONFIG_PSRAM_SCFG
 CONFIG_PWM
 CONFIG_PXA_LCD
-CONFIG_PXA_MMC_GENERIC
 CONFIG_PXA_PWR_I2C
 CONFIG_PXA_STD_I2C
 CONFIG_PXA_VGA