Skip to contentSkip to conversation

mmc: more Kconfig conversion, MMC related clean-up

PATCH New Masahiro Yamada 4 participants 14 messages Jan 10, 2017 – Jan 12, 2017

Subsystems (9)
lore
Share & tools
lore
#0 lore raw

v2 cover mmc: more Kconfig conversion, MMC related clean-up

This series is based on commit 3d3a74cc8c.
Each git-log describes how to re-generate it.
Buildman test passed.

Changes in v2:
- Re-generate based on v2017.01

Masahiro Yamada (7):
ARM: socfpga: remove unused CONFIG option and cleanup README.socfpga
mmc: rename CONFIG_ROCKCHIP_DWMMC to CONFIG_MMC_DW_ROCKCHIP
mmc: move CONFIG_DWMMC to Kconfig, renaming to CONFIG_MMC_DW
mmc: move DesignWare-based drivers to Kconfig
ARM: davinci: remove unused CONFIG_DAVINCI_MMC_SD1
mmc: move more driver config options to Kconfig
ARM: sunxi: remove bare default for CONFIG_MMC

 arch/arm/cpu/arm926ejs/mx27/generic.c      |  8 +--
 arch/arm/include/asm/arch-mx27/imx-regs.h  |  4 +-
 arch/arm/mach-davinci/da830_pinmux.c       |  2 +-
 arch/arm/mach-omap2/am33xx/board.c         |  2 +-
 arch/arm/mach-tegra/board2.c               |  2 +-
 board/armadeus/apf27/apf27.c               |  2 +-
 board/avionic-design/common/tamonten.c     |  2 +-
 board/compal/paz00/paz00.c                 |  2 +-
 board/davinci/da8xxevm/da850evm.c          | 12 ++--
 board/davinci/da8xxevm/omapl138_lcdk.c     | 10 ++--
 board/hisilicon/hikey/hikey.c              |  2 +-
 board/htkw/mcx/mcx.c                       |  2 +-
 board/lego/ev3/legoev3.c                   |  4 +-
 board/nvidia/cardhu/cardhu.c               |  2 +-
 board/nvidia/dalmore/dalmore.c             |  2 +-
 board/nvidia/harmony/harmony.c             |  2 +-
 board/nvidia/seaboard/seaboard.c           |  2 +-
 board/nvidia/whistler/whistler.c           |  2 +-
 board/samsung/common/board.c               |  2 +-
 board/sunxi/Kconfig                        |  4 --
 board/technexion/twister/twister.c         |  2 +-
 board/teejet/mt_ventoux/mt_ventoux.c       |  2 +-
 board/toradex/colibri_t20/colibri_t20.c    |  2 +-
 configs/am335x_baltos_defconfig            |  1 +
 configs/am335x_boneblack_defconfig         |  1 +
 configs/am335x_boneblack_vboot_defconfig   |  1 +
 configs/am335x_evm_defconfig               |  1 +
 configs/am335x_evm_nor_defconfig           |  1 +
 configs/am335x_evm_norboot_defconfig       |  1 +
 configs/am335x_evm_spiboot_defconfig       |  1 +
 configs/am335x_evm_usbspl_defconfig        |  1 +
 configs/am335x_igep0033_defconfig          |  1 +
 configs/am335x_shc_defconfig               |  1 +
 configs/am335x_shc_ict_defconfig           |  1 +
 configs/am335x_shc_netboot_defconfig       |  1 +
 configs/am335x_shc_prompt_defconfig        |  1 +
 configs/am335x_shc_sdboot_defconfig        |  1 +
 configs/am335x_shc_sdboot_prompt_defconfig |  1 +
 configs/am335x_sl50_defconfig              |  1 +
 configs/am3517_crane_defconfig             |  1 +
 configs/am3517_evm_defconfig               |  1 +
 configs/am43xx_evm_defconfig               |  1 +
 configs/am43xx_evm_ethboot_defconfig       |  1 +
 configs/am43xx_evm_qspiboot_defconfig      |  1 +
 configs/am43xx_evm_usbhost_boot_defconfig  |  1 +
 configs/am43xx_hs_evm_defconfig            |  1 +
 configs/am57xx_evm_defconfig               |  1 +
 configs/am57xx_evm_nodt_defconfig          |  1 +
 configs/am57xx_hs_evm_defconfig            |  1 +
 configs/apf27_defconfig                    |  1 +
 configs/apx4devkit_defconfig               |  1 +
 configs/arndale_defconfig                  |  1 +
 configs/axs101_defconfig                   |  1 +
 configs/axs103_defconfig                   |  1 +
 configs/birdland_bav335a_defconfig         |  1 +
 configs/birdland_bav335b_defconfig         |  1 +
 configs/brppt1_mmc_defconfig               |  1 +
 configs/brppt1_spi_defconfig               |  1 +
 configs/brxre1_defconfig                   |  1 +
 configs/cairo_defconfig                    |  1 +
 configs/chromebit_mickey_defconfig         |  3 +-
 configs/chromebook_jerry_defconfig         |  3 +-
 configs/chromebook_minnie_defconfig        |  3 +-
 configs/cl-som-am57x_defconfig             |  1 +
 configs/cm_t335_defconfig                  |  1 +
 configs/cm_t3517_defconfig                 |  1 +
 configs/cm_t35_defconfig                   |  1 +
 configs/cm_t43_defconfig                   |  1 +
 configs/cm_t54_defconfig                   |  1 +
 configs/devkit8000_defconfig               |  1 +
 configs/dra7xx_evm_defconfig               |  1 +
 configs/dra7xx_hs_evm_defconfig            |  1 +
 configs/draco_defconfig                    |  1 +
 configs/duovero_defconfig                  |  1 +
 configs/eco5pk_defconfig                   |  1 +
 configs/etamin_defconfig                   |  1 +
 configs/evb-rk3036_defconfig               |  3 +-
 configs/evb-rk3288_defconfig               |  3 +-
 configs/evb-rk3399_defconfig               |  3 +-
 configs/fennec-rk3288_defconfig            |  3 +-
 configs/firefly-rk3288_defconfig           |  3 +-
 configs/hikey_defconfig                    |  2 +
 configs/igep0020_defconfig                 |  1 +
 configs/igep0030_defconfig                 |  1 +
 configs/igep0032_defconfig                 |  1 +
 configs/k2g_evm_defconfig                  |  1 +
 configs/kc1_defconfig                      |  1 +
 configs/kylin-rk3036_defconfig             |  3 +-
 configs/m28evk_defconfig                   |  1 +
 configs/mcx_defconfig                      |  1 +
 configs/miniarm-rk3288_defconfig           |  3 +-
 configs/mt_ventoux_defconfig               |  1 +
 configs/mx23_olinuxino_defconfig           |  1 +
 configs/mx23evk_defconfig                  |  1 +
 configs/mx28evk_auart_console_defconfig    |  1 +
 configs/mx28evk_defconfig                  |  1 +
 configs/mx28evk_nand_defconfig             |  1 +
 configs/mx28evk_spi_defconfig              |  1 +
 configs/nokia_rx51_defconfig               |  1 +
 configs/odroid-xu3_defconfig               |  1 +
 configs/odroid_defconfig                   |  1 +
 configs/omap3_beagle_defconfig             |  1 +
 configs/omap3_evm_defconfig                |  1 +
 configs/omap3_ha_defconfig                 |  1 +
 configs/omap3_logic_defconfig              |  1 +
 configs/omap3_overo_defconfig              |  1 +
 configs/omap3_pandora_defconfig            |  1 +
 configs/omap3_zoom1_defconfig              |  1 +
 configs/omap4_panda_defconfig              |  1 +
 configs/omap4_sdp4430_defconfig            |  1 +
 configs/omap5_uevm_defconfig               |  1 +
 configs/origen_defconfig                   |  1 +
 configs/pcm051_rev1_defconfig              |  1 +
 configs/pcm051_rev3_defconfig              |  1 +
 configs/peach-pi_defconfig                 |  1 +
 configs/peach-pit_defconfig                |  1 +
 configs/pengwyn_defconfig                  |  1 +
 configs/pepper_defconfig                   |  1 +
 configs/popmetal-rk3288_defconfig          |  3 +-
 configs/pxm2_defconfig                     |  1 +
 configs/rastaban_defconfig                 |  1 +
 configs/rock2_defconfig                    |  3 +-
 configs/rut_defconfig                      |  1 +
 configs/s5pc210_universal_defconfig        |  1 +
 configs/sansa_fuze_plus_defconfig          |  1 +
 configs/sc_sps_1_defconfig                 |  1 +
 configs/smdk5250_defconfig                 |  1 +
 configs/smdk5420_defconfig                 |  1 +
 configs/smdkv310_defconfig                 |  1 +
 configs/sniper_defconfig                   |  1 +
 configs/snow_defconfig                     |  1 +
 configs/socfpga_arria5_defconfig           |  1 +
 configs/socfpga_cyclone5_defconfig         |  1 +
 configs/socfpga_de0_nano_soc_defconfig     |  1 +
 configs/socfpga_de1_soc_defconfig          |  1 +
 configs/socfpga_mcvevk_defconfig           |  1 +
 configs/socfpga_sockit_defconfig           |  1 +
 configs/socfpga_socrates_defconfig         |  1 +
 configs/socfpga_sr1500_defconfig           |  1 +
 configs/socfpga_vining_fpga_defconfig      |  1 +
 configs/spring_defconfig                   |  1 +
 configs/tao3530_defconfig                  |  1 +
 configs/thuban_defconfig                   |  1 +
 configs/ti814x_evm_defconfig               |  1 +
 configs/ti816x_evm_defconfig               |  1 +
 configs/trats2_defconfig                   |  1 +
 configs/trats_defconfig                    |  1 +
 configs/tricorder_defconfig                |  1 +
 configs/tricorder_flash_defconfig          |  1 +
 configs/ts4600_defconfig                   |  1 +
 configs/twister_defconfig                  |  1 +
 configs/xfi3_defconfig                     |  1 +
 doc/README.socfpga                         | 32 -----------
 drivers/mmc/Kconfig                        | 91 +++++++++++++++++++++++++++++-
 drivers/mmc/Makefile                       | 26 +++++----
 include/configs/am3517_crane.h             |  1 -
 include/configs/am3517_evm.h               |  1 -
 include/configs/apalis_t30.h               |  1 -
 include/configs/apf27.h                    |  1 -
 include/configs/axs10x.h                   |  1 -
 include/configs/beaver.h                   |  1 -
 include/configs/brppt1.h                   |  1 -
 include/configs/brxre1.h                   |  1 -
 include/configs/cardhu.h                   |  1 -
 include/configs/cei-tk1-som.h              |  1 -
 include/configs/cm_t35.h                   |  1 -
 include/configs/cm_t3517.h                 |  1 -
 include/configs/colibri_t20.h              |  1 -
 include/configs/colibri_t30.h              |  1 -
 include/configs/da850evm.h                 |  2 -
 include/configs/dalmore.h                  |  1 -
 include/configs/e2220-1170.h               |  1 -
 include/configs/exynos-common.h            |  2 -
 include/configs/harmony.h                  |  1 -
 include/configs/hikey.h                    |  2 -
 include/configs/imx27lite-common.h         |  1 -
 include/configs/jetson-tk1.h               |  1 -
 include/configs/k2g_evm.h                  |  1 -
 include/configs/kc1.h                      |  1 -
 include/configs/legoev3.h                  |  2 -
 include/configs/mcx.h                      |  1 -
 include/configs/medcom-wide.h              |  1 -
 include/configs/mxs.h                      |  1 -
 include/configs/nokia_rx51.h               |  1 -
 include/configs/nyan-big.h                 |  1 -
 include/configs/omap3_evm.h                |  1 -
 include/configs/omapl138_lcdk.h            |  1 -
 include/configs/p2371-0000.h               |  1 -
 include/configs/p2371-2180.h               |  1 -
 include/configs/p2571.h                    |  1 -
 include/configs/p2771-0000.h               |  1 -
 include/configs/paz00.h                    |  1 -
 include/configs/plutux.h                   |  1 -
 include/configs/rk3036_common.h            |  1 -
 include/configs/rk3288_common.h            |  1 -
 include/configs/rk3399_common.h            |  1 -
 include/configs/seaboard.h                 |  1 -
 include/configs/siemens-am33x-common.h     |  1 -
 include/configs/sniper.h                   |  1 -
 include/configs/socfpga_common.h           |  3 -
 include/configs/sunxi-common.h             |  1 -
 include/configs/tam3517-common.h           |  1 -
 include/configs/tao3530.h                  |  1 -
 include/configs/tec-ng.h                   |  1 -
 include/configs/tec.h                      |  1 -
 include/configs/tegra-common-post.h        |  3 -
 include/configs/ti814x_evm.h               |  1 -
 include/configs/ti816x_evm.h               |  1 -
 include/configs/ti_armv7_omap.h            |  3 -
 include/configs/tricorder.h                |  1 -
 include/configs/trimslice.h                |  1 -
 include/configs/venice2.h                  |  1 -
 include/configs/ventana.h                  |  1 -
 include/configs/whistler.h                 |  1 -
 214 files changed, 282 insertions(+), 166 deletions(-)
Signature · 1 line
2.7.4
#1 lore raw

PATCH v2 1/7 ARM: socfpga: remove unused CONFIG option and cleanup README.socfpga

CONFIG_SOCFPGA_DWMMC_FIFO_DEPTH is defined in the socfpga_common.h, but not referenced at all. Remove.

Also, clean-up the README.socfpga. CONFIG_MMC should not be defined in the header since it was moved to Kconfig by commit c27269953b94 ("mmc: complete unfinished move of CONFIG_MMC"). I see no grep hit for the others.

---

Changes in v2: None

 doc/README.socfpga               | 26 --------------------------
 include/configs/socfpga_common.h |  1 -
 2 files changed, 27 deletions(-)
doc/README.socfpga +0 -26
index cfcbbfe..92942c9 100644
@@ -14,12 +14,6 @@ socfpga_dw_mmc
 Here are macro and detailed configuration required to enable DesignWare SDMMC
 controller support within SOCFPGA
 
-#define CONFIG_MMC
--> To enable the SD MMC framework support
-
-#define CONFIG_SDMMC_BASE		(SOCFPGA_SDMMC_ADDRESS)
--> The base address of CSR register for DesignWare SDMMC controller
-
 #define CONFIG_GENERIC_MMC
 -> Enable the generic MMC driver
 
@@ -31,23 +25,3 @@ controller support within SOCFPGA
 
 #define CONFIG_SOCFPGA_DWMMC
 -> Enable the SOCFPGA specific driver for DesignWare SDMMC controller
-
-#define CONFIG_SOCFPGA_DWMMC_FIFO_DEPTH		1024
--> The FIFO depth for SOCFPGA DesignWare SDMMC controller
-
-#define CONFIG_SOCFPGA_DWMMC_DRVSEL	3
--> Phase-shifted clock of sdmmc_clk for controller to drive command and data to
-the card to meet hold time requirements. SD clock is running at 50MHz and
-drvsel is set to shift 135 degrees (3 * 45 degrees). With that, the hold time
-is 135 / 360 * 20ns = 7.5ns.
-
-#define CONFIG_SOCFPGA_DWMMC_SMPSEL	0
--> Phase-shifted clock of sdmmc_clk used to sample the command and data from
-the card
-
-#define CONFIG_SOCFPGA_DWMMC_BUS_WIDTH	4
--> Bus width of data line which either 1, 4 or 8 and based on board routing.
-
-#define CONFIG_SOCFPGA_DWMMC_BUS_HZ	50000000
--> The clock rate to controller. Do note the controller have a wrapper which
-divide the clock from PLL by 4.
include/configs/socfpga_common.h +0 -1
index 31f1338..dda1159 100644
@@ -146,7 +146,6 @@
 #define CONFIG_GENERIC_MMC
 #define CONFIG_DWMMC
 #define CONFIG_SOCFPGA_DWMMC
-#define CONFIG_SOCFPGA_DWMMC_FIFO_DEPTH	1024
 /* FIXME */
 /* using smaller max blk cnt to avoid flooding the limited stack we have */
 #define CONFIG_SYS_MMC_MAX_BLK_COUNT	256	/* FIXME -- SPL only? */
Signature · 1 line
2.7.4
#2 lore raw

PATCH v2 2/7 mmc: rename CONFIG_ROCKCHIP_DWMMC to CONFIG_MMC_DW_ROCKCHIP

In reply to Masahiro Yamada

I am trying to make all DesignWare-based driver options prefixed with CONFIG_MMC_DW_.

This commit was generated as follows:

find . -name .git -prune -o -type f -print | \
xargs sed -i -e 's/ROCKCHIP_DWMMC/MMC_DW_ROCKCHIP/g'

---

Changes in v2: None

 configs/chromebit_mickey_defconfig  | 2 +-
 configs/chromebook_jerry_defconfig  | 2 +-
 configs/chromebook_minnie_defconfig | 2 +-
 configs/evb-rk3036_defconfig        | 2 +-
 configs/evb-rk3288_defconfig        | 2 +-
 configs/evb-rk3399_defconfig        | 2 +-
 configs/fennec-rk3288_defconfig     | 2 +-
 configs/firefly-rk3288_defconfig    | 2 +-
 configs/kylin-rk3036_defconfig      | 2 +-
 configs/miniarm-rk3288_defconfig    | 2 +-
 configs/popmetal-rk3288_defconfig   | 2 +-
 configs/rock2_defconfig             | 2 +-
 drivers/mmc/Kconfig                 | 2 +-
 drivers/mmc/Makefile                | 2 +-
 14 files changed, 14 insertions(+), 14 deletions(-)
configs/chromebit_mickey_defconfig +1 -1
index 9203f73..8c65ecf 100644
@@ -50,7 +50,7 @@ CONFIG_CROS_EC_KEYB=y
 CONFIG_CROS_EC=y
 CONFIG_CROS_EC_SPI=y
 CONFIG_PWRSEQ=y
-CONFIG_ROCKCHIP_DWMMC=y
+CONFIG_MMC_DW_ROCKCHIP=y
 CONFIG_PINCTRL=y
 CONFIG_SPL_PINCTRL=y
 # CONFIG_SPL_PINCTRL_FULL is not set
configs/chromebook_jerry_defconfig +1 -1
index 95e5f57..5bb9a99 100644
@@ -51,7 +51,7 @@ CONFIG_CROS_EC_KEYB=y
 CONFIG_CROS_EC=y
 CONFIG_CROS_EC_SPI=y
 CONFIG_PWRSEQ=y
-CONFIG_ROCKCHIP_DWMMC=y
+CONFIG_MMC_DW_ROCKCHIP=y
 CONFIG_PINCTRL=y
 CONFIG_SPL_PINCTRL=y
 # CONFIG_SPL_PINCTRL_FULL is not set
configs/chromebook_minnie_defconfig +1 -1
index 49cd640..d4ec2bd 100644
@@ -51,7 +51,7 @@ CONFIG_CROS_EC_KEYB=y
 CONFIG_CROS_EC=y
 CONFIG_CROS_EC_SPI=y
 CONFIG_PWRSEQ=y
-CONFIG_ROCKCHIP_DWMMC=y
+CONFIG_MMC_DW_ROCKCHIP=y
 CONFIG_PINCTRL=y
 CONFIG_SPL_PINCTRL=y
 # CONFIG_SPL_PINCTRL_FULL is not set
configs/evb-rk3036_defconfig +1 -1
index 6546db9..f4ee5b9 100644
@@ -29,7 +29,7 @@ CONFIG_CLK=y
 CONFIG_ROCKCHIP_GPIO=y
 CONFIG_SYS_I2C_ROCKCHIP=y
 CONFIG_LED=y
-CONFIG_ROCKCHIP_DWMMC=y
+CONFIG_MMC_DW_ROCKCHIP=y
 CONFIG_PINCTRL=y
 CONFIG_ROCKCHIP_RK3036_PINCTRL=y
 CONFIG_RAM=y
configs/evb-rk3288_defconfig +1 -1
index e5e550c..0bfb0dd 100644
@@ -43,7 +43,7 @@ CONFIG_ROCKCHIP_GPIO=y
 CONFIG_SYS_I2C_ROCKCHIP=y
 CONFIG_LED=y
 CONFIG_LED_GPIO=y
-CONFIG_ROCKCHIP_DWMMC=y
+CONFIG_MMC_DW_ROCKCHIP=y
 CONFIG_PINCTRL=y
 # CONFIG_PINCTRL_FULL is not set
 CONFIG_SPL_PINCTRL=y
configs/evb-rk3399_defconfig +1 -1
index 6c27104..68de631 100644
@@ -20,7 +20,7 @@ CONFIG_REGMAP=y
 CONFIG_SYSCON=y
 CONFIG_CLK=y
 CONFIG_ROCKCHIP_GPIO=y
