diff options
author | Masahiro Yamada <yamada.masahiro@socionext.com> | 2016-12-07 22:10:28 +0900 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2016-12-29 13:08:12 -0500 |
commit | e1ce61fbba76304b5ff7e328a55050ceea5028ef (patch) | |
tree | 3d25e6bf2a9ba108b3ab34e2fa6d033d744d2587 /include | |
parent | e298c46ac37b2b66632bc562469b03cae070c240 (diff) | |
download | u-boot-imx-e1ce61fbba76304b5ff7e328a55050ceea5028ef.zip u-boot-imx-e1ce61fbba76304b5ff7e328a55050ceea5028ef.tar.gz u-boot-imx-e1ce61fbba76304b5ff7e328a55050ceea5028ef.tar.bz2 |
mmc: move CONFIG_SDHCI to Kconfig, renaming to CONFIG_MMC_SDHCI
Move CONFIG_SDHCI to Kconfig and rename it to CONFIG_MMC_SDHCI.
My motivation for the rename is, ultimately, to make all the MMC
options prefixed with MMC_ and SDHCI options with MMC_SDHCI_,
like Linux.
This commit was created as follows:
[1] Rename the config option with the following command:
find . -name .git -prune -o ! -path ./scripts/config_whitelist.txt \
-type f -print | xargs sed -i -e 's/CONFIG_SDHCI/CONFIG_MMC_SDHCI/g'
[2] create the entry for MMC_SDHCI in drivers/mmc/Kconfig
[3] run "tools/moveconfig.py -y MMC_SDHCI"
[4] add "depends on MMC_SDHCI" to existing SDHCI driver entries
Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Reviewed-by: Tom Rini <trini@konsulko.com>
Reviewed-by: Jaehoon Chung <jh80.chung@samsung.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/configs/bayleybay.h | 1 | ||||
-rw-r--r-- | include/configs/bcm23550_w1d.h | 1 | ||||
-rw-r--r-- | include/configs/bcm28155_ap.h | 1 | ||||
-rw-r--r-- | include/configs/clearfog.h | 1 | ||||
-rw-r--r-- | include/configs/conga-qeval20-qa3-e3845.h | 1 | ||||
-rw-r--r-- | include/configs/crownbay.h | 1 | ||||
-rw-r--r-- | include/configs/db-88f6820-gp.h | 1 | ||||
-rw-r--r-- | include/configs/dfi-bt700.h | 1 | ||||
-rw-r--r-- | include/configs/dragonboard410c.h | 1 | ||||
-rw-r--r-- | include/configs/exynos-common.h | 1 | ||||
-rw-r--r-- | include/configs/galileo.h | 1 | ||||
-rw-r--r-- | include/configs/minnowmax.h | 1 | ||||
-rw-r--r-- | include/configs/pic32mzdask.h | 1 | ||||
-rw-r--r-- | include/configs/rk3399_common.h | 1 | ||||
-rw-r--r-- | include/configs/rpi.h | 1 | ||||
-rw-r--r-- | include/configs/s5p_goni.h | 1 | ||||
-rw-r--r-- | include/configs/sama5d2_xplained.h | 1 | ||||
-rw-r--r-- | include/configs/xilinx_zynqmp.h | 1 | ||||
-rw-r--r-- | include/configs/zynq-common.h | 1 |
19 files changed, 0 insertions, 19 deletions
diff --git a/include/configs/bayleybay.h b/include/configs/bayleybay.h index 8a4950f..51d6ce0 100644 --- a/include/configs/bayleybay.h +++ b/include/configs/bayleybay.h @@ -24,7 +24,6 @@ {PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_VALLEYVIEW_SATA}, \ {PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_VALLEYVIEW_SATA_ALT} -#define CONFIG_SDHCI #define CONFIG_GENERIC_MMC #define CONFIG_MMC_SDMA diff --git a/include/configs/bcm23550_w1d.h b/include/configs/bcm23550_w1d.h index f822f48..68212a8 100644 --- a/include/configs/bcm23550_w1d.h +++ b/include/configs/bcm23550_w1d.h @@ -31,7 +31,6 @@ #define CONFIG_KONA_GPIO /* MMC/SD Driver */ -#define CONFIG_SDHCI #define CONFIG_MMC_SDMA #define CONFIG_KONA_SDHCI #define CONFIG_GENERIC_MMC diff --git a/include/configs/bcm28155_ap.h b/include/configs/bcm28155_ap.h index 9d06dad..6fd0417 100644 --- a/include/configs/bcm28155_ap.h +++ b/include/configs/bcm28155_ap.h @@ -30,7 +30,6 @@ #define CONFIG_KONA_GPIO /* MMC/SD Driver */ -#define CONFIG_SDHCI #define CONFIG_MMC_SDMA #define CONFIG_KONA_SDHCI #define CONFIG_GENERIC_MMC diff --git a/include/configs/clearfog.h b/include/configs/clearfog.h index e3735f7..0a5171f 100644 --- a/include/configs/clearfog.h +++ b/include/configs/clearfog.h @@ -45,7 +45,6 @@ */ #define CONFIG_MMC_SDMA #define CONFIG_GENERIC_MMC -#define CONFIG_SDHCI #define CONFIG_MV_SDHCI #define CONFIG_SYS_MMC_BASE MVEBU_SDIO_BASE diff --git a/include/configs/conga-qeval20-qa3-e3845.h b/include/configs/conga-qeval20-qa3-e3845.h index cc19148..f50b2a4 100644 --- a/include/configs/conga-qeval20-qa3-e3845.h +++ b/include/configs/conga-qeval20-qa3-e3845.h @@ -27,7 +27,6 @@ {PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_VALLEYVIEW_SATA}, \ {PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_VALLEYVIEW_SATA_ALT} -#define CONFIG_SDHCI #define CONFIG_GENERIC_MMC #define CONFIG_MMC_SDMA diff --git a/include/configs/crownbay.h b/include/configs/crownbay.h index f863810..8f67d14 100644 --- a/include/configs/crownbay.h +++ b/include/configs/crownbay.h @@ -26,7 +26,6 @@ #define CONFIG_SCSI_DEV_LIST \ {PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_TCF_SATA} -#define CONFIG_SDHCI #define CONFIG_GENERIC_MMC #define CONFIG_MMC_SDMA diff --git a/include/configs/db-88f6820-gp.h b/include/configs/db-88f6820-gp.h index 7333e48..18a3f36 100644 --- a/include/configs/db-88f6820-gp.h +++ b/include/configs/db-88f6820-gp.h @@ -45,7 +45,6 @@ */ #define CONFIG_MMC_SDMA #define CONFIG_GENERIC_MMC -#define CONFIG_SDHCI #define CONFIG_MV_SDHCI #define CONFIG_SYS_MMC_BASE MVEBU_SDIO_BASE diff --git a/include/configs/dfi-bt700.h b/include/configs/dfi-bt700.h index c11e581..779e834 100644 --- a/include/configs/dfi-bt700.h +++ b/include/configs/dfi-bt700.h @@ -29,7 +29,6 @@ {PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_VALLEYVIEW_SATA}, \ {PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_VALLEYVIEW_SATA_ALT} -#define CONFIG_SDHCI #define CONFIG_GENERIC_MMC #define CONFIG_MMC_SDMA diff --git a/include/configs/dragonboard410c.h b/include/configs/dragonboard410c.h index cbc6126..e6bb919 100644 --- a/include/configs/dragonboard410c.h +++ b/include/configs/dragonboard410c.h @@ -33,7 +33,6 @@ /* This are needed to have proper mmc support */ #define CONFIG_GENERIC_MMC -#define CONFIG_SDHCI #define CONFIG_SYS_LDSCRIPT "board/qualcomm/dragonboard410c/u-boot.lds" diff --git a/include/configs/exynos-common.h b/include/configs/exynos-common.h index 2a051a9..8f68f21 100644 --- a/include/configs/exynos-common.h +++ b/include/configs/exynos-common.h @@ -40,7 +40,6 @@ /* SD/MMC configuration */ #define CONFIG_GENERIC_MMC #define CONFIG_S5P_SDHCI -#define CONFIG_SDHCI #define CONFIG_DWMMC #define CONFIG_EXYNOS_DWMMC #define CONFIG_BOUNCE_BUFFER diff --git a/include/configs/galileo.h b/include/configs/galileo.h index b87b04d..6109dd7 100644 --- a/include/configs/galileo.h +++ b/include/configs/galileo.h @@ -30,7 +30,6 @@ #undef CONFIG_SCSI /* SD/MMC support */ -#define CONFIG_SDHCI #define CONFIG_GENERIC_MMC #define CONFIG_MMC_SDMA diff --git a/include/configs/minnowmax.h b/include/configs/minnowmax.h index 2922271..cc47d5a 100644 --- a/include/configs/minnowmax.h +++ b/include/configs/minnowmax.h @@ -27,7 +27,6 @@ {PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_VALLEYVIEW_SATA}, \ {PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_VALLEYVIEW_SATA_ALT} -#define CONFIG_SDHCI #define CONFIG_GENERIC_MMC #define CONFIG_MMC_SDMA diff --git a/include/configs/pic32mzdask.h b/include/configs/pic32mzdask.h index 57b91e7..e6fd249 100644 --- a/include/configs/pic32mzdask.h +++ b/include/configs/pic32mzdask.h @@ -91,7 +91,6 @@ /*----------------------------------------------------------------------- * SDHC Configuration */ -#define CONFIG_SDHCI #define CONFIG_GENERIC_MMC /*-------------------------------------------------- diff --git a/include/configs/rk3399_common.h b/include/configs/rk3399_common.h index 394ec40..eab3f04 100644 --- a/include/configs/rk3399_common.h +++ b/include/configs/rk3399_common.h @@ -29,7 +29,6 @@ /* MMC/SD IP block */ #define CONFIG_GENERIC_MMC #define CONFIG_DWMMC -#define CONFIG_SDHCI #define CONFIG_BOUNCE_BUFFER #define CONFIG_ROCKCHIP_SDHCI_MAX_FREQ 200000000 diff --git a/include/configs/rpi.h b/include/configs/rpi.h index b105fc1..351e234 100644 --- a/include/configs/rpi.h +++ b/include/configs/rpi.h @@ -83,7 +83,6 @@ /* SD/MMC configuration */ #define CONFIG_GENERIC_MMC -#define CONFIG_SDHCI #define CONFIG_MMC_SDHCI_IO_ACCESSORS #define CONFIG_BCM2835_SDHCI diff --git a/include/configs/s5p_goni.h b/include/configs/s5p_goni.h index c1057aa..a69f086 100644 --- a/include/configs/s5p_goni.h +++ b/include/configs/s5p_goni.h @@ -48,7 +48,6 @@ /* MMC */ #define CONFIG_GENERIC_MMC -#define CONFIG_SDHCI #define CONFIG_S5P_SDHCI #define SDHCI_MAX_HOSTS 4 diff --git a/include/configs/sama5d2_xplained.h b/include/configs/sama5d2_xplained.h index 61e3376..4f72c83 100644 --- a/include/configs/sama5d2_xplained.h +++ b/include/configs/sama5d2_xplained.h @@ -46,7 +46,6 @@ /* MMC */ #ifdef CONFIG_CMD_MMC #define CONFIG_GENERIC_MMC -#define CONFIG_SDHCI #endif /* USB device */ diff --git a/include/configs/xilinx_zynqmp.h b/include/configs/xilinx_zynqmp.h index 97de137..74cbfcf 100644 --- a/include/configs/xilinx_zynqmp.h +++ b/include/configs/xilinx_zynqmp.h @@ -83,7 +83,6 @@ #if defined(CONFIG_ZYNQ_SDHCI) # define CONFIG_GENERIC_MMC # define CONFIG_SUPPORT_EMMC_BOOT -# define CONFIG_SDHCI # ifndef CONFIG_ZYNQ_SDHCI_MAX_FREQ # define CONFIG_ZYNQ_SDHCI_MAX_FREQ 200000000 # endif diff --git a/include/configs/zynq-common.h b/include/configs/zynq-common.h index 01e2fca..2fe6897 100644 --- a/include/configs/zynq-common.h +++ b/include/configs/zynq-common.h @@ -86,7 +86,6 @@ /* MMC */ #if defined(CONFIG_ZYNQ_SDHCI) # define CONFIG_GENERIC_MMC -# define CONFIG_SDHCI # define CONFIG_ZYNQ_SDHCI_MAX_FREQ 52000000 #endif |