Skip to content
Snippets Groups Projects
  1. Dec 29, 2016
    • Masahiro Yamada's avatar
      mmc: move CONFIG_SDHCI to Kconfig, renaming to CONFIG_MMC_SDHCI · e1ce61fb
      Masahiro Yamada authored
      
      Move CONFIG_SDHCI to Kconfig and rename it to CONFIG_MMC_SDHCI.
      My motivation for the rename is, ultimately, to make all the MMC
      options prefixed with MMC_ and SDHCI options with MMC_SDHCI_,
      like Linux.
      
      This commit was created as follows:
      
      [1] Rename the config option with the following command:
      find . -name .git -prune -o ! -path ./scripts/config_whitelist.txt \
      -type f -print | xargs sed -i -e 's/CONFIG_SDHCI/CONFIG_MMC_SDHCI/g'
      
      [2] create the entry for MMC_SDHCI in drivers/mmc/Kconfig
      
      [3] run "tools/moveconfig.py -y MMC_SDHCI"
      
      [4] add "depends on MMC_SDHCI" to existing SDHCI driver entries
      
      Signed-off-by: default avatarMasahiro Yamada <yamada.masahiro@socionext.com>
      Reviewed-by: default avatarTom Rini <trini@konsulko.com>
      Reviewed-by: default avatarJaehoon Chung <jh80.chung@samsung.com>
      e1ce61fb
    • Masahiro Yamada's avatar
      mmc: make MMC driver entries dependent on MMC · e298c46a
      Masahiro Yamada authored
      
      Currently, CONFIG_MMC is not related to any other options by
      "depends on" or "select".  One of big advantages of using Kconfig
      is automatic dependency tracking, but the current state is lacking
      it.  As the first step, make the existing MMC driver entries depend
      on MMC.
      
      This commit was created by the following steps:
      
      [1] Run the following script:
      
      --------------------8<--------------------
      rm -f tmp.txt
      
      for d in $(find . -path './configs/*_defconfig')
      do
              if grep -q -e 'CONFIG_MSM_SDHCI=y' $d ||
                 grep -q -e 'CONFIG_ATMEL_SDHCI=y' $d ||
                 grep -q -e 'CONFIG_ROCKCHIP_DWMMC=y' $d ||
                 grep -q -e 'CONFIG_SH_SDHI=y' $d ||
                 grep -q -e 'CONFIG_PIC32_SDHCI=y' $d ||
                 grep -q -e 'CONFIG_ZYNQ_SDHCI=y' $d ||
                 grep -q -e 'CONFIG_ROCKCHIP_SDHCI=y' $d ||
                 grep -q -e 'CONFIG_MMC_UNIPHIER=y' $d ||
                 grep -q -e 'CONFIG_SANDBOX_MMC=y' $d
              then
                      echo CONFIG_MMC=y >> $d
                      echo ${d#./configs/} >> tmp.txt
              fi
      done
      
      tools/moveconfig.py -y -s -d tmp.txt
      rm tmp.txt
      --------------------8<--------------------
      
      [2] surround MMC driver entries with "if MMC" and "endif"
      
      Signed-off-by: default avatarMasahiro Yamada <yamada.masahiro@socionext.com>
      Reviewed-by: default avatarTom Rini <trini@konsulko.com>
      Reviewed-by: default avatarJaehoon Chung <jh80.chung@samsung.com>
      e298c46a
    • Masahiro Yamada's avatar
      mmc: complete unfinished move of CONFIG_MMC · c2726995
      Masahiro Yamada authored
      
      Commit 7a777f6d ("mmc: Add generic Kconfig option") created
      a Kconfig entry for this option without any actual moves, then
      commit 44c79879 ("sunxi: Use Kconfig CONFIG_MMC") moved
      instances only for SUNXI.
      
      We generally do not like such partial moves.  This kind of work
      is automated by tools/moveconfig.py, so it is pretty easy to
      complete this move.
      
      I am adding "default ARM || PPC || SANDBOX" (suggested by Tom).
      This shortens the configs and will ease new board porting.
      
      This commit was created as follows:
      
      [1] Edit Kconfig (remove the "depends on", add the "default",
          copy the prompt and help message from Linux)
      
      [2] Run 'tools/moveconfig.py -y -s -r HEAD MMC'
      
      Signed-off-by: default avatarMasahiro Yamada <yamada.masahiro@socionext.com>
      Reviewed-by: default avatarJaehoon Chung <jh80.chung@samsung.com>
      c2726995
    • Masahiro Yamada's avatar
      Sync defconfig files by savedefconfig · 18780951
      Masahiro Yamada authored
      
      Generated by "tools/moveconfig -s".
      
      This will make config moves easier.
      
      Signed-off-by: default avatarMasahiro Yamada <yamada.masahiro@socionext.com>
      18780951
  2. Dec 27, 2016
  3. Dec 26, 2016
  4. Dec 23, 2016
  5. Dec 22, 2016
  6. Dec 21, 2016
  7. Dec 20, 2016
Loading