-CONFIG_ROCKCHIP_DWMMC=y
+CONFIG_MMC_DW_ROCKCHIP=y
 CONFIG_ROCKCHIP_SDHCI=y
 CONFIG_MMC_SDHCI=y
 CONFIG_PINCTRL=y
configs/fennec-rk3288_defconfig +1 -1
index eff5e15..b76297c 100644
@@ -42,7 +42,7 @@ CONFIG_CLK=y
 CONFIG_SPL_CLK=y
 CONFIG_ROCKCHIP_GPIO=y
 CONFIG_SYS_I2C_ROCKCHIP=y
-CONFIG_ROCKCHIP_DWMMC=y
+CONFIG_MMC_DW_ROCKCHIP=y
 CONFIG_PINCTRL=y
 # CONFIG_PINCTRL_FULL is not set
 CONFIG_SPL_PINCTRL=y
configs/firefly-rk3288_defconfig +1 -1
index 4910c80..3e55a84 100644
@@ -43,7 +43,7 @@ CONFIG_ROCKCHIP_GPIO=y
 CONFIG_SYS_I2C_ROCKCHIP=y
 CONFIG_LED=y
 CONFIG_LED_GPIO=y
-CONFIG_ROCKCHIP_DWMMC=y
+CONFIG_MMC_DW_ROCKCHIP=y
 CONFIG_PINCTRL=y
 CONFIG_SPL_PINCTRL=y
 # CONFIG_SPL_PINCTRL_FULL is not set
configs/kylin-rk3036_defconfig +1 -1
index a4281c9..3e8fba2 100644
@@ -30,7 +30,7 @@ CONFIG_CLK=y
 CONFIG_ROCKCHIP_GPIO=y
 CONFIG_SYS_I2C_ROCKCHIP=y
 CONFIG_LED=y
-CONFIG_ROCKCHIP_DWMMC=y
+CONFIG_MMC_DW_ROCKCHIP=y
 CONFIG_PINCTRL=y
 CONFIG_ROCKCHIP_RK3036_PINCTRL=y
 CONFIG_DM_REGULATOR_FIXED=y
configs/miniarm-rk3288_defconfig +1 -1
index 1e273a6..7d3e65e 100644
@@ -42,7 +42,7 @@ CONFIG_CLK=y
 CONFIG_SPL_CLK=y
 CONFIG_ROCKCHIP_GPIO=y
 CONFIG_SYS_I2C_ROCKCHIP=y
-CONFIG_ROCKCHIP_DWMMC=y
+CONFIG_MMC_DW_ROCKCHIP=y
 CONFIG_PINCTRL=y
 CONFIG_SPL_PINCTRL=y
 # CONFIG_SPL_PINCTRL_FULL is not set
configs/popmetal-rk3288_defconfig +1 -1
index 663724e..5a4e1b8 100644
@@ -42,7 +42,7 @@ CONFIG_CLK=y
 CONFIG_SPL_CLK=y
 CONFIG_ROCKCHIP_GPIO=y
 CONFIG_SYS_I2C_ROCKCHIP=y
-CONFIG_ROCKCHIP_DWMMC=y
+CONFIG_MMC_DW_ROCKCHIP=y
 CONFIG_PINCTRL=y
 CONFIG_SPL_PINCTRL=y
 # CONFIG_SPL_PINCTRL_FULL is not set
configs/rock2_defconfig +1 -1
index 9e332bc..b7f5435 100644
@@ -41,7 +41,7 @@ CONFIG_CLK=y
 CONFIG_SPL_CLK=y
 CONFIG_ROCKCHIP_GPIO=y
 CONFIG_SYS_I2C_ROCKCHIP=y
-CONFIG_ROCKCHIP_DWMMC=y
+CONFIG_MMC_DW_ROCKCHIP=y
 CONFIG_PINCTRL=y
 CONFIG_SPL_PINCTRL=y
 # CONFIG_SPL_PINCTRL_FULL is not set
drivers/mmc/Kconfig +1 -1
index c3462ab..2ddcb24 100644
@@ -68,7 +68,7 @@ config ATMEL_SDHCI
 	  It is compliant with the SD Host Controller Standard V3.0
 	  specification.
 
-config ROCKCHIP_DWMMC
+config MMC_DW_ROCKCHIP
 	bool "Rockchip SD/MMC controller support"
 	depends on DM_MMC && OF_CONTROL
 	help
drivers/mmc/Makefile +1 -1
index 2b136ea..9cc2f7a5 100644
@@ -36,7 +36,7 @@ obj-$(CONFIG_MXS_MMC) += mxsmmc.o
 obj-$(CONFIG_OMAP_HSMMC) += omap_hsmmc.o
 obj-$(CONFIG_X86) += pci_mmc.o
 obj-$(CONFIG_PXA_MMC_GENERIC) += pxa_mmc_gen.o
-obj-$(CONFIG_ROCKCHIP_DWMMC) += rockchip_dw_mmc.o
+obj-$(CONFIG_MMC_DW_ROCKCHIP) += rockchip_dw_mmc.o
 obj-$(CONFIG_SUPPORT_EMMC_RPMB) += rpmb.o
 obj-$(CONFIG_S3C_SDI) += s3c_sdi.o
 ifdef CONFIG_BLK
Signature · 1 line
2.7.4
#3 lore raw

PATCH v2 3/7 mmc: move CONFIG_DWMMC to Kconfig, renaming to CONFIG_MMC_DW

In reply to Masahiro Yamada

This commit was created as follows:

[1] Rename the option with the following command:
find . -name .git -prune -o ! -path ./scripts/config_whitelist.txt \
-type f -print | xargs sed -i -e 's/CONFIG_DWMMC/CONFIG_MMC_DW/g'

[2] create the entry for MMC_DW in drivers/mmc/Kconfig (the prompt and help were copied from Linux)

[3] run "tools/moveconfig.py -y MMC_DW"

[4] add "depends on MMC_DW" to the MMC_DW_ROCKCHIP entry

[5] Clean-up doc/README.socfpga by hand

---

Changes in v2: None

 board/hisilicon/hikey/hikey.c          | 2 +-
 board/samsung/common/board.c           | 2 +-
 configs/arndale_defconfig              | 1 +
 configs/axs101_defconfig               | 1 +
 configs/axs103_defconfig               | 1 +
 configs/chromebit_mickey_defconfig     | 1 +
 configs/chromebook_jerry_defconfig     | 1 +
 configs/chromebook_minnie_defconfig    | 1 +
 configs/evb-rk3036_defconfig           | 1 +
 configs/evb-rk3288_defconfig           | 1 +
 configs/evb-rk3399_defconfig           | 1 +
 configs/fennec-rk3288_defconfig        | 1 +
 configs/firefly-rk3288_defconfig       | 1 +
 configs/hikey_defconfig                | 1 +
 configs/kylin-rk3036_defconfig         | 1 +
 configs/miniarm-rk3288_defconfig       | 1 +
 configs/odroid-xu3_defconfig           | 1 +
 configs/odroid_defconfig               | 1 +
 configs/origen_defconfig               | 1 +
 configs/peach-pi_defconfig             | 1 +
 configs/peach-pit_defconfig            | 1 +
 configs/popmetal-rk3288_defconfig      | 1 +
 configs/rock2_defconfig                | 1 +
 configs/s5pc210_universal_defconfig    | 1 +
 configs/smdk5250_defconfig             | 1 +
 configs/smdk5420_defconfig             | 1 +
 configs/smdkv310_defconfig             | 1 +
 configs/snow_defconfig                 | 1 +
 configs/socfpga_arria5_defconfig       | 1 +
 configs/socfpga_cyclone5_defconfig     | 1 +
 configs/socfpga_de0_nano_soc_defconfig | 1 +
 configs/socfpga_de1_soc_defconfig      | 1 +
 configs/socfpga_mcvevk_defconfig       | 1 +
 configs/socfpga_sockit_defconfig       | 1 +
 configs/socfpga_socrates_defconfig     | 1 +
 configs/socfpga_sr1500_defconfig       | 1 +
 configs/socfpga_vining_fpga_defconfig  | 1 +
 configs/spring_defconfig               | 1 +
 configs/trats2_defconfig               | 1 +
 configs/trats_defconfig                | 1 +
 doc/README.socfpga                     | 3 ---
 drivers/mmc/Kconfig                    | 8 ++++++++
 drivers/mmc/Makefile                   | 2 +-
 include/configs/axs10x.h               | 1 -
 include/configs/exynos-common.h        | 1 -
 include/configs/hikey.h                | 1 -
 include/configs/rk3036_common.h        | 1 -
 include/configs/rk3288_common.h        | 1 -
 include/configs/rk3399_common.h        | 1 -
 include/configs/socfpga_common.h       | 1 -
 50 files changed, 49 insertions(+), 13 deletions(-)
