u-boot-brain/arch/arm/cpu/arm926ejs
Masahiro Yamada 1d2c0506d3 mmc: move more driver config options to Kconfig
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

Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Reviewed-by: Marek Vasut <marex@denx.de>
2017-01-11 19:40:15 +09:00
..
armada100 arm: mvebu/armada100: dram.c: Remove CONFIG_SYS_BOARD_DRAM_INIT 2015-08-17 18:41:33 +02:00
lpc32xx ARM: Various: Future-proof serial platdata 2016-03-14 19:18:48 -04:00
mx25 imx: cpu: move common chip revision id's 2015-10-30 15:20:56 +01:00
mx27 mmc: move more driver config options to Kconfig 2017-01-11 19:40:15 +09:00
mxs ARM: mxs: Remove unused variable warning 2016-12-19 12:26:38 -05:00
omap Move CONFIG_DISPLAY_CPUINFO to Makefile 2014-02-19 11:10:05 -05:00
orion5x edminiv2: switch to SPL 2015-02-25 07:59:50 +01:00
spear spear: Use upper case for CONFIG options 2016-09-16 17:26:39 -04:00
cache.c ARM: Move SYS_CACHELINE_SIZE over to Kconfig 2016-08-26 17:04:46 -04:00
cpu.c arm, arm926ejs: make thumb mode compileable 2015-01-19 12:49:26 +01:00
Makefile arm: support Thumb-1 with CONFIG_SYS_THUMB_BUILD 2015-11-10 15:03:48 +01:00
start.S arm: Allow skipping of low-level init with I-cache on 2016-06-12 23:49:38 +02:00