]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
mmc: ftsdc010: Migrate CONFIG_FTSDC010_SDIO to Kconfig
authorRick Chen <rick@andestech.com>
Tue, 20 Mar 2018 07:10:49 +0000 (15:10 +0800)
committerAndes <uboot@andestech.com>
Fri, 30 Mar 2018 05:13:45 +0000 (13:13 +0800)
Convert CONFIG_FTSDC010_SDIO to Kconfig.
So CONFIG_FTSDC010_SDIO can also be
removed from config_whitelist.txt.

Signed-off-by: Rick Chen <rick@andestech.com>
Signed-off-by: Rick Chen <rickchen36@gmail.com>
Cc: Greentime Hu <green.hu@gmail.com>
configs/adp-ae3xx_defconfig
configs/adp-ag101p_defconfig
configs/nx25-ae250_defconfig
drivers/mmc/Kconfig
include/configs/adp-ae3xx.h
include/configs/adp-ag101p.h
include/configs/nx25-ae250.h
scripts/config_whitelist.txt

index f3eabea70e55560551e552448f58959a6a122b9c..43515241c0e8fd31ba5a0a5021699db317349994 100644 (file)
@@ -26,6 +26,7 @@ CONFIG_MMC=y
 CONFIG_DM_MMC=y
 CONFIG_MMC_NDS32=y
 CONFIG_FTSDC010=y
+CONFIG_FTSDC010_SDIO=y
 CONFIG_MTD=y
 CONFIG_MTD_NOR_FLASH=y
 CONFIG_CFI_FLASH=y
index 742d9046ad075bc98ceee062696de899fefc6f93..05a5e2817e0dbd8b777b187d3b5783f8c30f4e06 100644 (file)
@@ -23,6 +23,7 @@ CONFIG_MMC=y
 CONFIG_DM_MMC=y
 CONFIG_MMC_NDS32=y
 CONFIG_FTSDC010=y
+CONFIG_FTSDC010_SDIO=y
 CONFIG_MTD_NOR_FLASH=y
 CONFIG_DM_ETH=y
 CONFIG_FTMAC100=y
index 47b83db5eaef8fe30f8513437a85a81014b0dd25..ab889101cdfcb2f5bcfe2e37104edeb58e576a54 100644 (file)
@@ -24,6 +24,7 @@ CONFIG_MMC=y
 CONFIG_DM_MMC=y
 CONFIG_MMC_NDS32=y
 CONFIG_FTSDC010=y
+CONFIG_FTSDC010_SDIO=y
 CONFIG_DM_SPI_FLASH=y
 CONFIG_SPI_FLASH=y
 CONFIG_SPI_FLASH_MACRONIX=y
index 5f67e336dba58f04056087fc9d1741f09537e179..ff987ed80369ff32aee5b8042713cb1eb348a3ad 100644 (file)
@@ -535,6 +535,13 @@ config FTSDC010
        help
          This SD/MMC controller is present in Andestech SoCs which is based on Faraday IP.
 
+config FTSDC010_SDIO
+       bool "Support ftsdc010 sdio"
+       default n
+       depends on FTSDC010
+       help
+               This can enable ftsdc010 sdio function.
+
 endif
 
 config TEGRA124_MMC_DISABLE_EXT_LOOPBACK
index 2ee808d08c8d91220a408b40ebdd8f5ee54e7af9..1ebbc4c9e254ae450541650acd99d92b02fe1a22 100644 (file)
 #endif
 #define CONFIG_SYS_NS16550_CLK         ((18432000 * 20) / 25)  /* AG101P */
 
-/*
- * SD (MMC) controller
- */
-#define CONFIG_FTSDC010_SDIO
-
 /*
  * Miscellaneous configurable options
  */
index 499a424d8ae69c8a65609b36ce28f0f089b53725..ff365c464e52c8f02445026e08eceeb518db6f70 100644 (file)
 #endif
 #define CONFIG_SYS_NS16550_CLK         ((18432000 * 20) / 25)  /* AG101P */
 
-/*
- * SD (MMC) controller
- */
-#define CONFIG_FTSDC010_SDIO
-
 /*
  * Miscellaneous configurable options
  */
index f3e65e37a6c8b12e6992ed3843476e2b6a7a9911..3c888fdd50d0cb3c45f8675e84d9f5079f7e2581 100644 (file)
 #endif
 #define CONFIG_SYS_NS16550_CLK         19660800
 
-/*
- * SD (MMC) controller
- */
-#define CONFIG_FTSDC010_SDIO
-
 /* Init Stack Pointer */
 #define CONFIG_SYS_INIT_SP_ADDR                (CONFIG_SYS_SDRAM_BASE + 0x1000000 - \
                                        GENERATED_GBL_DATA_SIZE)
index 46b7f292c00e21209539fac0dd55a8bdb52ec058..2c26d34ce4f000a8f6d56c615aaa901c84bdf82f 100644 (file)
@@ -741,7 +741,6 @@ CONFIG_FTPWM010_BASE
 CONFIG_FTRTC010_BASE
 CONFIG_FTRTC010_EXTCLK
 CONFIG_FTRTC010_PCLK
-CONFIG_FTSDC010_SDIO
 CONFIG_FTSDMC021
 CONFIG_FTSDMC021_BASE
 CONFIG_FTSMC020