board/hisilicon/hikey/hikey.c +1 -1
index 72d6334..df3b5e7 100644
@@ -347,7 +347,7 @@ static int init_dwmmc(void)
 {
 	int ret;
 
-#ifdef CONFIG_DWMMC
+#ifdef CONFIG_MMC_DW
 
 	/* mmc0 clocks are already configured by ATF */
 	ret = hi6220_pinmux_config(PERIPH_ID_SDMMC0);
board/samsung/common/board.c +1 -1
index 522e0cd..ba928e0 100644
@@ -260,7 +260,7 @@ static int init_mmc(void)
 
 static int init_dwmmc(void)
 {
-#ifdef CONFIG_DWMMC
+#ifdef CONFIG_MMC_DW
 	return exynos_dwmmc_init(gd->fdt_blob);
 #else
 	return 0;
configs/arndale_defconfig +1 -0
index cdfb739..2298def 100644
@@ -22,6 +22,7 @@ CONFIG_CMD_TIME=y
 CONFIG_CMD_SOUND=y
 CONFIG_CMD_EXT4_WRITE=y
 CONFIG_DM_I2C_COMPAT=y
+CONFIG_MMC_DW=y
 CONFIG_MMC_SDHCI=y
 CONFIG_MMC_SDHCI_S5P=y
 CONFIG_SOUND=y
configs/axs101_defconfig +1 -0
index 04f5ffe..3793c42 100644
@@ -20,6 +20,7 @@ CONFIG_NET_RANDOM_ETHADDR=y
 CONFIG_DM=y
 CONFIG_CLK=y
 CONFIG_SYS_I2C_DW=y
+CONFIG_MMC_DW=y
 CONFIG_DM_ETH=y
 CONFIG_ETH_DESIGNWARE=y
 CONFIG_DM_SERIAL=y
configs/axs103_defconfig +1 -0
index 54fad6d..30a4021 100644
@@ -20,6 +20,7 @@ CONFIG_NET_RANDOM_ETHADDR=y
 CONFIG_DM=y
 CONFIG_CLK=y
 CONFIG_SYS_I2C_DW=y
+CONFIG_MMC_DW=y
 CONFIG_DM_ETH=y
 CONFIG_ETH_DESIGNWARE=y
 CONFIG_DM_SERIAL=y
configs/chromebit_mickey_defconfig +1 -0
index 8c65ecf..8b66d6c 100644
@@ -50,6 +50,7 @@ CONFIG_CROS_EC_KEYB=y
 CONFIG_CROS_EC=y
 CONFIG_CROS_EC_SPI=y
 CONFIG_PWRSEQ=y
+CONFIG_MMC_DW=y
 CONFIG_MMC_DW_ROCKCHIP=y
 CONFIG_PINCTRL=y
 CONFIG_SPL_PINCTRL=y
configs/chromebook_jerry_defconfig +1 -0
index 5bb9a99..f655301 100644
@@ -51,6 +51,7 @@ CONFIG_CROS_EC_KEYB=y
 CONFIG_CROS_EC=y
 CONFIG_CROS_EC_SPI=y
 CONFIG_PWRSEQ=y
+CONFIG_MMC_DW=y
 CONFIG_MMC_DW_ROCKCHIP=y
 CONFIG_PINCTRL=y
 CONFIG_SPL_PINCTRL=y
configs/chromebook_minnie_defconfig +1 -0
index d4ec2bd..04321f4 100644
@@ -51,6 +51,7 @@ CONFIG_CROS_EC_KEYB=y
 CONFIG_CROS_EC=y
 CONFIG_CROS_EC_SPI=y
 CONFIG_PWRSEQ=y
+CONFIG_MMC_DW=y
 CONFIG_MMC_DW_ROCKCHIP=y
 CONFIG_PINCTRL=y
 CONFIG_SPL_PINCTRL=y
configs/evb-rk3036_defconfig +1 -0
index f4ee5b9..623150b 100644
@@ -29,6 +29,7 @@ CONFIG_CLK=y
 CONFIG_ROCKCHIP_GPIO=y
 CONFIG_SYS_I2C_ROCKCHIP=y
 CONFIG_LED=y
+CONFIG_MMC_DW=y
 CONFIG_MMC_DW_ROCKCHIP=y
 CONFIG_PINCTRL=y
 CONFIG_ROCKCHIP_RK3036_PINCTRL=y
configs/evb-rk3288_defconfig +1 -0
index 0bfb0dd..df58996 100644
@@ -43,6 +43,7 @@ CONFIG_ROCKCHIP_GPIO=y
 CONFIG_SYS_I2C_ROCKCHIP=y
 CONFIG_LED=y
 CONFIG_LED_GPIO=y
+CONFIG_MMC_DW=y
 CONFIG_MMC_DW_ROCKCHIP=y
 CONFIG_PINCTRL=y
 # CONFIG_PINCTRL_FULL is not set
configs/evb-rk3399_defconfig +1 -0
index 68de631..6988bcb 100644
@@ -20,6 +20,7 @@ CONFIG_REGMAP=y
 CONFIG_SYSCON=y
 CONFIG_CLK=y
 CONFIG_ROCKCHIP_GPIO=y
+CONFIG_MMC_DW=y
 CONFIG_MMC_DW_ROCKCHIP=y
 CONFIG_ROCKCHIP_SDHCI=y
 CONFIG_MMC_SDHCI=y
configs/fennec-rk3288_defconfig +1 -0
index b76297c..21a5df7 100644
@@ -42,6 +42,7 @@ CONFIG_CLK=y
 CONFIG_SPL_CLK=y
 CONFIG_ROCKCHIP_GPIO=y
 CONFIG_SYS_I2C_ROCKCHIP=y
+CONFIG_MMC_DW=y
 CONFIG_MMC_DW_ROCKCHIP=y
 CONFIG_PINCTRL=y
 # CONFIG_PINCTRL_FULL is not set
configs/firefly-rk3288_defconfig +1 -0
index 3e55a84..eb78d54 100644
@@ -43,6 +43,7 @@ CONFIG_ROCKCHIP_GPIO=y
 CONFIG_SYS_I2C_ROCKCHIP=y
 CONFIG_LED=y
 CONFIG_LED_GPIO=y
+CONFIG_MMC_DW=y
 CONFIG_MMC_DW_ROCKCHIP=y
 CONFIG_PINCTRL=y
 CONFIG_SPL_PINCTRL=y
configs/hikey_defconfig +1 -0
index 27a8638..4a9546a 100644
@@ -10,5 +10,6 @@ CONFIG_CMD_MMC=y
 CONFIG_CMD_USB=y
 CONFIG_CMD_GPIO=y
 CONFIG_CMD_CACHE=y
+CONFIG_MMC_DW=y
 CONFIG_USB=y
 CONFIG_USB_STORAGE=y
configs/kylin-rk3036_defconfig +1 -0
index 3e8fba2..653d8d2 100644
@@ -30,6 +30,7 @@ CONFIG_CLK=y
 CONFIG_ROCKCHIP_GPIO=y
 CONFIG_SYS_I2C_ROCKCHIP=y
 CONFIG_LED=y
+CONFIG_MMC_DW=y
 CONFIG_MMC_DW_ROCKCHIP=y
 CONFIG_PINCTRL=y
 CONFIG_ROCKCHIP_RK3036_PINCTRL=y
configs/miniarm-rk3288_defconfig +1 -0
index 7d3e65e..2b6bd0b 100644
@@ -42,6 +42,7 @@ CONFIG_CLK=y
 CONFIG_SPL_CLK=y
 CONFIG_ROCKCHIP_GPIO=y
 CONFIG_SYS_I2C_ROCKCHIP=y
+CONFIG_MMC_DW=y
 CONFIG_MMC_DW_ROCKCHIP=y
 CONFIG_PINCTRL=y
 CONFIG_SPL_PINCTRL=y
configs/odroid-xu3_defconfig +1 -0
index a6ec2ee..dab4cc1 100644
@@ -26,6 +26,7 @@ CONFIG_ADC=y
 CONFIG_ADC_EXYNOS=y
 CONFIG_DFU_MMC=y
 CONFIG_DM_I2C_COMPAT=y
+CONFIG_MMC_DW=y
 CONFIG_MMC_SDHCI=y
 CONFIG_MMC_SDHCI_S5P=y
 CONFIG_DM_PMIC=y
configs/odroid_defconfig +1 -0
index e12208c..567ac2b 100644
@@ -36,6 +36,7 @@ CONFIG_CMD_FS_GENERIC=y
 CONFIG_OF_CONTROL=y
 CONFIG_DFU_MMC=y
 CONFIG_DM_I2C_COMPAT=y
+CONFIG_MMC_DW=y
 CONFIG_MMC_SDHCI=y
 CONFIG_MMC_SDHCI_SDMA=y
 CONFIG_MMC_SDHCI_S5P=y
configs/origen_defconfig +1 -0
index 0dcc9e8..1feb71c 100644
@@ -29,6 +29,7 @@ CONFIG_CMD_FAT=y
 CONFIG_CMD_FS_GENERIC=y
 CONFIG_OF_CONTROL=y
 CONFIG_DFU_MMC=y
+CONFIG_MMC_DW=y
 CONFIG_MMC_SDHCI=y
 CONFIG_MMC_SDHCI_SDMA=y
 CONFIG_MMC_SDHCI_S5P=y
configs/peach-pi_defconfig +1 -0
index ef02118..42b9f25 100644
@@ -32,6 +32,7 @@ CONFIG_I2C_ARB_GPIO_CHALLENGE=y
 CONFIG_CROS_EC_KEYB=y
 CONFIG_CROS_EC=y
 CONFIG_CROS_EC_SPI=y
+CONFIG_MMC_DW=y
 CONFIG_MMC_SDHCI=y
 CONFIG_MMC_SDHCI_S5P=y
 CONFIG_SPI_FLASH=y
configs/peach-pit_defconfig +1 -0
index 14fe00e..7b4ebfe 100644
@@ -32,6 +32,7 @@ CONFIG_I2C_ARB_GPIO_CHALLENGE=y
 CONFIG_CROS_EC_KEYB=y
 CONFIG_CROS_EC=y
 CONFIG_CROS_EC_SPI=y
+CONFIG_MMC_DW=y
 CONFIG_MMC_SDHCI=y
 CONFIG_MMC_SDHCI_S5P=y
 CONFIG_SPI_FLASH=y
configs/popmetal-rk3288_defconfig +1 -0
index 5a4e1b8..a123b84 100644
@@ -42,6 +42,7 @@ CONFIG_CLK=y
 CONFIG_SPL_CLK=y
 CONFIG_ROCKCHIP_GPIO=y
 CONFIG_SYS_I2C_ROCKCHIP=y
+CONFIG_MMC_DW=y
 CONFIG_MMC_DW_ROCKCHIP=y
 CONFIG_PINCTRL=y
 CONFIG_SPL_PINCTRL=y
configs/rock2_defconfig +1 -0
index b7f5435..a3b0c87 100644
@@ -41,6 +41,7 @@ CONFIG_CLK=y
 CONFIG_SPL_CLK=y
 CONFIG_ROCKCHIP_GPIO=y
 CONFIG_SYS_I2C_ROCKCHIP=y
+CONFIG_MMC_DW=y
 CONFIG_MMC_DW_ROCKCHIP=y
 CONFIG_PINCTRL=y
 CONFIG_SPL_PINCTRL=y
configs/s5pc210_universal_defconfig +1 -0
index b6cefb1..fad2b43 100644
@@ -29,6 +29,7 @@ CONFIG_CMD_FAT=y
 CONFIG_CMD_FS_GENERIC=y
 CONFIG_OF_CONTROL=y
 CONFIG_DFU_MMC=y
+CONFIG_MMC_DW=y
 CONFIG_MMC_SDHCI=y
 CONFIG_MMC_SDHCI_SDMA=y
 CONFIG_MMC_SDHCI_S5P=y
configs/smdk5250_defconfig +1 -0
index b785efe..4ef4143 100644
@@ -26,6 +26,7 @@ CONFIG_CMD_PMIC=y
 CONFIG_CMD_REGULATOR=y
 CONFIG_CMD_EXT4_WRITE=y
 CONFIG_DM_I2C_COMPAT=y
+CONFIG_MMC_DW=y
 CONFIG_MMC_SDHCI=y
 CONFIG_MMC_SDHCI_S5P=y
 CONFIG_SPI_FLASH=y
configs/smdk5420_defconfig +1 -0
index daa46d4..bff9444 100644
@@ -23,6 +23,7 @@ CONFIG_CMD_CACHE=y
 CONFIG_CMD_TIME=y
 CONFIG_CMD_EXT4_WRITE=y
 CONFIG_DM_I2C_COMPAT=y
+CONFIG_MMC_DW=y
 CONFIG_MMC_SDHCI=y
 CONFIG_MMC_SDHCI_S5P=y
 CONFIG_SPI_FLASH=y
configs/smdkv310_defconfig +1 -0
index a75a1f0..c15f4f5 100644
@@ -22,6 +22,7 @@ CONFIG_CMD_EXT4=y
 CONFIG_CMD_EXT4_WRITE=y
 CONFIG_CMD_FAT=y
 CONFIG_CMD_FS_GENERIC=y
+CONFIG_MMC_DW=y
 CONFIG_MMC_SDHCI=y
 CONFIG_MMC_SDHCI_SDMA=y
 CONFIG_MMC_SDHCI_S5P=y
configs/snow_defconfig +1 -0
index 47b498b..ef3cfa1 100644
@@ -33,6 +33,7 @@ CONFIG_I2C_ARB_GPIO_CHALLENGE=y
 CONFIG_CROS_EC_KEYB=y
 CONFIG_CROS_EC=y
 CONFIG_CROS_EC_I2C=y
+CONFIG_MMC_DW=y
 CONFIG_MMC_SDHCI=y
 CONFIG_MMC_SDHCI_S5P=y
 CONFIG_SPI_FLASH=y
configs/socfpga_arria5_defconfig +1 -0
index d91990c..43c51fe 100644
@@ -43,6 +43,7 @@ CONFIG_DM_GPIO=y
 CONFIG_DWAPB_GPIO=y
 CONFIG_SYS_I2C_DW=y
 CONFIG_DM_MMC=y
+CONFIG_MMC_DW=y
 CONFIG_SPI_FLASH=y
 CONFIG_SPI_FLASH_BAR=y
 CONFIG_SPI_FLASH_SPANSION=y
configs/socfpga_cyclone5_defconfig +1 -0
index 905f766..8b050b9 100644
@@ -43,6 +43,7 @@ CONFIG_DM_GPIO=y
 CONFIG_DWAPB_GPIO=y
 CONFIG_SYS_I2C_DW=y
 CONFIG_DM_MMC=y
+CONFIG_MMC_DW=y
 CONFIG_SPI_FLASH=y
 CONFIG_SPI_FLASH_BAR=y
 CONFIG_SPI_FLASH_SPANSION=y
configs/socfpga_de0_nano_soc_defconfig +1 -0
index 7daf81a..af41e1e 100644
@@ -42,6 +42,7 @@ CONFIG_DM_GPIO=y
 CONFIG_DWAPB_GPIO=y
 CONFIG_SYS_I2C_DW=y
 CONFIG_DM_MMC=y
+CONFIG_MMC_DW=y
 CONFIG_DM_ETH=y
 CONFIG_ETH_DESIGNWARE=y
 CONFIG_SYS_NS16550=y
configs/socfpga_de1_soc_defconfig +1 -0
index d8a3b82..032deef 100644
@@ -40,6 +40,7 @@ CONFIG_DM_GPIO=y
 CONFIG_DWAPB_GPIO=y
 CONFIG_SYS_I2C_DW=y
 CONFIG_DM_MMC=y
+CONFIG_MMC_DW=y
 CONFIG_DM_ETH=y
 CONFIG_ETH_DESIGNWARE=y
 CONFIG_SYS_NS16550=y
configs/socfpga_mcvevk_defconfig +1 -0
index 5a53246..b16ee1c 100644
@@ -42,6 +42,7 @@ CONFIG_DM_GPIO=y
 CONFIG_DWAPB_GPIO=y
 CONFIG_SYS_I2C_DW=y
 CONFIG_DM_MMC=y
+CONFIG_MMC_DW=y
 CONFIG_DM_ETH=y
 CONFIG_ETH_DESIGNWARE=y
 CONFIG_SYS_NS16550=y
configs/socfpga_sockit_defconfig +1 -0
index 9450d21..d0c2bda 100644
@@ -43,6 +43,7 @@ CONFIG_DM_GPIO=y
 CONFIG_DWAPB_GPIO=y
 CONFIG_SYS_I2C_DW=y
 CONFIG_DM_MMC=y
+CONFIG_MMC_DW=y
 CONFIG_SPI_FLASH=y
 CONFIG_SPI_FLASH_BAR=y
 CONFIG_SPI_FLASH_SPANSION=y
configs/socfpga_socrates_defconfig +1 -0
index 84a8890..e9276f9 100644
@@ -44,6 +44,7 @@ CONFIG_DM_GPIO=y
 CONFIG_DWAPB_GPIO=y
 CONFIG_SYS_I2C_DW=y
 CONFIG_DM_MMC=y
+CONFIG_MMC_DW=y
 CONFIG_SPI_FLASH=y
 CONFIG_SPI_FLASH_BAR=y
 CONFIG_SPI_FLASH_SPANSION=y
configs/socfpga_sr1500_defconfig +1 -0
index 641dd4d..6fd7bc0 100644
@@ -42,6 +42,7 @@ CONFIG_DM_GPIO=y
 CONFIG_DWAPB_GPIO=y
 CONFIG_SYS_I2C_DW=y
 CONFIG_DM_MMC=y
+CONFIG_MMC_DW=y
 CONFIG_SPI_FLASH=y
 CONFIG_SPI_FLASH_BAR=y
 CONFIG_SPI_FLASH_STMICRO=y
configs/socfpga_vining_fpga_defconfig +1 -0
index 608cdf8..f01b569 100644
@@ -47,6 +47,7 @@ CONFIG_DFU_SF=y
 CONFIG_DM_GPIO=y
 CONFIG_DWAPB_GPIO=y
 CONFIG_DM_MMC=y
+CONFIG_MMC_DW=y
 CONFIG_SPI_FLASH=y
 CONFIG_SPI_FLASH_SPANSION=y
 CONFIG_SPI_FLASH_STMICRO=y
configs/spring_defconfig +1 -0
index 4a782c8..3bd8644 100644
@@ -33,6 +33,7 @@ CONFIG_I2C_ARB_GPIO_CHALLENGE=y
 CONFIG_CROS_EC_KEYB=y
 CONFIG_CROS_EC=y
 CONFIG_CROS_EC_I2C=y
+CONFIG_MMC_DW=y
 CONFIG_MMC_SDHCI=y
 CONFIG_MMC_SDHCI_S5P=y
 CONFIG_SPI_FLASH=y
configs/trats2_defconfig +1 -0
index 9e88201..984ef06 100644
@@ -32,6 +32,7 @@ CONFIG_CMD_FAT=y
 CONFIG_CMD_FS_GENERIC=y
 CONFIG_OF_CONTROL=y
 CONFIG_DFU_MMC=y
+CONFIG_MMC_DW=y
 CONFIG_MMC_SDHCI=y
 CONFIG_MMC_SDHCI_SDMA=y
 CONFIG_MMC_SDHCI_S5P=y
configs/trats_defconfig +1 -0
index 92cf3f7..15737d1 100644
@@ -31,6 +31,7 @@ CONFIG_CMD_FAT=y
 CONFIG_CMD_FS_GENERIC=y
 CONFIG_OF_CONTROL=y
 CONFIG_DFU_MMC=y
+CONFIG_MMC_DW=y
 CONFIG_MMC_SDHCI=y
 CONFIG_MMC_SDHCI_SDMA=y
 CONFIG_MMC_SDHCI_S5P=y
doc/README.socfpga +0 -3
index 92942c9..e61bfef 100644
@@ -20,8 +20,5 @@ controller support within SOCFPGA
 #define CONFIG_SYS_MMC_MAX_BLK_COUNT	256
 -> Using smaller max blk cnt to avoid flooding the limited stack in OCRAM
 
-#define CONFIG_DWMMC
--> Enable the common DesignWare SDMMC controller framework
-
 #define CONFIG_SOCFPGA_DWMMC
 -> Enable the SOCFPGA specific driver for DesignWare SDMMC controller
drivers/mmc/Kconfig +8 -0
index 2ddcb24..32fd6c5 100644
@@ -68,9 +68,17 @@ config ATMEL_SDHCI
 	  It is compliant with the SD Host Controller Standard V3.0
 	  specification.
 
+config MMC_DW
+	bool "Synopsys DesignWare Memory Card Interface"
+	help
+	  This selects support for the Synopsys DesignWare Mobile Storage IP
+	  block, this provides host support for SD and MMC interfaces, in both
+	  PIO, internal DMA mode and external DMA mode.
+
 config MMC_DW_ROCKCHIP
 	bool "Rockchip SD/MMC controller support"
 	depends on DM_MMC && OF_CONTROL
+	depends on MMC_DW
 	help
 	  This enables support for the Rockchip SD/MMM controller, which is
 	  based on Designware IP. The device is compatible with at least
drivers/mmc/Makefile +1 -1
index 9cc2f7a5..74a8881 100644
@@ -17,7 +17,7 @@ obj-$(CONFIG_ARM_PL180_MMCI) += arm_pl180_mmci.o
 obj-$(CONFIG_ATMEL_SDHCI) += atmel_sdhci.o
 obj-$(CONFIG_BFIN_SDH) += bfin_sdh.o
 obj-$(CONFIG_DAVINCI_MMC) += davinci_mmc.o
-obj-$(CONFIG_DWMMC) += dw_mmc.o
+obj-$(CONFIG_MMC_DW) += dw_mmc.o
 obj-$(CONFIG_EXYNOS_DWMMC) += exynos_dw_mmc.o
 obj-$(CONFIG_HIKEY_DWMMC) += hi6220_dw_mmc.o
 obj-$(CONFIG_FSL_ESDHC) += fsl_esdhc.o
include/configs/axs10x.h +0 -1
index 296fbd1..2dd9d31 100644
@@ -86,7 +86,6 @@
  * SD/MMC configuration
  */
 #define CONFIG_GENERIC_MMC
-#define CONFIG_DWMMC
 #define CONFIG_DOS_PARTITION
 
 /*
include/configs/exynos-common.h +0 -1
index 9328a22..0105f4a 100644
@@ -39,7 +39,6 @@
 
 /* SD/MMC configuration */
 #define CONFIG_GENERIC_MMC
-#define CONFIG_DWMMC
 #define CONFIG_EXYNOS_DWMMC
 #define CONFIG_BOUNCE_BUFFER
 
include/configs/hikey.h +0 -1
index c725833..242ed53 100644
@@ -72,7 +72,6 @@
 
 /* SD/MMC configuration */
 #define CONFIG_GENERIC_MMC
-#define CONFIG_DWMMC
 #define CONFIG_HIKEY_DWMMC
 #define CONFIG_BOUNCE_BUFFER
 
include/configs/rk3036_common.h +0 -1
index 27dfbce..1fd33a0 100644
@@ -38,7 +38,6 @@
 
 /* MMC/SD IP block */
 #define CONFIG_GENERIC_MMC
-#define CONFIG_DWMMC
 #define CONFIG_BOUNCE_BUFFER
 
 #define CONFIG_FAT_WRITE
include/configs/rk3288_common.h +0 -1
index 535797a..a9995ee 100644
@@ -41,7 +41,6 @@
 
 /* MMC/SD IP block */
 #define CONFIG_GENERIC_MMC
-#define CONFIG_DWMMC
 #define CONFIG_BOUNCE_BUFFER
 
 #define CONFIG_FAT_WRITE
include/configs/rk3399_common.h +0 -1
index eab3f04..db0657b 100644
@@ -28,7 +28,6 @@
 
 /* MMC/SD IP block */
 #define CONFIG_GENERIC_MMC
-#define CONFIG_DWMMC
 #define CONFIG_BOUNCE_BUFFER
 #define CONFIG_ROCKCHIP_SDHCI_MAX_FREQ	200000000
 
include/configs/socfpga_common.h +0 -1
index dda1159..0dde8c9 100644
@@ -144,7 +144,6 @@
 #ifdef CONFIG_CMD_MMC
 #define CONFIG_BOUNCE_BUFFER
 #define CONFIG_GENERIC_MMC
-#define CONFIG_DWMMC
 #define CONFIG_SOCFPGA_DWMMC
 /* FIXME */
 /* using smaller max blk cnt to avoid flooding the limited stack we have */
Signature · 1 line
2.7.4
#4 lore raw

PATCH v2 4/7 mmc: move DesignWare-based drivers to Kconfig

In reply to Masahiro Yamada

Move (and rename) the following CONFIG options to Kconfig:

CONFIG_EXYNOS_DWMMC (renamed to CONFIG_MMC_DW_EXYNOS)
CONFIG_HIKEY_DWMMC (renamed to CONFIG_MMC_DW_K3)
CONFIG_SOCFPGA_DWMMC (renamed to CONFIG_MMC_DW_SOCFPGA)

The "HIKEY" is a board name, so it is not suitable for the MMC controller name. I am following the name used in Linux.

This commit was generated as follows:

[1] Rename the config options with the following command:
find . -name .git -prune -o ! -path ./scripts/config_whitelist.txt \
-type f -print | xargs sed -i -e ' s/CONFIG_EXYNOS_DWMMC/CONFIG_MMC_DW_EXYNOS/g s/CONFIG_HIKEY_DWMMC/CONFIG_MMC_DW_K3/g s/CONFIG_SOCFPGA_DWMMC/CONFIG_MMC_DW_SOCFPGA/g
'

[2] Commit the changes

[3] Create the entries in drivers/mmc/Kconfig
(with default y for EXYNOS and SOCFPGA)

[4] Run the following:
tools/moveconfig.py -y -r HEAD MMC_DW_EXYNOS MMC_DW_K3 MMC_DW_SOCFPGA

[5] Sort and align drivers/mmc/Makefile for readability

[6] Clean-up doc/README.socfpga by hand

---

Changes in v2: None

 configs/hikey_defconfig          |  1 +
 doc/README.socfpga               |  3 ---
 drivers/mmc/Kconfig              | 28 ++++++++++++++++++++++++++++
 drivers/mmc/Makefile             | 10 +++++-----
 include/configs/exynos-common.h  |  1 -
 include/configs/hikey.h          |  1 -
 include/configs/socfpga_common.h |  1 -
 7 files changed, 34 insertions(+), 11 deletions(-)
configs/hikey_defconfig +1 -0
index 4a9546a..539c7d3 100644
@@ -11,5 +11,6 @@ CONFIG_CMD_USB=y
 CONFIG_CMD_GPIO=y
 CONFIG_CMD_CACHE=y
 CONFIG_MMC_DW=y
+CONFIG_MMC_DW_K3=y
 CONFIG_USB=y
 CONFIG_USB_STORAGE=y
doc/README.socfpga +0 -3
index e61bfef..e717637 100644
@@ -19,6 +19,3 @@ controller support within SOCFPGA
 
 #define CONFIG_SYS_MMC_MAX_BLK_COUNT	256
 -> Using smaller max blk cnt to avoid flooding the limited stack in OCRAM
-
-#define CONFIG_SOCFPGA_DWMMC
--> Enable the SOCFPGA specific driver for DesignWare SDMMC controller
drivers/mmc/Kconfig +28 -0
index 32fd6c5..02205a4 100644
@@ -75,6 +75,24 @@ config MMC_DW
 	  block, this provides host support for SD and MMC interfaces, in both
 	  PIO, internal DMA mode and external DMA mode.
 
+config MMC_DW_EXYNOS
+	bool "Exynos specific extensions for Synopsys DW Memory Card Interface"
+	depends on ARCH_EXYNOS
+	depends on MMC_DW
+	default y
+	help
+	  This selects support for Samsung Exynos SoC specific extensions to the
+	  Synopsys DesignWare Memory Card Interface driver. Select this option
+	  for platforms based on Exynos4 and Exynos5 SoC's.
+
+config MMC_DW_K3
+	bool "K3 specific extensions for Synopsys DW Memory Card Interface"
+	depends on MMC_DW
+	help
+	  This selects support for Hisilicon K3 SoC specific extensions to the
+	  Synopsys DesignWare Memory Card Interface driver. Select this option
+	  for platforms based on Hisilicon K3 SoC's.
+
 config MMC_DW_ROCKCHIP
 	bool "Rockchip SD/MMC controller support"
 	depends on DM_MMC && OF_CONTROL
@@ -85,6 +103,16 @@ config MMC_DW_ROCKCHIP
 	  SD 3.0, SDIO 3.0 and MMC 4.5 and supports common eMMC chips as well
 	  as removeable SD and micro-SD cards.
 
+config MMC_DW_SOCFPGA
+	bool "SOCFPGA specific extensions for Synopsys DW Memory Card Interface"
+	depends on ARCH_SOCFPGA
+	depends on MMC_DW
+	default y
+	help
+	  This selects support for Altera SOCFPGA specific extensions to the
+	  Synopsys DesignWare Memory Card Interface driver. Select this option
+	  for platforms based on Altera SOCFPGA.
+
 config SH_SDHI
 	bool "SuperH/Renesas ARM SoCs on-chip SDHI host controller support"
 	depends on RMOBILE
drivers/mmc/Makefile +5 -5
index 74a8881..439afbe 100644
@@ -17,9 +17,11 @@ obj-$(CONFIG_ARM_PL180_MMCI) += arm_pl180_mmci.o
 obj-$(CONFIG_ATMEL_SDHCI) += atmel_sdhci.o
 obj-$(CONFIG_BFIN_SDH) += bfin_sdh.o
 obj-$(CONFIG_DAVINCI_MMC) += davinci_mmc.o
-obj-$(CONFIG_MMC_DW) += dw_mmc.o
-obj-$(CONFIG_EXYNOS_DWMMC) += exynos_dw_mmc.o
-obj-$(CONFIG_HIKEY_DWMMC) += hi6220_dw_mmc.o
+obj-$(CONFIG_MMC_DW)			+= dw_mmc.o
+obj-$(CONFIG_MMC_DW_EXYNOS)		+= exynos_dw_mmc.o
+obj-$(CONFIG_MMC_DW_K3)			+= hi6220_dw_mmc.o
+obj-$(CONFIG_MMC_DW_ROCKCHIP)		+= rockchip_dw_mmc.o
+obj-$(CONFIG_MMC_DW_SOCFPGA)		+= socfpga_dw_mmc.o
 obj-$(CONFIG_FSL_ESDHC) += fsl_esdhc.o
 obj-$(CONFIG_FTSDC010) += ftsdc010_mci.o
 obj-$(CONFIG_FTSDC021) += ftsdc021_sdhci.o
@@ -36,7 +38,6 @@ obj-$(CONFIG_MXS_MMC) += mxsmmc.o
 obj-$(CONFIG_OMAP_HSMMC) += omap_hsmmc.o
 obj-$(CONFIG_X86) += pci_mmc.o
 obj-$(CONFIG_PXA_MMC_GENERIC) += pxa_mmc_gen.o
-obj-$(CONFIG_MMC_DW_ROCKCHIP) += rockchip_dw_mmc.o
 obj-$(CONFIG_SUPPORT_EMMC_RPMB) += rpmb.o
 obj-$(CONFIG_S3C_SDI) += s3c_sdi.o
 ifdef CONFIG_BLK
@@ -46,7 +47,6 @@ endif
 endif
 obj-$(CONFIG_SH_MMCIF) += sh_mmcif.o
 obj-$(CONFIG_SH_SDHI) += sh_sdhi.o
-obj-$(CONFIG_SOCFPGA_DWMMC) += socfpga_dw_mmc.o
 obj-$(CONFIG_TEGRA_MMC) += tegra_mmc.o
 obj-$(CONFIG_MMC_UNIPHIER) += uniphier-sd.o
 obj-$(CONFIG_ZYNQ_SDHCI) += zynq_sdhci.o
include/configs/exynos-common.h +0 -1
index 0105f4a..cdbe154 100644
@@ -39,7 +39,6 @@
 
 /* SD/MMC configuration */
 #define CONFIG_GENERIC_MMC
-#define CONFIG_EXYNOS_DWMMC
 #define CONFIG_BOUNCE_BUFFER
 
 /* PWM */
include/configs/hikey.h +0 -1
index 242ed53..4048bce 100644
@@ -72,7 +72,6 @@
 
 /* SD/MMC configuration */
 #define CONFIG_GENERIC_MMC
-#define CONFIG_HIKEY_DWMMC
 #define CONFIG_BOUNCE_BUFFER
 
 #define CONFIG_FS_EXT4
include/configs/socfpga_common.h +0 -1
index 0dde8c9..7de9d86 100644
@@ -144,7 +144,6 @@
 #ifdef CONFIG_CMD_MMC
 #define CONFIG_BOUNCE_BUFFER
 #define CONFIG_GENERIC_MMC
-#define CONFIG_SOCFPGA_DWMMC
 /* FIXME */
 /* using smaller max blk cnt to avoid flooding the limited stack we have */
 #define CONFIG_SYS_MMC_MAX_BLK_COUNT	256	/* FIXME -- SPL only? */
Signature · 1 line
2.7.4
#5 lore raw

PATCH v2 5/7 ARM: davinci: remove unused CONFIG_DAVINCI_MMC_SD1

In reply to Masahiro Yamada

This CONFIG is not referenced from anywhere.

---

Changes in v2: None

 include/configs/da850evm.h | 1 -
 include/configs/legoev3.h  | 1 -
 2 files changed, 2 deletions(-)
include/configs/da850evm.h +0 -1
index ceb9cea..2eabc00 100644
@@ -313,7 +313,6 @@
 
 /* SD/MMC configuration */
 #ifndef CONFIG_USE_NOR
-#define CONFIG_DAVINCI_MMC_SD1
 #define CONFIG_GENERIC_MMC
 #define CONFIG_DAVINCI_MMC
 #endif
include/configs/legoev3.h +0 -1
index 3b118bb..fab1831 100644
@@ -215,7 +215,6 @@
 #define CONFIG_ENV_SIZE		(16 << 10)
 
 /* SD/MMC configuration */
-#define CONFIG_DAVINCI_MMC_SD1
 #define CONFIG_GENERIC_MMC
 #define CONFIG_DAVINCI_MMC
 
Signature · 1 line
2.7.4
#6 lore raw

PATCH v2 5/7 ARM: davinci: remove unused CONFIG_DAVINCI_MMC_SD1

Quoted 4 lines · Masahiro Yamada

This CONFIG is not referenced from anywhere.

Signature · 8 lines
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20170110/a501170a/attachment.sig>
#7 lore raw

PATCH v2 6/7 mmc: move more driver config options to Kconfig

In reply to Masahiro Yamada

Move (and rename) the following CONFIG options to Kconfig:

  CONFIG_DAVINCI_MMC  (renamed to CONFIG_MMC_DAVINCI)
  CONFIG_OMAP_HSMMC   (renamed to CONFIG_MMC_OMAP_HS)
  CONFIG_MXC_MMC      (renamed to CONFIG_MMC_MXC)
  CONFIG_MXS_MMC      (renamed to CONFIG_MMC_MXS)
  CONFIG_TEGRA_MMC    (renamed to CONFIG_MMC_SDHCI_TEGRA)
  CONFIG_SUNXI_MMC    (renamed to CONFIG_MMC_SUNXI)

They are the same option names as used in Linux.

This commit was created as follows:

[1] Rename the options with the following command:

find . -name .git -prune -o ! -path ./scripts/config_whitelist.txt \
-type f -print | xargs sed -i -e ' s/CONFIG_DAVINCI_MMC/CONFIG_MMC_DAVINCI/g s/CONFIG_OMAP_HSMMC/CONFIG_MMC_OMAP_HS/g s/CONFIG_MXC_MMC/CONFIG_MMC_MXC/g s/CONFIG_MXS_MMC/CONFIG_MMC_MXS/g s/CONFIG_TEGRA_MMC/CONFIG_MMC_SDHCI_TEGRA/g s/CONFIG_SUNXI_MMC/CONFIG_MMC_SUNXI/g
'

[2] Commit the changes

[3] Create entries in driver/mmc/Kconfig.
(copied from Linux)

[4] Move the options with the following command tools/moveconfig.py -y -r HEAD \
MMC_DAVINCI MMC_OMAP_HS MMC_MXC MMC_MXS MMC_SDHCI_TEGRA MMC_SUNXI

[5] Sort and align drivers/mmc/Makefile for readability

---

Changes in v2:
- Re-generate based on v2017.01

 arch/arm/cpu/arm926ejs/mx27/generic.c      |  8 ++---
 arch/arm/include/asm/arch-mx27/imx-regs.h  |  4 +--
 arch/arm/mach-davinci/da830_pinmux.c       |  2 +-
 arch/arm/mach-omap2/am33xx/board.c         |  2 +-
 arch/arm/mach-tegra/board2.c               |  2 +-
 board/armadeus/apf27/apf27.c               |  2 +-
 board/avionic-design/common/tamonten.c     |  2 +-
 board/compal/paz00/paz00.c                 |  2 +-
 board/davinci/da8xxevm/da850evm.c          | 12 +++----
 board/davinci/da8xxevm/omapl138_lcdk.c     | 10 +++---
 board/htkw/mcx/mcx.c                       |  2 +-
 board/lego/ev3/legoev3.c                   |  4 +--
 board/nvidia/cardhu/cardhu.c               |  2 +-
 board/nvidia/dalmore/dalmore.c             |  2 +-
 board/nvidia/harmony/harmony.c             |  2 +-
 board/nvidia/seaboard/seaboard.c           |  2 +-
 board/nvidia/whistler/whistler.c           |  2 +-
 board/technexion/twister/twister.c         |  2 +-
 board/teejet/mt_ventoux/mt_ventoux.c       |  2 +-
 board/toradex/colibri_t20/colibri_t20.c    |  2 +-
 configs/am335x_baltos_defconfig            |  1 +
 configs/am335x_boneblack_defconfig         |  1 +
 configs/am335x_boneblack_vboot_defconfig   |  1 +
 configs/am335x_evm_defconfig               |  1 +
 configs/am335x_evm_nor_defconfig           |  1 +
 configs/am335x_evm_norboot_defconfig       |  1 +
 configs/am335x_evm_spiboot_defconfig       |  1 +
 configs/am335x_evm_usbspl_defconfig        |  1 +
 configs/am335x_igep0033_defconfig          |  1 +
 configs/am335x_shc_defconfig               |  1 +
 configs/am335x_shc_ict_defconfig           |  1 +
 configs/am335x_shc_netboot_defconfig       |  1 +
 configs/am335x_shc_prompt_defconfig        |  1 +
 configs/am335x_shc_sdboot_defconfig        |  1 +
 configs/am335x_shc_sdboot_prompt_defconfig |  1 +
 configs/am335x_sl50_defconfig              |  1 +
 configs/am3517_crane_defconfig             |  1 +
 configs/am3517_evm_defconfig               |  1 +
 configs/am43xx_evm_defconfig               |  1 +
 configs/am43xx_evm_ethboot_defconfig       |  1 +
 configs/am43xx_evm_qspiboot_defconfig      |  1 +
 configs/am43xx_evm_usbhost_boot_defconfig  |  1 +
 configs/am43xx_hs_evm_defconfig            |  1 +
 configs/am57xx_evm_defconfig               |  1 +
 configs/am57xx_evm_nodt_defconfig          |  1 +
 configs/am57xx_hs_evm_defconfig            |  1 +
 configs/apf27_defconfig                    |  1 +
 configs/apx4devkit_defconfig               |  1 +
 configs/birdland_bav335a_defconfig         |  1 +
 configs/birdland_bav335b_defconfig         |  1 +
 configs/brppt1_mmc_defconfig               |  1 +
 configs/brppt1_spi_defconfig               |  1 +
 configs/brxre1_defconfig                   |  1 +
 configs/cairo_defconfig                    |  1 +
 configs/cl-som-am57x_defconfig             |  1 +
 configs/cm_t335_defconfig                  |  1 +
 configs/cm_t3517_defconfig                 |  1 +
 configs/cm_t35_defconfig                   |  1 +
 configs/cm_t43_defconfig                   |  1 +
 configs/cm_t54_defconfig                   |  1 +
 configs/devkit8000_defconfig               |  1 +
 configs/dra7xx_evm_defconfig               |  1 +
 configs/dra7xx_hs_evm_defconfig            |  1 +
 configs/draco_defconfig                    |  1 +
 configs/duovero_defconfig                  |  1 +
 configs/eco5pk_defconfig                   |  1 +
 configs/etamin_defconfig                   |  1 +
 configs/igep0020_defconfig                 |  1 +
 configs/igep0030_defconfig                 |  1 +
 configs/igep0032_defconfig                 |  1 +
 configs/k2g_evm_defconfig                  |  1 +
 configs/kc1_defconfig                      |  1 +
 configs/m28evk_defconfig                   |  1 +
 configs/mcx_defconfig                      |  1 +
 configs/mt_ventoux_defconfig               |  1 +
 configs/mx23_olinuxino_defconfig           |  1 +
 configs/mx23evk_defconfig                  |  1 +
 configs/mx28evk_auart_console_defconfig    |  1 +
 configs/mx28evk_defconfig                  |  1 +
 configs/mx28evk_nand_defconfig             |  1 +
 configs/mx28evk_spi_defconfig              |  1 +
 configs/nokia_rx51_defconfig               |  1 +
 configs/omap3_beagle_defconfig             |  1 +
 configs/omap3_evm_defconfig                |  1 +
 configs/omap3_ha_defconfig                 |  1 +
 configs/omap3_logic_defconfig              |  1 +
 configs/omap3_overo_defconfig              |  1 +
 configs/omap3_pandora_defconfig            |  1 +
 configs/omap3_zoom1_defconfig              |  1 +
 configs/omap4_panda_defconfig              |  1 +
 configs/omap4_sdp4430_defconfig            |  1 +
 configs/omap5_uevm_defconfig               |  1 +
 configs/pcm051_rev1_defconfig              |  1 +
 configs/pcm051_rev3_defconfig              |  1 +
 configs/pengwyn_defconfig                  |  1 +
 configs/pepper_defconfig                   |  1 +
 configs/pxm2_defconfig                     |  1 +
 configs/rastaban_defconfig                 |  1 +
 configs/rut_defconfig                      |  1 +
 configs/sansa_fuze_plus_defconfig          |  1 +
 configs/sc_sps_1_defconfig                 |  1 +
 configs/sniper_defconfig                   |  1 +
 configs/tao3530_defconfig                  |  1 +
 configs/thuban_defconfig                   |  1 +
 configs/ti814x_evm_defconfig               |  1 +
 configs/ti816x_evm_defconfig               |  1 +
 configs/tricorder_defconfig                |  1 +
 configs/tricorder_flash_defconfig          |  1 +
 configs/ts4600_defconfig                   |  1 +
 configs/twister_defconfig                  |  1 +
 configs/xfi3_defconfig                     |  1 +
 drivers/mmc/Kconfig                        | 53 ++++++++++++++++++++++++++++++
 drivers/mmc/Makefile                       | 16 +++++----
 include/configs/am3517_crane.h             |  1 -
 include/configs/am3517_evm.h               |  1 -
 include/configs/apalis_t30.h               |  1 -
 include/configs/apf27.h                    |  1 -
 include/configs/beaver.h                   |  1 -
 include/configs/brppt1.h                   |  1 -
 include/configs/brxre1.h                   |  1 -
 include/configs/cardhu.h                   |  1 -
 include/configs/cei-tk1-som.h              |  1 -
 include/configs/cm_t35.h                   |  1 -
 include/configs/cm_t3517.h                 |  1 -
 include/configs/colibri_t20.h              |  1 -
 include/configs/colibri_t30.h              |  1 -
 include/configs/da850evm.h                 |  1 -
 include/configs/dalmore.h                  |  1 -
 include/configs/e2220-1170.h               |  1 -
 include/configs/harmony.h                  |  1 -
 include/configs/imx27lite-common.h         |  1 -
 include/configs/jetson-tk1.h               |  1 -
 include/configs/k2g_evm.h                  |  1 -
 include/configs/kc1.h                      |  1 -
 include/configs/legoev3.h                  |  1 -
 include/configs/mcx.h                      |  1 -
 include/configs/medcom-wide.h              |  1 -
 include/configs/mxs.h                      |  1 -
 include/configs/nokia_rx51.h               |  1 -
 include/configs/nyan-big.h                 |  1 -
 include/configs/omap3_evm.h                |  1 -
 include/configs/omapl138_lcdk.h            |  1 -
 include/configs/p2371-0000.h               |  1 -
 include/configs/p2371-2180.h               |  1 -
 include/configs/p2571.h                    |  1 -
 include/configs/p2771-0000.h               |  1 -
 include/configs/paz00.h                    |  1 -
 include/configs/plutux.h                   |  1 -
 include/configs/seaboard.h                 |  1 -
 include/configs/siemens-am33x-common.h     |  1 -
 include/configs/sniper.h                   |  1 -
 include/configs/sunxi-common.h             |  1 -
 include/configs/tam3517-common.h           |  1 -
 include/configs/tao3530.h                  |  1 -
 include/configs/tec-ng.h                   |  1 -
 include/configs/tec.h                      |  1 -
 include/configs/tegra-common-post.h        |  3 --
 include/configs/ti814x_evm.h               |  1 -
 include/configs/ti816x_evm.h               |  1 -
 include/configs/ti_armv7_omap.h            |  3 --
 include/configs/tricorder.h                |  1 -
 include/configs/trimslice.h                |  1 -
 include/configs/venice2.h                  |  1 -
 include/configs/ventana.h                  |  1 -
 include/configs/whistler.h                 |  1 -
 165 files changed, 187 insertions(+), 97 deletions(-)
arch/arm/cpu/arm926ejs/mx27/generic.c +4 -4
index b713c84..3b4326a 100644
@@ -13,7 +13,7 @@
 #include <asm/arch/clock.h>
 #include <asm/arch/gpio.h>
 #include <asm/imx-common/sys_proto.h>
-#ifdef CONFIG_MXC_MMC
+#ifdef CONFIG_MMC_MXC
 #include <asm/arch/mxcmmc.h>
 #endif
 
@@ -196,7 +196,7 @@ int cpu_eth_init(bd_t *bis)
  */
 int cpu_mmc_init(bd_t *bis)
 {
-#ifdef CONFIG_MXC_MMC
+#ifdef CONFIG_MMC_MXC
 	return mxc_mmc_init(bis);
 #else
 	return 0;
@@ -340,7 +340,7 @@ void imx_get_mac_from_fuse(int dev_id, unsigned char *mac)
 }
 #endif /* CONFIG_FEC_MXC */
 
-#ifdef CONFIG_MXC_MMC
+#ifdef CONFIG_MMC_MXC
 void mx27_sd1_init_pins(void)
 {
 	int i;
@@ -374,7 +374,7 @@ void mx27_sd2_init_pins(void)
 		imx_gpio_mode(mode[i]);
 
 }
-#endif /* CONFIG_MXC_MMC */
+#endif /* CONFIG_MMC_MXC */
 
 #ifndef CONFIG_SYS_DCACHE_OFF
 void enable_caches(void)
arch/arm/include/asm/arch-mx27/imx-regs.h +2 -2
index 40b76d2..ce3bbd7 100644
@@ -22,10 +22,10 @@ extern void mx27_uart1_init_pins(void);
 extern void mx27_fec_init_pins(void);
 #endif /* CONFIG_FEC_MXC */
 
-#ifdef CONFIG_MXC_MMC
+#ifdef CONFIG_MMC_MXC
 extern void mx27_sd1_init_pins(void);
 extern void mx27_sd2_init_pins(void);
-#endif /* CONFIG_MXC_MMC */
+#endif /* CONFIG_MMC_MXC */
 
 /* AIPI */
 struct aipi_regs {
arch/arm/mach-davinci/da830_pinmux.c +1 -1
index edaab45..4182bb7 100644
@@ -121,7 +121,7 @@ const struct pinmux_config usb_pins[] = {
 	{ pinmux(9), 1, 1 }    /* USB0_DRVVBUS */
 };
 
-#ifdef CONFIG_DAVINCI_MMC
+#ifdef CONFIG_MMC_DAVINCI
 /* MMC0 pin muxer settings */
 const struct pinmux_config mmc0_pins_8bit[] = {
 	{ pinmux(15), 2, 7 },  /* MMCSD0_CLK */
arch/arm/mach-omap2/am33xx/board.c +1 -1
index 581c0ab..41e4cee 100644
@@ -105,7 +105,7 @@ static const struct gpio_bank gpio_bank_am33xx[] = {
 const struct gpio_bank *const omap_gpio_bank = gpio_bank_am33xx;
 #endif
 
-#if defined(CONFIG_OMAP_HSMMC) && !defined(CONFIG_SPL_BUILD)
+#if defined(CONFIG_MMC_OMAP_HS) && !defined(CONFIG_SPL_BUILD)
 int cpu_mmc_init(bd_t *bis)
 {
 	int ret;
arch/arm/mach-tegra/board2.c +1 -1
index cb9503f..5a457b9 100644
@@ -125,7 +125,7 @@ int board_init(void)
 	pin_mux_spi();
 #endif
 
-#ifdef CONFIG_TEGRA_MMC
+#ifdef CONFIG_MMC_SDHCI_TEGRA
 	pin_mux_mmc();
 #endif
 
board/armadeus/apf27/apf27.c +1 -1
index 29995ea..16adf6e 100644
@@ -119,7 +119,7 @@ static int apf27_devices_init(void)
 	mx27_fec_init_pins();
 #endif
 
-#ifdef CONFIG_MXC_MMC
+#ifdef CONFIG_MMC_MXC
 	mx27_sd2_init_pins();
 	imx_gpio_mode((GPIO_PORTF | GPIO_OUT | GPIO_PUEN | GPIO_GPIO | 16));
 	gpio_request(PC_PWRON, "pc_pwron");
board/avionic-design/common/tamonten.c +1 -1
index 4fb36a2..f78c007 100644
@@ -28,7 +28,7 @@ void gpio_early_init(void)
 }
 #endif
 
-#ifdef CONFIG_TEGRA_MMC
+#ifdef CONFIG_MMC_SDHCI_TEGRA
 /*
  * Routine: pin_mux_mmc
  * Description: setup the pin muxes/tristate values for the SDMMC(s)
board/compal/paz00/paz00.c +1 -1
index 43931b0..54eef6c 100644
@@ -13,7 +13,7 @@
 #include <asm/arch/pinmux.h>
 #include <asm/gpio.h>
 
-#ifdef CONFIG_TEGRA_MMC
+#ifdef CONFIG_MMC_SDHCI_TEGRA
 /*
  * Routine: pin_mux_mmc
  * Description: setup the pin muxes/tristate values for the SDMMC(s)
board/davinci/da8xxevm/da850evm.c +6 -6
index 52f914d..37d2f54 100644
@@ -24,7 +24,7 @@
 #include <linux/errno.h>
 #include <hwconfig.h>
 
-#ifdef CONFIG_DAVINCI_MMC
+#ifdef CONFIG_MMC_DAVINCI
 #include <mmc.h>
 #include <asm/arch/sdmmc_defs.h>
 #endif
@@ -197,7 +197,7 @@ int misc_init_r(void)
 	return 0;
 }
 
-#ifdef CONFIG_DAVINCI_MMC
+#ifdef CONFIG_MMC_DAVINCI
 static struct davinci_mmc mmc_sd0 = {
 	.reg_base = (struct davinci_mmc_regs *)DAVINCI_MMC_SD0_BASE,
 	.host_caps = MMC_MODE_4BIT,     /* DA850 supports only 4-bit SD/MMC */
@@ -219,7 +219,7 @@ static const struct pinmux_config gpio_pins[] = {
 	/* GP0[11] is required for NOR to work on Rev 3 EVMs */
 	{ pinmux(0), 8, 4 },	/* GP0[11] */
 #endif
-#ifdef CONFIG_DAVINCI_MMC
+#ifdef CONFIG_MMC_DAVINCI
 	/* GP0[11] is required for SD to work on Rev 3 EVMs */
 	{ pinmux(0),  8, 4 },	/* GP0[11] */
 #endif
@@ -250,7 +250,7 @@ const struct pinmux_resource pinmuxes[] = {
 	PINMUX_ITEM(emifa_pins_nor),
 #endif
 	PINMUX_ITEM(gpio_pins),
-#ifdef CONFIG_DAVINCI_MMC
+#ifdef CONFIG_MMC_DAVINCI
 	PINMUX_ITEM(mmc0_pins),
 #endif
 };
@@ -263,7 +263,7 @@ const struct lpsc_resource lpsc[] = {
 	{ DAVINCI_LPSC_EMAC },	/* image download */
 	{ DAVINCI_LPSC_UART2 },	/* console */
 	{ DAVINCI_LPSC_GPIO },
-#ifdef CONFIG_DAVINCI_MMC
+#ifdef CONFIG_MMC_DAVINCI
 	{ DAVINCI_LPSC_MMC_SD },
 #endif
 };
@@ -368,7 +368,7 @@ int board_init(void)
 	writel(0x01 << 11, GPIO_BANK0_REG_CLR_ADDR);
 #endif
 
-#ifdef CONFIG_DAVINCI_MMC
+#ifdef CONFIG_MMC_DAVINCI
 	/* Set the GPIO direction as output */
 	clrbits_le32((u32 *)GPIO_BANK0_REG_DIR_ADDR, (0x01 << 11));
 
board/davinci/da8xxevm/omapl138_lcdk.c +5 -5
index 9c1a483..3ce1992 100644
@@ -20,7 +20,7 @@
 #include <asm/io.h>
 #include <linux/errno.h>
 #include <asm/arch/davinci_misc.h>
-#ifdef CONFIG_DAVINCI_MMC
+#ifdef CONFIG_MMC_DAVINCI
 #include <mmc.h>
 #include <asm/arch/sdmmc_defs.h>
 #endif
@@ -29,7 +29,7 @@ DECLARE_GLOBAL_DATA_PTR;
 
 #define pinmux(x)	(&davinci_syscfg_regs->pinmux[x])
 
-#ifdef CONFIG_DAVINCI_MMC
+#ifdef CONFIG_MMC_DAVINCI
 /* MMC0 pin muxer settings */
 const struct pinmux_config mmc0_pins[] = {
 	/* GP0[11] is required for SD to work on Rev 3 EVMs */
@@ -130,7 +130,7 @@ const struct lpsc_resource lpsc[] = {
 	{ DAVINCI_LPSC_EMAC },	/* image download */
 	{ DAVINCI_LPSC_UART2 },	/* console */
 	{ DAVINCI_LPSC_GPIO },
-#ifdef CONFIG_DAVINCI_MMC
+#ifdef CONFIG_MMC_DAVINCI
 	{ DAVINCI_LPSC_MMC_SD },
 #endif
 };
@@ -210,7 +210,7 @@ int board_init(void)
 #endif
 
 
-#ifdef CONFIG_DAVINCI_MMC
+#ifdef CONFIG_MMC_DAVINCI
 	if (davinci_configure_pin_mux(mmc0_pins, ARRAY_SIZE(mmc0_pins)) != 0)
 		return 1;
 #endif
@@ -355,7 +355,7 @@ int misc_init_r(void)
 	return 0;
 }
 
-#ifdef CONFIG_DAVINCI_MMC
+#ifdef CONFIG_MMC_DAVINCI
 static struct davinci_mmc mmc_sd0 = {
 	.reg_base = (struct davinci_mmc_regs *)DAVINCI_MMC_SD0_BASE,
 	.host_caps = MMC_MODE_4BIT,     /* DA850 supports only 4-bit SD/MMC */
board/htkw/mcx/mcx.c +1 -1
index 5ef383d..1ac9d66 100644
@@ -100,7 +100,7 @@ void set_muxconf_regs(void)
 	MUX_MCX();
 }
 
-#if defined(CONFIG_OMAP_HSMMC) && !defined(CONFIG_SPL_BUILD)
+#if defined(CONFIG_MMC_OMAP_HS) && !defined(CONFIG_SPL_BUILD)
 int board_mmc_init(bd_t *bis)
 {
 	return omap_mmc_init(0, 0, 0, -1, -1);
board/lego/ev3/legoev3.c +2 -2
index d757d97..7e1766c 100644
@@ -26,7 +26,7 @@
 #include <linux/errno.h>
 #include <hwconfig.h>
 
-#ifdef CONFIG_DAVINCI_MMC
+#ifdef CONFIG_MMC_DAVINCI
 #include <mmc.h>
 #include <asm/arch/sdmmc_defs.h>
 #endif
@@ -39,7 +39,7 @@ u8 board_rev;
 #define EEPROM_REV_OFFSET	0x3F00
 #define EEPROM_MAC_OFFSET	0x3F06
 
-#ifdef CONFIG_DAVINCI_MMC
+#ifdef CONFIG_MMC_DAVINCI
 static struct davinci_mmc mmc_sd0 = {
 	.reg_base = (struct davinci_mmc_regs *)DAVINCI_MMC_SD0_BASE,
 	.host_caps = MMC_MODE_4BIT,     /* DA850 supports only 4-bit SD/MMC */
board/nvidia/cardhu/cardhu.c +1 -1
index f04f843..2ad9962 100644
@@ -33,7 +33,7 @@ void pinmux_init(void)
 	pinmux_config_drvgrp_table(cardhu_padctrl, ARRAY_SIZE(cardhu_padctrl));
 }
 
-#if defined(CONFIG_TEGRA_MMC)
+#if defined(CONFIG_MMC_SDHCI_TEGRA)
 /*
  * Do I2C/PMU writes to bring up SD card bus power
  *
board/nvidia/dalmore/dalmore.c +1 -1
index e4c4bfb..cb9282e 100644
@@ -34,7 +34,7 @@ void pinmux_init(void)
 		ARRAY_SIZE(dalmore_padctrl));
 }
 
-#if defined(CONFIG_TEGRA_MMC)
+#if defined(CONFIG_MMC_SDHCI_TEGRA)
 /*
  * Do I2C/PMU writes to bring up SD card bus power
  *
board/nvidia/harmony/harmony.c +1 -1
index c892a25..2945785 100644
@@ -14,7 +14,7 @@
 #include <asm/arch/tegra.h>
 #include <asm/gpio.h>
 
-#ifdef CONFIG_TEGRA_MMC
+#ifdef CONFIG_MMC_SDHCI_TEGRA
 /*
  * Routine: pin_mux_mmc
  * Description: setup the pin muxes/tristate values for the SDMMC(s)
board/nvidia/seaboard/seaboard.c +1 -1
index 4e01deb..b56bc52 100644
@@ -25,7 +25,7 @@ void gpio_early_init_uart(void)
 }
 #endif
 
-#ifdef CONFIG_TEGRA_MMC
+#ifdef CONFIG_MMC_SDHCI_TEGRA
 /*
  * Routine: pin_mux_mmc
  * Description: setup the pin muxes/tristate values for the SDMMC(s)
board/nvidia/whistler/whistler.c +1 -1
index 3476f11..db48978 100644
@@ -15,7 +15,7 @@
 #include <asm/gpio.h>
 #include <i2c.h>
 
-#ifdef CONFIG_TEGRA_MMC
+#ifdef CONFIG_MMC_SDHCI_TEGRA
 /*
  * Routine: pin_mux_mmc
  * Description: setup the pin muxes/tristate values for the SDMMC(s)
board/technexion/twister/twister.c +1 -1
index 4a3d094..ad4b02a 100644
@@ -130,7 +130,7 @@ int board_eth_init(bd_t *bis)
 	return 0;
 }
 
-#if defined(CONFIG_OMAP_HSMMC) && \
+#if defined(CONFIG_MMC_OMAP_HS) && \
 	!defined(CONFIG_SPL_BUILD)
 int board_mmc_init(bd_t *bis)
 {
board/teejet/mt_ventoux/mt_ventoux.c +1 -1
index c2de1fe..6b05541 100644
@@ -291,7 +291,7 @@ int board_eth_init(bd_t *bis)
 	return 0;
 }
 
-#if defined(CONFIG_OMAP_HSMMC) && \
+#if defined(CONFIG_MMC_OMAP_HS) && \
 	!defined(CONFIG_SPL_BUILD)
 int board_mmc_init(bd_t *bis)
 {
board/toradex/colibri_t20/colibri_t20.c +1 -1
index 4d298e6..7d574fb 100644
@@ -82,7 +82,7 @@ int ft_board_setup(void *blob, bd_t *bd)
 }
 #endif
 
-#ifdef CONFIG_TEGRA_MMC
+#ifdef CONFIG_MMC_SDHCI_TEGRA
 /*
  * Routine: pin_mux_mmc
  * Description: setup the pin muxes/tristate values for the SDMMC(s)
configs/am335x_baltos_defconfig +1 -0
index afef344..cffcccb 100644
@@ -44,6 +44,7 @@ CONFIG_CMD_EXT4_WRITE=y
 CONFIG_CMD_FAT=y
 CONFIG_CMD_FS_GENERIC=y
 CONFIG_CMD_UBI=y
+CONFIG_MMC_OMAP_HS=y
 CONFIG_SYS_NS16550=y
 CONFIG_USB=y
 CONFIG_USB_MUSB_HOST=y
configs/am335x_boneblack_defconfig +1 -0
index 79125ea..f253fae 100644
@@ -31,6 +31,7 @@ CONFIG_CMD_EXT4_WRITE=y
 CONFIG_DFU_TFTP=y
 CONFIG_DFU_MMC=y
 CONFIG_DFU_RAM=y
+CONFIG_MMC_OMAP_HS=y
 CONFIG_SPI_FLASH=y
 CONFIG_SPI_FLASH_WINBOND=y
 CONFIG_SYS_NS16550=y
configs/am335x_boneblack_vboot_defconfig +1 -0
index e68bc98..1ea235e 100644
@@ -38,6 +38,7 @@ CONFIG_DFU_RAM=y
 CONFIG_DM_I2C=y
 CONFIG_DM_MMC=y
 # CONFIG_DM_MMC_OPS is not set
+CONFIG_MMC_OMAP_HS=y
 CONFIG_SPI_FLASH=y
 CONFIG_SPI_FLASH_WINBOND=y
 CONFIG_DM_ETH=y
configs/am335x_evm_defconfig +1 -0
index 08c1e79..1748a37 100644
@@ -35,6 +35,7 @@ CONFIG_DFU_RAM=y
 CONFIG_DM_I2C=y
 CONFIG_DM_MMC=y
 # CONFIG_DM_MMC_OPS is not set
+CONFIG_MMC_OMAP_HS=y
 CONFIG_SPI_FLASH=y
 CONFIG_SPI_FLASH_WINBOND=y
 CONFIG_DM_ETH=y
configs/am335x_evm_nor_defconfig +1 -0
index 91b50d2..4081cce 100644
@@ -27,6 +27,7 @@ CONFIG_CMD_EXT4_WRITE=y
 CONFIG_DFU_MMC=y
 CONFIG_DFU_NAND=y
 CONFIG_DFU_RAM=y
+CONFIG_MMC_OMAP_HS=y
 CONFIG_SPI_FLASH=y
 CONFIG_SPI_FLASH_WINBOND=y
 CONFIG_SYS_NS16550=y
configs/am335x_evm_norboot_defconfig +1 -0
index 0a4f8ff..b72f07e 100644
@@ -20,6 +20,7 @@ CONFIG_CMD_GPIO=y
 CONFIG_CMD_EXT4_WRITE=y
 CONFIG_DFU_MMC=y
 CONFIG_DFU_RAM=y
+CONFIG_MMC_OMAP_HS=y
 CONFIG_SPI_FLASH=y
 CONFIG_SPI_FLASH_WINBOND=y
 CONFIG_SYS_NS16550=y
configs/am335x_evm_spiboot_defconfig +1 -0
index 7f9cd2e..5e4a3e9 100644
@@ -28,6 +28,7 @@ CONFIG_CMD_GPIO=y
 CONFIG_CMD_EXT4_WRITE=y
 CONFIG_DFU_MMC=y
 CONFIG_DFU_RAM=y
+CONFIG_MMC_OMAP_HS=y
 CONFIG_SPI_FLASH=y
 CONFIG_SPI_FLASH_WINBOND=y
 CONFIG_SYS_NS16550=y
configs/am335x_evm_usbspl_defconfig +1 -0
index 5438c9e..368005d 100644
@@ -28,6 +28,7 @@ CONFIG_CMD_EXT4_WRITE=y
 CONFIG_DFU_MMC=y
 CONFIG_DFU_NAND=y
 CONFIG_DFU_RAM=y
+CONFIG_MMC_OMAP_HS=y
 CONFIG_SPI_FLASH=y
 CONFIG_SPI_FLASH_WINBOND=y
 CONFIG_SYS_NS16550=y
configs/am335x_igep0033_defconfig +1 -0
index 6149beb..9d00e87 100644
@@ -38,5 +38,6 @@ CONFIG_CMD_EXT4=y
 CONFIG_CMD_EXT4_WRITE=y
 CONFIG_CMD_FAT=y
 CONFIG_CMD_FS_GENERIC=y
+CONFIG_MMC_OMAP_HS=y
 CONFIG_SYS_NS16550=y
 CONFIG_OF_LIBFDT=y
configs/am335x_shc_defconfig +1 -0
index 9b73f46..acac878 100644
@@ -32,5 +32,6 @@ CONFIG_AUTOBOOT_STOP_STR="noautoboot"
 CONFIG_CMD_MMC=y
 CONFIG_CMD_GPIO=y
 # CONFIG_CMD_SETEXPR is not set
+CONFIG_MMC_OMAP_HS=y
 CONFIG_SYS_NS16550=y
 CONFIG_OF_LIBFDT=y
configs/am335x_shc_ict_defconfig +1 -0
index ff70580..493f37f 100644
@@ -32,5 +32,6 @@ CONFIG_AUTOBOOT_STOP_STR="noautoboot"
 CONFIG_CMD_MMC=y
 CONFIG_CMD_GPIO=y
 # CONFIG_CMD_SETEXPR is not set
+CONFIG_MMC_OMAP_HS=y
 CONFIG_SYS_NS16550=y
 CONFIG_OF_LIBFDT=y
configs/am335x_shc_netboot_defconfig +1 -0
index 520d17c..ac12baa 100644
@@ -33,5 +33,6 @@ CONFIG_AUTOBOOT_STOP_STR="noautoboot"
 CONFIG_CMD_MMC=y
 CONFIG_CMD_GPIO=y
 # CONFIG_CMD_SETEXPR is not set
+CONFIG_MMC_OMAP_HS=y
 CONFIG_SYS_NS16550=y
 CONFIG_OF_LIBFDT=y
configs/am335x_shc_prompt_defconfig +1 -0
index d6cc315..6e879ba 100644
@@ -30,5 +30,6 @@ CONFIG_AUTOBOOT_STOP_STR="noautoboot"
 CONFIG_CMD_MMC=y
 CONFIG_CMD_GPIO=y
 # CONFIG_CMD_SETEXPR is not set
+CONFIG_MMC_OMAP_HS=y
 CONFIG_SYS_NS16550=y
 CONFIG_OF_LIBFDT=y
configs/am335x_shc_sdboot_defconfig +1 -0
index b4e36b5..52dddf8 100644
@@ -32,5 +32,6 @@ CONFIG_AUTOBOOT_STOP_STR="noautoboot"
 CONFIG_CMD_MMC=y
 CONFIG_CMD_GPIO=y
 # CONFIG_CMD_SETEXPR is not set
+CONFIG_MMC_OMAP_HS=y
 CONFIG_SYS_NS16550=y
 CONFIG_OF_LIBFDT=y
configs/am335x_shc_sdboot_prompt_defconfig +1 -0
index b4e36b5..52dddf8 100644
@@ -32,5 +32,6 @@ CONFIG_AUTOBOOT_STOP_STR="noautoboot"
 CONFIG_CMD_MMC=y
 CONFIG_CMD_GPIO=y
 # CONFIG_CMD_SETEXPR is not set
+CONFIG_MMC_OMAP_HS=y
 CONFIG_SYS_NS16550=y
 CONFIG_OF_LIBFDT=y
configs/am335x_sl50_defconfig +1 -0
index 99c09b9..8779aa4 100644
@@ -33,5 +33,6 @@ CONFIG_CMD_I2C=y
 CONFIG_CMD_GPIO=y
 # CONFIG_CMD_SETEXPR is not set
 CONFIG_CMD_EXT4_WRITE=y
+CONFIG_MMC_OMAP_HS=y
 CONFIG_SYS_NS16550=y
 CONFIG_OF_LIBFDT=y
configs/am3517_crane_defconfig +1 -0
index 08902b8..125abff 100644
@@ -20,6 +20,7 @@ CONFIG_CMD_DHCP=y
 # CONFIG_CMD_NFS is not set
 CONFIG_CMD_EXT2=y
 CONFIG_CMD_FAT=y
+CONFIG_MMC_OMAP_HS=y
 CONFIG_SYS_NS16550=y
 CONFIG_USB=y
 CONFIG_USB_STORAGE=y
configs/am3517_evm_defconfig +1 -0
index 291f570..818b43b 100644
@@ -31,6 +31,7 @@ CONFIG_CMD_EXT4_WRITE=y
 CONFIG_CMD_FAT=y
 CONFIG_CMD_FS_GENERIC=y
 CONFIG_CMD_UBI=y
+CONFIG_MMC_OMAP_HS=y
 CONFIG_SYS_NS16550=y
 CONFIG_USB=y
 CONFIG_USB_MUSB_HOST=y
configs/am43xx_evm_defconfig +1 -0
index 00f186a..4885d18 100644
@@ -45,6 +45,7 @@ CONFIG_DM_GPIO=y
 CONFIG_DM_I2C=y
 CONFIG_DM_MMC=y
 # CONFIG_DM_MMC_OPS is not set
+CONFIG_MMC_OMAP_HS=y
 CONFIG_DM_SPI_FLASH=y
 CONFIG_SPI_FLASH=y
 CONFIG_SPI_FLASH_BAR=y
configs/am43xx_evm_ethboot_defconfig +1 -0
index 7090fd1..e74e967 100644
@@ -35,6 +35,7 @@ CONFIG_CMD_FS_GENERIC=y
 CONFIG_DFU_MMC=y
 CONFIG_DFU_RAM=y
 CONFIG_DFU_SF=y
+CONFIG_MMC_OMAP_HS=y
 CONFIG_SPI_FLASH=y
 CONFIG_SPI_FLASH_MACRONIX=y
 CONFIG_SYS_NS16550=y
configs/am43xx_evm_qspiboot_defconfig +1 -0
index a3f3abd..f2e1f02 100644
@@ -30,6 +30,7 @@ CONFIG_CMD_FS_GENERIC=y
 CONFIG_DFU_MMC=y
 CONFIG_DFU_RAM=y
 CONFIG_DFU_SF=y
+CONFIG_MMC_OMAP_HS=y
 CONFIG_SPI_FLASH=y
 CONFIG_SPI_FLASH_MACRONIX=y
 CONFIG_SYS_NS16550=y
configs/am43xx_evm_usbhost_boot_defconfig +1 -0
index 6a881dd..32cb743 100644
@@ -47,6 +47,7 @@ CONFIG_DFU_SF=y
 CONFIG_DM_GPIO=y
 CONFIG_DM_MMC=y
 # CONFIG_DM_MMC_OPS is not set
+CONFIG_MMC_OMAP_HS=y
 CONFIG_SPI_FLASH=y
 CONFIG_SPI_FLASH_MACRONIX=y
 CONFIG_DM_SERIAL=y
configs/am43xx_hs_evm_defconfig +1 -0
index 60b2122..7e702e5 100644
@@ -47,6 +47,7 @@ CONFIG_DM_GPIO=y
 CONFIG_DM_I2C=y
 CONFIG_DM_MMC=y
 # CONFIG_DM_MMC_OPS is not set
+CONFIG_MMC_OMAP_HS=y
 CONFIG_DM_SPI_FLASH=y
 CONFIG_SPI_FLASH=y
 CONFIG_SPI_FLASH_MACRONIX=y
configs/am57xx_evm_defconfig +1 -0
index a582055..11eeae9 100644
@@ -57,6 +57,7 @@ CONFIG_DM_GPIO=y
 CONFIG_DM_I2C=y
 CONFIG_DM_MMC=y
 # CONFIG_DM_MMC_OPS is not set
+CONFIG_MMC_OMAP_HS=y
 CONFIG_DM_SPI_FLASH=y
 CONFIG_SPI_FLASH=y
 CONFIG_SPI_FLASH_BAR=y
configs/am57xx_evm_nodt_defconfig +1 -0
index 7e08b0a..3235a76 100644
@@ -38,6 +38,7 @@ CONFIG_CMD_EXT4=y
 CONFIG_CMD_EXT4_WRITE=y
 CONFIG_CMD_FAT=y
 CONFIG_CMD_FS_GENERIC=y
+CONFIG_MMC_OMAP_HS=y
 CONFIG_SPI_FLASH=y
 CONFIG_SPI_FLASH_BAR=y
 CONFIG_SPI_FLASH_SPANSION=y
configs/am57xx_hs_evm_defconfig +1 -0
index 4dcfce4..c726890 100644
@@ -59,6 +59,7 @@ CONFIG_DM_GPIO=y
 CONFIG_DM_I2C=y
 CONFIG_DM_MMC=y
 # CONFIG_DM_MMC_OPS is not set
+CONFIG_MMC_OMAP_HS=y
 CONFIG_DM_SPI_FLASH=y
 CONFIG_SPI_FLASH=y
 CONFIG_SPI_FLASH_BAR=y
configs/apf27_defconfig +1 -0
index a02e180..2da500a 100644
@@ -21,4 +21,5 @@ CONFIG_CMD_CACHE=y
 CONFIG_CMD_EXT2=y
 CONFIG_CMD_FAT=y
 CONFIG_CMD_UBI=y
+CONFIG_MMC_MXC=y
 CONFIG_OF_LIBFDT=y
configs/apx4devkit_defconfig +1 -0
index 9245ebb..53d03e1 100644
@@ -22,6 +22,7 @@ CONFIG_CMD_CACHE=y
 CONFIG_CMD_EXT2=y
 CONFIG_CMD_FAT=y
 CONFIG_CMD_UBI=y
+CONFIG_MMC_MXS=y
 CONFIG_USB=y
 CONFIG_USB_STORAGE=y
 CONFIG_OF_LIBFDT=y
configs/birdland_bav335a_defconfig +1 -0
index 5e1af1c..6940a6e 100644
@@ -45,6 +45,7 @@ CONFIG_CMD_FAT=y
 CONFIG_CMD_FS_GENERIC=y
 CONFIG_DFU_MMC=y
 CONFIG_DFU_RAM=y
+CONFIG_MMC_OMAP_HS=y
 CONFIG_SPI_FLASH=y
 CONFIG_SPI_FLASH_WINBOND=y
 CONFIG_SYS_NS16550=y
configs/birdland_bav335b_defconfig +1 -0
index f3771bb..b8a76c4 100644
@@ -45,6 +45,7 @@ CONFIG_CMD_FAT=y
 CONFIG_CMD_FS_GENERIC=y
 CONFIG_DFU_MMC=y
 CONFIG_DFU_RAM=y
+CONFIG_MMC_OMAP_HS=y
 CONFIG_SPI_FLASH=y
 CONFIG_SPI_FLASH_WINBOND=y
 CONFIG_SYS_NS16550=y
configs/brppt1_mmc_defconfig +1 -0
index 41eac18..e78b20a 100644
@@ -48,6 +48,7 @@ CONFIG_CMD_EXT4_WRITE=y
 CONFIG_CMD_FAT=y
 CONFIG_CMD_FS_GENERIC=y
 CONFIG_NETCONSOLE=y
+CONFIG_MMC_OMAP_HS=y
 CONFIG_SYS_NS16550=y
 CONFIG_USB=y
 CONFIG_USB_MUSB_HOST=y
configs/brppt1_spi_defconfig +1 -0
index 17b9cb1..7271fc0 100644
@@ -53,6 +53,7 @@ CONFIG_CMD_EXT4_WRITE=y
 CONFIG_CMD_FAT=y
 CONFIG_CMD_FS_GENERIC=y
 CONFIG_NETCONSOLE=y
+CONFIG_MMC_OMAP_HS=y
 CONFIG_SPI_FLASH=y
 CONFIG_SPI_FLASH_STMICRO=y
 # CONFIG_SPI_FLASH_USE_4K_SECTORS is not set
configs/brxre1_defconfig +1 -0
index 7c0cf96..4cea7e1 100644
@@ -47,6 +47,7 @@ CONFIG_CMD_TIME=y
 CONFIG_CMD_FAT=y
 CONFIG_CMD_FS_GENERIC=y
 CONFIG_NETCONSOLE=y
+CONFIG_MMC_OMAP_HS=y
 CONFIG_SYS_NS16550=y
 CONFIG_USB=y
 CONFIG_USB_MUSB_HOST=y
configs/cairo_defconfig +1 -0
index 67d6b61..d18cf94 100644
@@ -28,5 +28,6 @@ CONFIG_CMD_EXT4=y
 CONFIG_CMD_EXT4_WRITE=y
 CONFIG_CMD_FAT=y
 CONFIG_CMD_FS_GENERIC=y
+CONFIG_MMC_OMAP_HS=y
 CONFIG_SYS_NS16550=y
 CONFIG_OF_LIBFDT=y
configs/cl-som-am57x_defconfig +1 -0
index 9eadf42..5d3bc11 100644
@@ -23,6 +23,7 @@ CONFIG_CMD_EXT4=y
 CONFIG_CMD_EXT4_WRITE=y
 CONFIG_CMD_FAT=y
 CONFIG_CMD_FS_GENERIC=y
+CONFIG_MMC_OMAP_HS=y
 CONFIG_SPI_FLASH=y
 CONFIG_SPI_FLASH_BAR=y
 CONFIG_SPI_FLASH_ATMEL=y
configs/cm_t335_defconfig +1 -0
index 36905fd..e2c8162 100644
@@ -35,5 +35,6 @@ CONFIG_CMD_EXT4=y
 CONFIG_CMD_EXT4_WRITE=y
 CONFIG_CMD_FAT=y
 CONFIG_CMD_FS_GENERIC=y
+CONFIG_MMC_OMAP_HS=y
 CONFIG_SYS_NS16550=y
 CONFIG_OF_LIBFDT=y
configs/cm_t3517_defconfig +1 -0
index aba8b85..115e451 100644
@@ -20,6 +20,7 @@ CONFIG_CMD_PING=y
 CONFIG_CMD_CACHE=y
 CONFIG_CMD_EXT2=y
 CONFIG_CMD_FAT=y
+CONFIG_MMC_OMAP_HS=y
 CONFIG_SYS_NS16550=y
 CONFIG_USB=y
 CONFIG_USB_MUSB_HOST=y
configs/cm_t35_defconfig +1 -0
index 56b78c1..4d9b203 100644
@@ -22,6 +22,7 @@ CONFIG_CMD_PING=y
 CONFIG_CMD_CACHE=y
 CONFIG_CMD_EXT2=y
 CONFIG_CMD_FAT=y
+CONFIG_MMC_OMAP_HS=y
 CONFIG_SYS_NS16550=y
 CONFIG_USB=y
 CONFIG_USB_STORAGE=y
configs/cm_t43_defconfig +1 -0
index 2d78841..aafac81 100644
@@ -43,6 +43,7 @@ CONFIG_CMD_FAT=y
 CONFIG_CMD_FS_GENERIC=y
 CONFIG_DM=y
 CONFIG_DM_GPIO=y
+CONFIG_MMC_OMAP_HS=y
 CONFIG_SPI_FLASH=y
 CONFIG_SPI_FLASH_BAR=y
 CONFIG_SPI_FLASH_ATMEL=y
configs/cm_t54_defconfig +1 -0
index e002e1c..d8ff4c3 100644
@@ -30,6 +30,7 @@ CONFIG_CMD_EXT4=y
 CONFIG_CMD_EXT4_WRITE=y
 CONFIG_CMD_FAT=y
 CONFIG_CMD_FS_GENERIC=y
+CONFIG_MMC_OMAP_HS=y
 CONFIG_SYS_NS16550=y
 CONFIG_USB=y
 CONFIG_USB_STORAGE=y
configs/devkit8000_defconfig +1 -0
index e603310..bcdc272 100644
@@ -18,5 +18,6 @@ CONFIG_CMD_MII=y
 CONFIG_CMD_PING=y
 CONFIG_CMD_EXT2=y
 CONFIG_CMD_FAT=y
+CONFIG_MMC_OMAP_HS=y
 CONFIG_SYS_NS16550=y
 CONFIG_OF_LIBFDT=y
configs/dra7xx_evm_defconfig +1 -0
index 64fe038..0b646f3 100644
@@ -59,6 +59,7 @@ CONFIG_PCF8575_GPIO=y
 CONFIG_DM_I2C=y
 CONFIG_DM_MMC=y
 # CONFIG_DM_MMC_OPS is not set
+CONFIG_MMC_OMAP_HS=y
 CONFIG_DM_SPI_FLASH=y
 CONFIG_SPI_FLASH=y
 CONFIG_SPI_FLASH_BAR=y
configs/dra7xx_hs_evm_defconfig +1 -0
index b890a06..2df3abf 100644
@@ -64,6 +64,7 @@ CONFIG_PCF8575_GPIO=y
 CONFIG_DM_I2C=y
 CONFIG_DM_MMC=y
 # CONFIG_DM_MMC_OPS is not set
+CONFIG_MMC_OMAP_HS=y
 CONFIG_DM_SPI_FLASH=y
 CONFIG_SPI_FLASH=y
 CONFIG_SPI_FLASH_BAR=y
configs/draco_defconfig +1 -0
index 0cb4412..5fe194b 100644
@@ -46,6 +46,7 @@ CONFIG_CMD_UBI=y
 CONFIG_OF_CONTROL=y
 CONFIG_OF_EMBED=y
 CONFIG_DFU_NAND=y
+CONFIG_MMC_OMAP_HS=y
 CONFIG_SPI_FLASH=y
 CONFIG_SPI_FLASH_WINBOND=y
 CONFIG_MTD_UBI_FASTMAP=y
configs/duovero_defconfig +1 -0
index 33e70ee..85573b4 100644
@@ -20,6 +20,7 @@ CONFIG_CMD_GPIO=y
 # CONFIG_CMD_SETEXPR is not set
 # CONFIG_CMD_NFS is not set
 CONFIG_CMD_EXT4_WRITE=y
+CONFIG_MMC_OMAP_HS=y
 CONFIG_SYS_NS16550=y
 CONFIG_USB=y
 CONFIG_USB_STORAGE=y
configs/eco5pk_defconfig +1 -0
index 77f3cd5..cc8788d 100644
@@ -20,6 +20,7 @@ CONFIG_CMD_CACHE=y
 CONFIG_CMD_EXT2=y
 CONFIG_CMD_FAT=y
 CONFIG_CMD_UBI=y
+CONFIG_MMC_OMAP_HS=y
 CONFIG_SYS_NS16550=y
 CONFIG_USB=y
 CONFIG_USB_STORAGE=y
configs/etamin_defconfig +1 -0
index 8fb6ebd..dbd6dfe 100644
@@ -46,6 +46,7 @@ CONFIG_CMD_UBI=y
 CONFIG_OF_CONTROL=y
 CONFIG_OF_EMBED=y
 CONFIG_DFU_NAND=y
+CONFIG_MMC_OMAP_HS=y
 CONFIG_SPI_FLASH=y
 CONFIG_SPI_FLASH_WINBOND=y
 CONFIG_MTD_UBI_FASTMAP=y
configs/igep0020_defconfig +1 -0
index c25b6b8..0dd244e 100644
@@ -33,5 +33,6 @@ CONFIG_CMD_FAT=y
 CONFIG_CMD_FS_GENERIC=y
 CONFIG_CMD_UBI=y
 CONFIG_NET_RANDOM_ETHADDR=y
+CONFIG_MMC_OMAP_HS=y
 CONFIG_SYS_NS16550=y
 CONFIG_OF_LIBFDT=y
configs/igep0030_defconfig +1 -0
index 925c42f..72fb874 100644
@@ -25,5 +25,6 @@ CONFIG_CMD_CACHE=y
 CONFIG_CMD_EXT4_WRITE=y
 CONFIG_CMD_UBI=y
 CONFIG_NET_RANDOM_ETHADDR=y
+CONFIG_MMC_OMAP_HS=y
 CONFIG_SYS_NS16550=y
 CONFIG_OF_LIBFDT=y
configs/igep0032_defconfig +1 -0
index dad8dfa..b18ce4c 100644
@@ -25,5 +25,6 @@ CONFIG_CMD_CACHE=y
 CONFIG_CMD_EXT4_WRITE=y
 CONFIG_CMD_UBI=y
 CONFIG_NET_RANDOM_ETHADDR=y
+CONFIG_MMC_OMAP_HS=y
 CONFIG_SYS_NS16550=y
 CONFIG_OF_LIBFDT=y
configs/k2g_evm_defconfig +1 -0
index 97f7187..b5cc9ef 100644
@@ -39,6 +39,7 @@ CONFIG_DM=y
 # CONFIG_BLK is not set
 CONFIG_DM_MMC=y
 # CONFIG_DM_MMC_OPS is not set
+CONFIG_MMC_OMAP_HS=y
 CONFIG_DM_SPI_FLASH=y
 CONFIG_SPI_FLASH=y
 CONFIG_SPI_FLASH_BAR=y
configs/kc1_defconfig +1 -0
index 76226e9..f7f9301 100644
@@ -23,6 +23,7 @@ CONFIG_CMD_EXT2=y
 CONFIG_CMD_EXT4=y
 CONFIG_CMD_FAT=y
 CONFIG_CMD_FS_GENERIC=y
+CONFIG_MMC_OMAP_HS=y
 CONFIG_SYS_NS16550=y
 CONFIG_USB=y
 CONFIG_USB_MUSB_GADGET=y
configs/m28evk_defconfig +1 -0
index f145c40..e69a262 100644
@@ -32,6 +32,7 @@ CONFIG_CMD_EXT4_WRITE=y
 CONFIG_CMD_FAT=y
 CONFIG_CMD_FS_GENERIC=y
 CONFIG_CMD_UBI=y
+CONFIG_MMC_MXS=y
 CONFIG_SPI_FLASH=y
 CONFIG_SPI_FLASH_STMICRO=y
 CONFIG_USB=y
configs/mcx_defconfig +1 -0
index 9dc3c5a..c73b53c 100644
@@ -27,6 +27,7 @@ CONFIG_CMD_CACHE=y
 CONFIG_CMD_EXT2=y
 CONFIG_CMD_FAT=y
 CONFIG_CMD_UBI=y
+CONFIG_MMC_OMAP_HS=y
 CONFIG_SYS_NS16550=y
 CONFIG_USB=y
 CONFIG_USB_ULPI_VIEWPORT_OMAP=y
configs/mt_ventoux_defconfig +1 -0
index 9e330a7..c035f40 100644
@@ -24,6 +24,7 @@ CONFIG_CMD_CACHE=y
 CONFIG_CMD_EXT2=y
 CONFIG_CMD_FAT=y
 CONFIG_CMD_UBI=y
+CONFIG_MMC_OMAP_HS=y
 CONFIG_SYS_NS16550=y
 CONFIG_USB=y
 CONFIG_USB_ULPI_VIEWPORT_OMAP=y
configs/mx23_olinuxino_defconfig +1 -0
index ad27842..f67bb78 100644
@@ -19,6 +19,7 @@ CONFIG_CMD_DHCP=y
 CONFIG_CMD_CACHE=y
 CONFIG_CMD_EXT2=y
 CONFIG_CMD_FAT=y
+CONFIG_MMC_MXS=y
 CONFIG_USB=y
 CONFIG_USB_STORAGE=y
 CONFIG_OF_LIBFDT=y
configs/mx23evk_defconfig +1 -0
index b60acb5..21d41e3 100644
@@ -24,6 +24,7 @@ CONFIG_CMD_GPIO=y
 CONFIG_CMD_CACHE=y
 CONFIG_CMD_EXT2=y
 CONFIG_CMD_FAT=y
+CONFIG_MMC_MXS=y
 CONFIG_USB=y
 CONFIG_USB_STORAGE=y
 CONFIG_OF_LIBFDT=y
configs/mx28evk_auart_console_defconfig +1 -0
index 83f4a52..ddd442d 100644
@@ -30,6 +30,7 @@ CONFIG_CMD_EXT4_WRITE=y
 CONFIG_CMD_FAT=y
 CONFIG_CMD_FS_GENERIC=y
 CONFIG_CMD_UBI=y
+CONFIG_MMC_MXS=y
 CONFIG_SPI_FLASH=y
 CONFIG_SPI_FLASH_SST=y
 CONFIG_USB=y
configs/mx28evk_defconfig +1 -0
index 3bd8de0..947676d 100644
@@ -31,6 +31,7 @@ CONFIG_CMD_EXT4_WRITE=y
 CONFIG_CMD_FAT=y
 CONFIG_CMD_FS_GENERIC=y
 CONFIG_CMD_UBI=y
+CONFIG_MMC_MXS=y
 CONFIG_SPI_FLASH=y
 CONFIG_SPI_FLASH_SST=y
 CONFIG_USB=y
configs/mx28evk_nand_defconfig +1 -0
index d511247..ebe1dde 100644
@@ -30,6 +30,7 @@ CONFIG_CMD_EXT4_WRITE=y
 CONFIG_CMD_FAT=y
 CONFIG_CMD_FS_GENERIC=y
 CONFIG_CMD_UBI=y
+CONFIG_MMC_MXS=y
 CONFIG_SPI_FLASH=y
 CONFIG_SPI_FLASH_SST=y
 CONFIG_USB=y
configs/mx28evk_spi_defconfig +1 -0
index a3afe14..5ba17ef 100644
@@ -30,6 +30,7 @@ CONFIG_CMD_EXT4_WRITE=y
 CONFIG_CMD_FAT=y
 CONFIG_CMD_FS_GENERIC=y
 CONFIG_CMD_UBI=y
+CONFIG_MMC_MXS=y
 CONFIG_SPI_FLASH=y
 CONFIG_SPI_FLASH_SST=y
 CONFIG_USB=y
configs/nokia_rx51_defconfig +1 -0
index 210a9b1..0b8fccf 100644
@@ -23,6 +23,7 @@ CONFIG_CMD_GPIO=y
 CONFIG_CMD_EXT2=y
 CONFIG_CMD_EXT4=y
 CONFIG_CMD_FAT=y
+CONFIG_MMC_OMAP_HS=y
 CONFIG_SYS_NS16550=y
 CONFIG_CFB_CONSOLE_ANSI=y
 # CONFIG_VGA_AS_SINGLE_DEVICE is not set
configs/omap3_beagle_defconfig +1 -0
index 4816a03..32626a2 100644
@@ -18,6 +18,7 @@ CONFIG_CMD_USB=y
 CONFIG_CMD_GPIO=y
 CONFIG_CMD_CACHE=y
 CONFIG_CMD_EXT4_WRITE=y
+CONFIG_MMC_OMAP_HS=y
 CONFIG_SYS_NS16550=y
 CONFIG_USB=y
 CONFIG_USB_MUSB_GADGET=y
configs/omap3_evm_defconfig +1 -0
index 6ca7e2c..a3a7bf1 100644
@@ -19,6 +19,7 @@ CONFIG_CMD_DHCP=y
 CONFIG_CMD_PING=y
 CONFIG_CMD_EXT2=y
 CONFIG_CMD_FAT=y
+CONFIG_MMC_OMAP_HS=y
 CONFIG_SYS_NS16550=y
 CONFIG_USB=y
 CONFIG_USB_STORAGE=y
configs/omap3_ha_defconfig +1 -0
index 3fcbb76..bf806ce 100644
@@ -19,6 +19,7 @@ CONFIG_CMD_PING=y
 CONFIG_CMD_CACHE=y
 CONFIG_CMD_EXT2=y
 CONFIG_CMD_FAT=y
+CONFIG_MMC_OMAP_HS=y
 CONFIG_SYS_NS16550=y
 CONFIG_USB=y
 CONFIG_USB_STORAGE=y
configs/omap3_logic_defconfig +1 -0
index ac1a6a3..a71ce5f 100644
@@ -29,6 +29,7 @@ CONFIG_CMD_EXT4_WRITE=y
 CONFIG_CMD_FAT=y
 CONFIG_CMD_FS_GENERIC=y
 CONFIG_CMD_UBI=y
+CONFIG_MMC_OMAP_HS=y
 CONFIG_SYS_NS16550=y
 CONFIG_USB=y
 CONFIG_USB_MUSB_GADGET=y
configs/omap3_overo_defconfig +1 -0
index b902283..615b3ee 100644
@@ -31,6 +31,7 @@ CONFIG_CMD_EXT4_WRITE=y
 CONFIG_CMD_FAT=y
 CONFIG_CMD_FS_GENERIC=y
 CONFIG_CMD_UBI=y
+CONFIG_MMC_OMAP_HS=y
 CONFIG_SYS_NS16550=y
 CONFIG_USB=y
 CONFIG_USB_STORAGE=y
configs/omap3_pandora_defconfig +1 -0
index 6635c69..311a82d 100644
@@ -21,5 +21,6 @@ CONFIG_CMD_GPIO=y
 CONFIG_CMD_CACHE=y
 CONFIG_CMD_EXT4_WRITE=y
 CONFIG_CMD_UBI=y
+CONFIG_MMC_OMAP_HS=y
 CONFIG_SYS_NS16550=y
 CONFIG_OF_LIBFDT=y
configs/omap3_zoom1_defconfig +1 -0
index e7f8fd0..e0087e4 100644
@@ -24,5 +24,6 @@ CONFIG_CMD_EXT4=y
 CONFIG_CMD_EXT4_WRITE=y
 CONFIG_CMD_FAT=y
 CONFIG_CMD_FS_GENERIC=y
+CONFIG_MMC_OMAP_HS=y
 CONFIG_SYS_NS16550=y
 CONFIG_OF_LIBFDT=y
configs/omap4_panda_defconfig +1 -0
index 8d90248..fae9ac3 100644
@@ -21,6 +21,7 @@ CONFIG_CMD_GPIO=y
 # CONFIG_CMD_SETEXPR is not set
 # CONFIG_CMD_NFS is not set
 CONFIG_CMD_EXT4_WRITE=y
+CONFIG_MMC_OMAP_HS=y
 CONFIG_SYS_NS16550=y
 CONFIG_USB=y
 CONFIG_USB_STORAGE=y
configs/omap4_sdp4430_defconfig +1 -0
index de339ca..f3a8b0c 100644
@@ -19,5 +19,6 @@ CONFIG_CMD_GPIO=y
 # CONFIG_CMD_NET is not set
 # CONFIG_CMD_NFS is not set
 CONFIG_CMD_EXT4_WRITE=y
+CONFIG_MMC_OMAP_HS=y
 CONFIG_SYS_NS16550=y
 CONFIG_OF_LIBFDT=y
configs/omap5_uevm_defconfig +1 -0
index 18843d2..0088c8f 100644
@@ -29,6 +29,7 @@ CONFIG_CMD_FAT=y
 CONFIG_CMD_FS_GENERIC=y
 CONFIG_DFU_MMC=y
 CONFIG_DFU_RAM=y
+CONFIG_MMC_OMAP_HS=y
 CONFIG_SYS_NS16550=y
 CONFIG_USB=y
 CONFIG_USB_DWC3=y
configs/pcm051_rev1_defconfig +1 -0
index bc6e92d..732a61c 100644
@@ -42,6 +42,7 @@ CONFIG_CMD_EXT4=y
 CONFIG_CMD_EXT4_WRITE=y
 CONFIG_CMD_FAT=y
 CONFIG_CMD_FS_GENERIC=y
+CONFIG_MMC_OMAP_HS=y
 CONFIG_SPI_FLASH=y
 CONFIG_SPI_FLASH_WINBOND=y
 CONFIG_SYS_NS16550=y
configs/pcm051_rev3_defconfig +1 -0
index acdf192..07b2e45 100644
@@ -42,6 +42,7 @@ CONFIG_CMD_EXT4=y
 CONFIG_CMD_EXT4_WRITE=y
 CONFIG_CMD_FAT=y
 CONFIG_CMD_FS_GENERIC=y
+CONFIG_MMC_OMAP_HS=y
 CONFIG_SPI_FLASH=y
 CONFIG_SPI_FLASH_WINBOND=y
 CONFIG_SYS_NS16550=y
configs/pengwyn_defconfig +1 -0
index 2da2126..7696e9d 100644
@@ -42,6 +42,7 @@ CONFIG_CMD_EXT4=y
 CONFIG_CMD_EXT4_WRITE=y
 CONFIG_CMD_FAT=y
 CONFIG_CMD_FS_GENERIC=y
+CONFIG_MMC_OMAP_HS=y
 CONFIG_SYS_NS16550=y
 CONFIG_USB=y
 CONFIG_USB_MUSB_HOST=y
configs/pepper_defconfig +1 -0
index 0592ed9..77a47d3 100644
@@ -34,5 +34,6 @@ CONFIG_CMD_EXT4=y
 CONFIG_CMD_EXT4_WRITE=y
 CONFIG_CMD_FAT=y
 CONFIG_CMD_FS_GENERIC=y
+CONFIG_MMC_OMAP_HS=y
 CONFIG_SYS_NS16550=y
 CONFIG_OF_LIBFDT=y
configs/pxm2_defconfig +1 -0
index 650d23d..4fcd5cc 100644
@@ -51,6 +51,7 @@ CONFIG_CMD_UBI=y
 CONFIG_OF_CONTROL=y
 CONFIG_OF_EMBED=y
 CONFIG_DFU_NAND=y
+CONFIG_MMC_OMAP_HS=y
 CONFIG_SPI_FLASH=y
 CONFIG_SPI_FLASH_WINBOND=y
 CONFIG_MTD_UBI_FASTMAP=y
configs/rastaban_defconfig +1 -0
index d3ac645..608acf9 100644
@@ -46,6 +46,7 @@ CONFIG_CMD_UBI=y
 CONFIG_OF_CONTROL=y
 CONFIG_OF_EMBED=y
 CONFIG_DFU_NAND=y
+CONFIG_MMC_OMAP_HS=y
 CONFIG_SPI_FLASH=y
 CONFIG_SPI_FLASH_WINBOND=y
 CONFIG_MTD_UBI_FASTMAP=y
configs/rut_defconfig +1 -0
index 4c99c13..3354f08 100644
@@ -51,6 +51,7 @@ CONFIG_CMD_UBI=y
 CONFIG_OF_CONTROL=y
 CONFIG_OF_EMBED=y
 CONFIG_DFU_NAND=y
+CONFIG_MMC_OMAP_HS=y
 CONFIG_SPI_FLASH=y
 CONFIG_SPI_FLASH_WINBOND=y
 CONFIG_MTD_UBI_FASTMAP=y
configs/sansa_fuze_plus_defconfig +1 -0
index b25bf1d..a147bdb 100644
@@ -23,6 +23,7 @@ CONFIG_CMD_PING=y
 CONFIG_CMD_CACHE=y
 CONFIG_CMD_EXT2=y
 CONFIG_CMD_FAT=y
+CONFIG_MMC_MXS=y
 CONFIG_USB=y
 CONFIG_USB_GADGET=y
 CONFIG_CI_UDC=y
configs/sc_sps_1_defconfig +1 -0
index 81fb434..b5638c5 100644
@@ -20,6 +20,7 @@ CONFIG_CMD_PING=y
 CONFIG_CMD_CACHE=y
 CONFIG_CMD_EXT2=y
 CONFIG_CMD_FAT=y
+CONFIG_MMC_MXS=y
 CONFIG_USB=y
 CONFIG_USB_STORAGE=y
 CONFIG_OF_LIBFDT=y
configs/sniper_defconfig +1 -0
index 6f55503..e289069 100644
@@ -24,6 +24,7 @@ CONFIG_CMD_EXT2=y
 CONFIG_CMD_EXT4=y
 CONFIG_CMD_FAT=y
 CONFIG_CMD_FS_GENERIC=y
+CONFIG_MMC_OMAP_HS=y
 CONFIG_SYS_NS16550=y
 CONFIG_USB=y
 CONFIG_USB_MUSB_GADGET=y
configs/tao3530_defconfig +1 -0
index 88a3725..f4171da 100644
@@ -19,6 +19,7 @@ CONFIG_CMD_PING=y
 CONFIG_CMD_CACHE=y
 CONFIG_CMD_EXT2=y
 CONFIG_CMD_FAT=y
+CONFIG_MMC_OMAP_HS=y
 CONFIG_SYS_NS16550=y
 CONFIG_USB=y
 CONFIG_USB_STORAGE=y
configs/thuban_defconfig +1 -0
index 7e1b63b..0f6989e 100644
@@ -46,6 +46,7 @@ CONFIG_CMD_UBI=y
 CONFIG_OF_CONTROL=y
 CONFIG_OF_EMBED=y
 CONFIG_DFU_NAND=y
+CONFIG_MMC_OMAP_HS=y
 CONFIG_SPI_FLASH=y
 CONFIG_SPI_FLASH_WINBOND=y
 CONFIG_MTD_UBI_FASTMAP=y
configs/ti814x_evm_defconfig +1 -0
index 0297917..1e3b410 100644
@@ -28,5 +28,6 @@ CONFIG_CMD_MII=y
 CONFIG_CMD_PING=y
 CONFIG_CMD_EXT2=y
 CONFIG_CMD_FAT=y
+CONFIG_MMC_OMAP_HS=y
 CONFIG_SYS_NS16550=y
 CONFIG_OF_LIBFDT=y
configs/ti816x_evm_defconfig +1 -0
index 7d3a7d6..a145b51 100644
@@ -23,5 +23,6 @@ CONFIG_CMD_MMC=y
 # CONFIG_CMD_SETEXPR is not set
 CONFIG_CMD_EXT2=y
 CONFIG_CMD_FAT=y
+CONFIG_MMC_OMAP_HS=y
 CONFIG_SYS_NS16550=y
 CONFIG_OF_LIBFDT=y
configs/tricorder_defconfig +1 -0
index 5bf0c9a..12a6843 100644
@@ -18,5 +18,6 @@ CONFIG_CMD_I2C=y
 CONFIG_CMD_EXT2=y
 CONFIG_CMD_FAT=y
 CONFIG_CMD_UBI=y
+CONFIG_MMC_OMAP_HS=y
 CONFIG_SYS_NS16550=y
 CONFIG_OF_LIBFDT=y
configs/tricorder_flash_defconfig +1 -0
index 68d8fb6..32c2059 100644
@@ -18,5 +18,6 @@ CONFIG_CMD_I2C=y
 CONFIG_CMD_EXT2=y
 CONFIG_CMD_FAT=y
 CONFIG_CMD_UBI=y
+CONFIG_MMC_OMAP_HS=y
 CONFIG_SYS_NS16550=y
 CONFIG_OF_LIBFDT=y
configs/ts4600_defconfig +1 -0
index 1d3acd3..40e20c4 100644
@@ -16,4 +16,5 @@ CONFIG_CMD_EXT4=y
 CONFIG_CMD_EXT4_WRITE=y
 CONFIG_CMD_FAT=y
 CONFIG_CMD_FS_GENERIC=y
+CONFIG_MMC_MXS=y
 CONFIG_OF_LIBFDT=y
configs/twister_defconfig +1 -0
index c92bfc8..826f0f1 100644
@@ -22,6 +22,7 @@ CONFIG_CMD_CACHE=y
 CONFIG_CMD_EXT2=y
 CONFIG_CMD_FAT=y
 CONFIG_CMD_UBI=y
+CONFIG_MMC_OMAP_HS=y
 CONFIG_SYS_NS16550=y
 CONFIG_USB=y
 CONFIG_USB_ULPI_VIEWPORT_OMAP=y
configs/xfi3_defconfig +1 -0
index 6f1aa69..f98ad34 100644
@@ -22,6 +22,7 @@ CONFIG_CMD_PING=y
 CONFIG_CMD_CACHE=y
 CONFIG_CMD_EXT2=y
 CONFIG_CMD_FAT=y
+CONFIG_MMC_MXS=y
 CONFIG_USB=y
 CONFIG_USB_GADGET=y
 CONFIG_CI_UDC=y
drivers/mmc/Kconfig +53 -0

71 lines not on this page · raw message

drivers/mmc/Makefile +9 -7
index 439afbe..10a91d5 100644
@@ -16,7 +16,8 @@ endif
 obj-$(CONFIG_ARM_PL180_MMCI) += arm_pl180_mmci.o
 obj-$(CONFIG_ATMEL_SDHCI) += atmel_sdhci.o
 obj-$(CONFIG_BFIN_SDH) += bfin_sdh.o
-obj-$(CONFIG_DAVINCI_MMC) += davinci_mmc.o
+obj-$(CONFIG_MMC_DAVINCI)		+= davinci_mmc.o
+
 obj-$(CONFIG_MMC_DW)			+= dw_mmc.o
 obj-$(CONFIG_MMC_DW_EXYNOS)		+= exynos_dw_mmc.o
 obj-$(CONFIG_MMC_DW_K3)			+= hi6220_dw_mmc.o
@@ -31,11 +32,10 @@ obj-$(CONFIG_GENERIC_MMC) += mmc_boot.o
 endif
 obj-$(CONFIG_GENERIC_ATMEL_MCI) += gen_atmel_mci.o
 obj-$(CONFIG_MMC_SPI) += mmc_spi.o
-obj-$(CONFIG_MMC_SUNXI) += sunxi_mmc.o
 obj-$(CONFIG_MVEBU_MMC) += mvebu_mmc.o
-obj-$(CONFIG_MXC_MMC) += mxcmmc.o
-obj-$(CONFIG_MXS_MMC) += mxsmmc.o
-obj-$(CONFIG_OMAP_HSMMC) += omap_hsmmc.o
+obj-$(CONFIG_MMC_OMAP_HS)		+= omap_hsmmc.o
+obj-$(CONFIG_MMC_MXC)			+= mxcmmc.o
+obj-$(CONFIG_MMC_MXS)			+= mxsmmc.o
 obj-$(CONFIG_X86) += pci_mmc.o
 obj-$(CONFIG_PXA_MMC_GENERIC) += pxa_mmc_gen.o
 obj-$(CONFIG_SUPPORT_EMMC_RPMB) += rpmb.o
@@ -47,8 +47,6 @@ endif
 endif
 obj-$(CONFIG_SH_MMCIF) += sh_mmcif.o
 obj-$(CONFIG_SH_SDHI) += sh_sdhi.o
-obj-$(CONFIG_TEGRA_MMC) += tegra_mmc.o
-obj-$(CONFIG_MMC_UNIPHIER) += uniphier-sd.o
 obj-$(CONFIG_ZYNQ_SDHCI) += zynq_sdhci.o
 obj-$(CONFIG_ROCKCHIP_SDHCI) += rockchip_sdhci.o
 
@@ -68,3 +66,7 @@ obj-$(CONFIG_MMC_SDHCI_KONA)		+= kona_sdhci.o
 obj-$(CONFIG_MMC_SDHCI_MV)		+= mv_sdhci.o
 obj-$(CONFIG_MMC_SDHCI_S5P)		+= s5p_sdhci.o
 obj-$(CONFIG_MMC_SDHCI_SPEAR)		+= spear_sdhci.o
+obj-$(CONFIG_MMC_SDHCI_TEGRA)		+= tegra_mmc.o
+
+obj-$(CONFIG_MMC_SUNXI)			+= sunxi_mmc.o
+obj-$(CONFIG_MMC_UNIPHIER)		+= uniphier-sd.o
include/configs/am3517_crane.h +0 -1
index ad0de2c8..31b3925 100644
@@ -76,7 +76,6 @@
 #define CONFIG_SYS_BAUDRATE_TABLE	{4800, 9600, 19200, 38400, 57600,\
 					115200}
 #define CONFIG_GENERIC_MMC		1
-#define CONFIG_OMAP_HSMMC		1
 #define CONFIG_DOS_PARTITION		1
 
 /*
include/configs/am3517_evm.h +0 -1
index 3247a4a..c0d3617 100644
@@ -78,7 +78,6 @@
 
 /* SD/MMC */
 #define CONFIG_GENERIC_MMC
-#define CONFIG_OMAP_HSMMC
 #define CONFIG_DOS_PARTITION
 
 /*
include/configs/apalis_t30.h +0 -1
index 12a2877..1c76de0 100644
@@ -29,7 +29,6 @@
 
 /* SD/MMC support */
 #define CONFIG_GENERIC_MMC
-#define CONFIG_TEGRA_MMC
 
 /* Environment in eMMC, before config block at the end of 1st "boot sector" */
 #define CONFIG_ENV_IS_IN_MMC
include/configs/apf27.h +0 -1
index e9d8232..314ac89 100644
@@ -309,7 +309,6 @@
  */
 #ifdef CONFIG_CMD_MMC
 #define CONFIG_GENERIC_MMC
-#define CONFIG_MXC_MMC
 #define CONFIG_MXC_MCI_REGS_BASE	0x10014000
 #endif
 
include/configs/beaver.h +0 -1
index 2e43a09..528ed6f 100644
@@ -29,7 +29,6 @@
 
 /* SD/MMC */
 #define CONFIG_GENERIC_MMC
-#define CONFIG_TEGRA_MMC
 
 /* Environment in eMMC, at the end of 2nd "boot sector" */
 #define CONFIG_ENV_IS_IN_MMC
include/configs/brppt1.h +0 -1
index eb2419c..13d5ca1 100644
@@ -49,7 +49,6 @@
 /* MMC/SD IP block */
 #if defined(CONFIG_EMMC_BOOT)
  #define CONFIG_GENERIC_MMC
- #define CONFIG_OMAP_HSMMC
  #define CONFIG_SUPPORT_EMMC_BOOT
 #endif /* CONFIG_EMMC_BOOT */
 
include/configs/brxre1.h +0 -1
index ac338c4..8056426 100644
@@ -44,7 +44,6 @@
 
 /* MMC/SD IP block */
 #define CONFIG_GENERIC_MMC
-#define CONFIG_OMAP_HSMMC
 #define CONFIG_SUPPORT_EMMC_BOOT
 
 /* Always 64 KiB env size */
include/configs/cardhu.h +0 -1
index b7df2bc..7e3966f 100644
@@ -32,7 +32,6 @@
 
 /* SD/MMC */
 #define CONFIG_GENERIC_MMC
-#define CONFIG_TEGRA_MMC
 
 /* Environment in eMMC, at the end of 2nd "boot sector" */
 #define CONFIG_ENV_IS_IN_MMC
include/configs/cei-tk1-som.h +0 -1
index 6eed4bc..9439863 100644
@@ -31,7 +31,6 @@
 
 /* SD/MMC */
 #define CONFIG_GENERIC_MMC
-#define CONFIG_TEGRA_MMC
 
 /* Environment in eMMC, at the end of 2nd "boot sector" */
 #define CONFIG_ENV_IS_IN_MMC
include/configs/cm_t35.h +0 -1
index 1ce27e3..0c72443 100644
@@ -81,7 +81,6 @@
 					115200}
 
 #define CONFIG_GENERIC_MMC
-#define CONFIG_OMAP_HSMMC
 #define CONFIG_DOS_PARTITION
 
 /* USB */
include/configs/cm_t3517.h +0 -1
index bae9697..874a889 100644
@@ -88,7 +88,6 @@
 #define CONFIG_OMAP_GPIO
 
 #define CONFIG_GENERIC_MMC
-#define CONFIG_OMAP_HSMMC
 #define CONFIG_DOS_PARTITION
 
 /* USB */
include/configs/colibri_t20.h +0 -1
index e9db97f..e726396 100644
@@ -28,7 +28,6 @@
 
 /* SD/MMC support */
 #define CONFIG_GENERIC_MMC
-#define CONFIG_TEGRA_MMC
 
 /* USB host support */
 #define CONFIG_USB_EHCI
include/configs/colibri_t30.h +0 -1
index 4d13856..d78eb67 100644
@@ -29,7 +29,6 @@
 
 /* SD/MMC support */
 #define CONFIG_GENERIC_MMC
-#define CONFIG_TEGRA_MMC
 
 /* Environment in eMMC, before config block at the end of 1st "boot sector" */
 #define CONFIG_ENV_IS_IN_MMC
include/configs/da850evm.h +0 -1
index 2eabc00..0ad6e4c 100644
@@ -314,7 +314,6 @@
 /* SD/MMC configuration */
 #ifndef CONFIG_USE_NOR
 #define CONFIG_GENERIC_MMC
-#define CONFIG_DAVINCI_MMC
 #endif
 
 /*
include/configs/dalmore.h +0 -1
index 04ab48d..a0f04f9 100644
@@ -25,7 +25,6 @@
 
 /* SD/MMC */
 #define CONFIG_GENERIC_MMC
-#define CONFIG_TEGRA_MMC
 
 /* Environment in eMMC, at the end of 2nd "boot sector" */
 #define CONFIG_ENV_IS_IN_MMC
include/configs/e2220-1170.h +0 -1
index d4aca55..064906d 100644
@@ -23,7 +23,6 @@
 
 /* SD/MMC */
 #define CONFIG_GENERIC_MMC
-#define CONFIG_TEGRA_MMC
 
 /* Environment in eMMC, at the end of 2nd "boot sector" */
 #define CONFIG_ENV_IS_IN_MMC
include/configs/harmony.h +0 -1
index cf3c493..e9781cc 100644
@@ -28,7 +28,6 @@
 
 /* SD/MMC */
 #define CONFIG_GENERIC_MMC
-#define CONFIG_TEGRA_MMC
 
 /* NAND support */
 #define CONFIG_CMD_NAND
include/configs/imx27lite-common.h +0 -1
index 30168bc..0936344 100644
@@ -138,7 +138,6 @@
  * SD/MMC
  */
 #define CONFIG_GENERIC_MMC
-#define CONFIG_MXC_MMC
 #define CONFIG_DOS_PARTITION
 
 /*
include/configs/jetson-tk1.h +0 -1
index c1fa2c6..febedca 100644
@@ -27,7 +27,6 @@
 
 /* SD/MMC */
 #define CONFIG_GENERIC_MMC
-#define CONFIG_TEGRA_MMC
 
 /* Environment in eMMC, at the end of 2nd "boot sector" */
 #define CONFIG_ENV_IS_IN_MMC
include/configs/k2g_evm.h +0 -1
index fb8fbe4..81da8ff 100644
@@ -62,7 +62,6 @@
 
 /* MMC/SD */
 #define CONFIG_GENERIC_MMC
-#define CONFIG_OMAP_HSMMC
 
 #undef CONFIG_ENV_IS_IN_NAND
 #define CONFIG_ENV_IS_IN_FAT
include/configs/kc1.h +0 -1
index 7a4ba09..c0562fd 100644
@@ -89,7 +89,6 @@
  */
 
 #define CONFIG_GENERIC_MMC
-#define CONFIG_OMAP_HSMMC
 
 /*
  * Power
include/configs/legoev3.h +0 -1
index fab1831..402dab2 100644
@@ -216,7 +216,6 @@
 
 /* SD/MMC configuration */
 #define CONFIG_GENERIC_MMC
-#define CONFIG_DAVINCI_MMC
 
 /*
  * Enable MMC commands only when
include/configs/mcx.h +0 -1
index f15abd3..fd8cf1d 100644
@@ -81,7 +81,6 @@
 #define CONFIG_BAUDRATE			115200
 #define CONFIG_SYS_BAUDRATE_TABLE	{4800, 9600, 19200, 38400, 57600,\
 					115200}
-#define CONFIG_OMAP_HSMMC
 #define CONFIG_GENERIC_MMC
 #define CONFIG_DOS_PARTITION
 
include/configs/medcom-wide.h +0 -1
index d42976b..1e94dac 100644
@@ -21,7 +21,6 @@
 
 /* SD/MMC */
 #define CONFIG_GENERIC_MMC
-#define CONFIG_TEGRA_MMC
 
 /* NAND support */
 #define CONFIG_CMD_NAND
include/configs/mxs.h +0 -1
index 04c3ce9..b26bc01 100644
@@ -150,7 +150,6 @@
 #ifdef CONFIG_CMD_MMC
 #define CONFIG_GENERIC_MMC
 #define CONFIG_BOUNCE_BUFFER
-#define CONFIG_MXS_MMC
 #endif
 
 /* NAND */
include/configs/nokia_rx51.h +0 -1
index 99ce60f..d2b8e39 100644
@@ -94,7 +94,6 @@
 #define CONFIG_BAUDRATE			115200
 #define CONFIG_SYS_BAUDRATE_TABLE { 4800, 9600, 19200, 38400, 57600, 115200 }
 #define CONFIG_GENERIC_MMC
-#define CONFIG_OMAP_HSMMC
 #define CONFIG_DOS_PARTITION
 
 /* USB */
include/configs/nyan-big.h +0 -1
index ae49054..be0889d 100644
@@ -26,7 +26,6 @@
 
 /* SD/MMC */
 #define CONFIG_GENERIC_MMC
-#define CONFIG_TEGRA_MMC
 
 /* Environment in eMMC, at the end of 2nd "boot sector" */
 #define CONFIG_ENV_IS_IN_MMC
include/configs/omap3_evm.h +0 -1
index 1a67584..0559462 100644
@@ -48,7 +48,6 @@
 
 /* MMC */
 #define CONFIG_GENERIC_MMC
-#define CONFIG_OMAP_HSMMC
 
 /* SPL */
 #define CONFIG_SYS_MMCSD_FS_BOOT_PARTITION	1
include/configs/omapl138_lcdk.h +0 -1
index cdc93c3..4418b9b 100644
@@ -329,7 +329,6 @@
 
 /* SD/MMC */
 #define CONFIG_GENERIC_MMC
-#define CONFIG_DAVINCI_MMC
 
 #ifdef CONFIG_MMC
 #define CONFIG_DOS_PARTITION
include/configs/p2371-0000.h +0 -1
index cd981b9..a1a518e 100644
@@ -23,7 +23,6 @@
 
 /* SD/MMC */
 #define CONFIG_GENERIC_MMC
-#define CONFIG_TEGRA_MMC
 
 /* Environment in eMMC, at the end of 2nd "boot sector" */
 #define CONFIG_ENV_IS_IN_MMC
include/configs/p2371-2180.h +0 -1
index 7ff545c..b80d8db 100644
@@ -23,7 +23,6 @@
 
 /* SD/MMC */
 #define CONFIG_GENERIC_MMC
-#define CONFIG_TEGRA_MMC
 
 /* Environment in eMMC, at the end of 2nd "boot sector" */
 #define CONFIG_ENV_IS_IN_MMC
include/configs/p2571.h +0 -1
index 7daaf8e..ef1ae3f 100644
@@ -24,7 +24,6 @@
 
 /* SD/MMC */
 #define CONFIG_GENERIC_MMC
-#define CONFIG_TEGRA_MMC
 
 /* Environment in eMMC, at the end of 2nd "boot sector" */
 #define CONFIG_ENV_IS_IN_MMC
include/configs/p2771-0000.h +0 -1
index 0864e4d..e1e3d72 100644
@@ -19,7 +19,6 @@
 
 /* SD/MMC */
 #define CONFIG_GENERIC_MMC
-#define CONFIG_TEGRA_MMC
 
 /* Environment in eMMC, at the end of 2nd "boot sector" */
 #define CONFIG_ENV_IS_IN_MMC
include/configs/paz00.h +0 -1
index 0cefee3..13d5aa9 100644
@@ -24,7 +24,6 @@
 
 /* SD/MMC */
 #define CONFIG_GENERIC_MMC
-#define CONFIG_TEGRA_MMC
 
 /* Environment in eMMC, at the end of 2nd "boot sector" */
 #define CONFIG_ENV_IS_IN_MMC
include/configs/plutux.h +0 -1
index 8ad5af1..889ef40 100644
@@ -21,7 +21,6 @@
 
 /* SD/MMC */
 #define CONFIG_GENERIC_MMC
-#define CONFIG_TEGRA_MMC
 
 /* NAND support */
 #define CONFIG_CMD_NAND
include/configs/seaboard.h +0 -1
index 3ee6555..388010c 100644
@@ -33,7 +33,6 @@
 
 /* SD/MMC */
 #define CONFIG_GENERIC_MMC
-#define CONFIG_TEGRA_MMC
 
 /* Environment in eMMC, at the end of 2nd "boot sector" */
 #define CONFIG_ENV_IS_IN_MMC
include/configs/siemens-am33x-common.h +0 -1
index e4d0ad9..e93ce93 100644
@@ -78,7 +78,6 @@
 #define CONFIG_SYS_LOAD_ADDR		0x81000000 /* Default load address */
 
 #define CONFIG_GENERIC_MMC
-#define CONFIG_OMAP_HSMMC
 #define CONFIG_DOS_PARTITION
 
 #define CONFIG_SPI
include/configs/sniper.h +0 -1
index 0a3d242..4d05786 100644
@@ -96,7 +96,6 @@
  */
 
 #define CONFIG_GENERIC_MMC
-#define CONFIG_OMAP_HSMMC
 
 /*
  * Power
include/configs/sunxi-common.h +0 -1
index b0bfc0d..f2839de 100644
@@ -141,7 +141,6 @@
 /* mmc config */
 #ifdef CONFIG_MMC
 #define CONFIG_GENERIC_MMC
-#define CONFIG_MMC_SUNXI
 #define CONFIG_MMC_SUNXI_SLOT		0
 #define CONFIG_ENV_IS_IN_MMC
 #define CONFIG_SYS_MMC_ENV_DEV		0	/* first detected MMC controller */
include/configs/tam3517-common.h +0 -1
index 44201a2..5ddc848 100644
@@ -73,7 +73,6 @@
 #define CONFIG_BAUDRATE			115200
 #define CONFIG_SYS_BAUDRATE_TABLE	{4800, 9600, 19200, 38400, 57600,\
 					115200}
-#define CONFIG_OMAP_HSMMC
 #define CONFIG_GENERIC_MMC
 #define CONFIG_DOS_PARTITION
 
include/configs/tao3530.h +0 -1
index 03fc42c..42d3060 100644
@@ -71,7 +71,6 @@
 #define CONFIG_ENV_OVERWRITE
 #define CONFIG_BAUDRATE			115200
 #define CONFIG_GENERIC_MMC
-#define CONFIG_OMAP_HSMMC
 #define CONFIG_DOS_PARTITION
 
 /* GPIO banks */
include/configs/tec-ng.h +0 -1
index 067e171..dbc9fc0 100644
@@ -22,7 +22,6 @@
 
 /* SD/MMC */
 #define CONFIG_GENERIC_MMC
-#define CONFIG_TEGRA_MMC
 
 /* Environment in eMMC, at the end of 2nd "boot sector" */
 #define CONFIG_ENV_IS_IN_MMC
include/configs/tec.h +0 -1
index c03dabf..278668c 100644
@@ -21,7 +21,6 @@
 
 /* SD/MMC */
 #define CONFIG_GENERIC_MMC
-#define CONFIG_TEGRA_MMC
 
 /* NAND support */
 #define CONFIG_CMD_NAND
include/configs/tegra-common-post.h +0 -3
index 5144d5a..4560019 100644
@@ -118,9 +118,6 @@
 #ifdef CONFIG_GENERIC_MMC
 #undef CONFIG_GENERIC_MMC
 #endif
-#ifdef CONFIG_TEGRA_MMC
-#undef CONFIG_TEGRA_MMC
-#endif
 #ifdef CONFIG_CMD_MMC
 #endif
 
include/configs/ti814x_evm.h +0 -1
index 86ab1e0..a43b977 100644
@@ -114,7 +114,6 @@
 
 #define CONFIG_OMAP_GPIO
 #define CONFIG_GENERIC_MMC
-#define CONFIG_OMAP_HSMMC
 #define CONFIG_DOS_PARTITION
 
 /**
include/configs/ti816x_evm.h +0 -1
index d909f25..9c8eabf 100644
@@ -53,7 +53,6 @@
 #define CONFIG_CMD_ASKEN
 #define CONFIG_OMAP_GPIO
 #define CONFIG_GENERIC_MMC
-#define CONFIG_OMAP_HSMMC
 #define CONFIG_DOS_PARTITION
 
 #define CONFIG_FS_FAT
include/configs/ti_armv7_omap.h +0 -3
index 6d9d4b2..de14b85 100644
@@ -20,9 +20,6 @@
 #define CONFIG_SYS_OMAP24_I2C_SLAVE	1
 #define CONFIG_SYS_I2C_OMAP24XX
 
-/* MMC/SD IP block */
-#define CONFIG_OMAP_HSMMC
-
 /* SPI IP Block */
 #define CONFIG_OMAP3_SPI
 
include/configs/tricorder.h +0 -1
index 1c36d07..5e9da85 100644
@@ -89,7 +89,6 @@
 
 /* MMC */
 #define CONFIG_GENERIC_MMC
-#define CONFIG_OMAP_HSMMC
 #define CONFIG_DOS_PARTITION
 
 /* I2C */
include/configs/trimslice.h +0 -1
index ff00614..874351d 100644
@@ -29,7 +29,6 @@
 
 /* SD/MMC */
 #define CONFIG_GENERIC_MMC
-#define CONFIG_TEGRA_MMC
 
 /* Environment in SPI */
 #define CONFIG_ENV_IS_IN_SPI_FLASH
include/configs/venice2.h +0 -1
index 7c7b200..ec12133 100644
@@ -24,7 +24,6 @@
 
 /* SD/MMC */
 #define CONFIG_GENERIC_MMC
-#define CONFIG_TEGRA_MMC
 
 /* Environment in eMMC, at the end of 2nd "boot sector" */
 #define CONFIG_ENV_IS_IN_MMC
include/configs/ventana.h +0 -1
index f5459a8..1150adf 100644
@@ -22,7 +22,6 @@
 
 /* SD/MMC */
 #define CONFIG_GENERIC_MMC
-#define CONFIG_TEGRA_MMC
 
 /* Environment in eMMC, at the end of 2nd "boot sector" */
 #define CONFIG_ENV_IS_IN_MMC
include/configs/whistler.h +0 -1
index ffd9a2c..19b57fd 100644
@@ -26,7 +26,6 @@
 
 /* SD/MMC */
 #define CONFIG_GENERIC_MMC
-#define CONFIG_TEGRA_MMC
 
 /*
  * Environment in eMMC, at the end of 2nd "boot sector". Note: This assumes
Signature · 1 line
2.7.4
#8 lore raw

PATCH v2 7/7 ARM: sunxi: remove bare default for CONFIG_MMC

In reply to Masahiro Yamada

The bare default entry is wrong. Just remove it since the (real) entry in drivers/mmc/Kconfig has "default ARM || PPC || SANDBOX".

---

Changes in v2: None

 board/sunxi/Kconfig | 4 ----
 1 file changed, 4 deletions(-)
board/sunxi/Kconfig +0 -4
index e1d4ab1..11eb82a 100644
@@ -291,10 +291,6 @@ config OLD_SUNXI_KERNEL_COMPAT
 	Set this to enable various workarounds for old kernels, this results in
 	sub-optimal settings for newer kernels, only enable if needed.
 
-config MMC
-	depends on !UART0_PORT_F
-	default y if ARCH_SUNXI
-
 config MMC0_CD_PIN
 	string "Card detect pin for mmc0"
 	default "PF6" if MACH_SUN8I_A83T || MACH_SUN8I_H3 || MACH_SUN50I
Signature · 1 line
2.7.4
#9 lore raw

PATCH v2 7/7 ARM: sunxi: remove bare default for CONFIG_MMC

Hi,

Quoted 17 lines · Masahiro Yamada

The bare default entry is wrong. Just remove it since the (real) entry in drivers/mmc/Kconfig has "default ARM || PPC || SANDBOX".

---

Changes in v2: None

 board/sunxi/Kconfig | 4 ----
 1 file changed, 4 deletions(-)
board/sunxi/Kconfig +0 -0
index e1d4ab1..11eb82a 100644

board/sunxi/Kconfig config OLD_SUNXI_KERNEL_COMPAT · line 297

Quoted 7 lines
board/sunxi/Kconfig +0 -4
@@ -291,10 +291,6 @@ config OLD_SUNXI_KERNEL_COMPAT
 	Set this to enable various workarounds for old kernels, this results in
 	sub-optimal settings for newer kernels, only enable if needed.
 
-config MMC
-	depends on !UART0_PORT_F
-	default y if ARCH_SUNXI
-

The default might be useless, but the additional depends on is really not.

Maxime

Signature · 10 lines
Maxime Ripard, Free Electrons
Embedded Linux and Kernel engineering
http://free-electrons.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 801 bytes
Desc: not available
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20170110/e799af8d/attachment.sig>
#10 lore raw

PATCH v2 7/7 ARM: sunxi: remove bare default for CONFIG_MMC

2017-01-10 17:04 GMT+09:00 Maxime Ripard <[email protected]>:

Quoted 23 lines

Hi,

Quoted 20 lines · Masahiro Yamada

The bare default entry is wrong. Just remove it since the (real) entry in drivers/mmc/Kconfig has "default ARM || PPC || SANDBOX".

---

Changes in v2: None

 board/sunxi/Kconfig | 4 ----
 1 file changed, 4 deletions(-)
board/sunxi/Kconfig +0 -0
index e1d4ab1..11eb82a 100644
@@ -291,10 +291,6 @@ config OLD_SUNXI_KERNEL_COMPAT
      Set this to enable various workarounds for old kernels, this results in
      sub-optimal settings for newer kernels, only enable if needed.
 
Quoted 7 lines

board/sunxi/Kconfig config OLD_SUNXI_KERNEL_COMPAT · line 297

Quoted 4 lines
board/sunxi/Kconfig +0 -4
-config MMC
-     depends on !UART0_PORT_F
-     default y if ARCH_SUNXI
-

The default might be useless, but the additional depends on is really not.

This is wrong anyway.

If you want to disable MMC, the following seems better.

config MMC_SUNXI

          depends on ARCH_SUNXI && !UART0_PORT_F

BTW, UART0_PORT_F seems SUNXI specific.
If this symbol is useful, I'd like to recommend to rename it to ARCH_SUNXI_UART0_PORT_F or something.

Signature · 2 lines
Best Regards
Masahiro Yamada
#11 lore raw

PATCH v2 7/7 ARM: sunxi: remove bare default for CONFIG_MMC

Quoted 32 lines · Masahiro Yamada

2017-01-10 17:04 GMT+09:00 Maxime Ripard <[email protected]>:

Quoted 23 lines

Hi,

Quoted 20 lines · Masahiro Yamada

The bare default entry is wrong. Just remove it since the (real) entry in drivers/mmc/Kconfig has "default ARM || PPC || SANDBOX".

---

Changes in v2: None

 board/sunxi/Kconfig | 4 ----
 1 file changed, 4 deletions(-)
board/sunxi/Kconfig +0 -0
index e1d4ab1..11eb82a 100644
@@ -291,10 +291,6 @@ config OLD_SUNXI_KERNEL_COMPAT
      Set this to enable various workarounds for old kernels, this results in
      sub-optimal settings for newer kernels, only enable if needed.
 
Quoted 7 lines

board/sunxi/Kconfig config OLD_SUNXI_KERNEL_COMPAT · line 297

Quoted 4 lines
board/sunxi/Kconfig +0 -4
-config MMC
-     depends on !UART0_PORT_F
-     default y if ARCH_SUNXI
-

The default might be useless, but the additional depends on is really not.

Quoted 1 line

This is wrong anyway.

The original code might have been wrong, but you just introduced a regression.

Quoted 4 lines

If you want to disable MMC, the following seems better.

config MMC_SUNXI

          depends on ARCH_SUNXI && !UART0_PORT_F

That looks great. Can you send a patch for it or add it to that serie?

Quoted 3 lines

BTW, UART0_PORT_F seems SUNXI specific.
If this symbol is useful, I'd like to recommend to rename it to ARCH_SUNXI_UART0_PORT_F or something.

That would work for me too.

Maxime

Signature · 10 lines
Maxime Ripard, Free Electrons
Embedded Linux and Kernel engineering
http://free-electrons.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 801 bytes
Desc: not available
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20170111/a7592eab/attachment.sig>
#12 lore raw

PATCH v2 7/7 ARM: sunxi: remove bare default for CONFIG_MMC

Hi Maxime,

2017-01-12 6:48 GMT+09:00 Maxime Ripard <[email protected]>:

Quoted 38 lines · Masahiro Yamada
Quoted 32 lines

2017-01-10 17:04 GMT+09:00 Maxime Ripard <[email protected]>:

Quoted 23 lines

Hi,

Quoted 20 lines · Masahiro Yamada

The bare default entry is wrong. Just remove it since the (real) entry in drivers/mmc/Kconfig has "default ARM || PPC || SANDBOX".

---

Changes in v2: None

 board/sunxi/Kconfig | 4 ----
 1 file changed, 4 deletions(-)
board/sunxi/Kconfig +0 -0
index e1d4ab1..11eb82a 100644
@@ -291,10 +291,6 @@ config OLD_SUNXI_KERNEL_COMPAT
      Set this to enable various workarounds for old kernels, this results in
      sub-optimal settings for newer kernels, only enable if needed.
 
Quoted 7 lines

board/sunxi/Kconfig config OLD_SUNXI_KERNEL_COMPAT · line 297

Quoted 4 lines
board/sunxi/Kconfig +0 -4
-config MMC
-     depends on !UART0_PORT_F
-     default y if ARCH_SUNXI
-

The default might be useless, but the additional depends on is really not.

Quoted 1 line

This is wrong anyway.

The original code might have been wrong, but you just introduced a regression.

Quoted 6 lines
Quoted 4 lines

If you want to disable MMC, the following seems better.

config MMC_SUNXI

          depends on ARCH_SUNXI && !UART0_PORT_F

That looks great. Can you send a patch for it or add it to that serie?

OK.

Please check this:
http://patchwork.ozlabs.org/patch/714139/

Signature · 2 lines
Best Regards
Masahiro Yamada
#13 lore raw

v2 cover mmc: more Kconfig conversion, MMC related clean-up

In reply to Masahiro Yamada

Hi Masahiro,

Quoted 8 lines · Masahiro Yamada

This series is based on commit 3d3a74cc8c.
Each git-log describes how to re-generate it.
Buildman test passed.

Changes in v2:
- Re-generate based on v2017.01

Quoted 8 lines

Masahiro Yamada (7):
ARM: socfpga: remove unused CONFIG option and cleanup README.socfpga
mmc: rename CONFIG_ROCKCHIP_DWMMC to CONFIG_MMC_DW_ROCKCHIP
mmc: move CONFIG_DWMMC to Kconfig, renaming to CONFIG_MMC_DW
mmc: move DesignWare-based drivers to Kconfig
ARM: davinci: remove unused CONFIG_DAVINCI_MMC_SD1
mmc: move more driver config options to Kconfig
ARM: sunxi: remove bare default for CONFIG_MMC

Applied on u-boot-mmc. Thanks!

Best Regards,
Jaehoon Chung

Quoted 1 line