1. 03 1月, 2017 16 次提交
  2. 30 12月, 2016 6 次提交
    • M
      mmc: move MMC_SDHCI_IO_ACCESSORS to Kconfig · 3d3a74cc
      Masahiro Yamada 提交于
      This is a user-unconfigurable option that is selected by the
      drivers that need to overwrite SDHCI IO memory accessors.
      (BCM2835 SDHCI seems the only driver that needs to do so.)
      Signed-off-by: NMasahiro Yamada <yamada.masahiro@socionext.com>
      Reviewed-by: NTom Rini <trini@konsulko.com>
      Reviewed-by: NJaehoon Chung <jh80.chung@samsung.com>
      3d3a74cc
    • M
      mmc: move some SDHCI related options to Kconfig · 45a68fe2
      Masahiro Yamada 提交于
      While I moved the options, I also renamed them so that they are all
      prefixed with MMC_SDHCI_.
      
      This commit was created in the following steps.
      
      [1] Rename with the following command
      find . -name .git -prune -o ! -path ./scripts/config_whitelist.txt \
      -type f -print | xargs sed -i -e '
      s/CONFIG_MMC_SDMA/CONFIG_MMC_SDHCI_SDMA/g
      s/CONFIG_BCM2835_SDHCI/CONFIG_MMC_SDHCI_BCM2835/g
      s/CONFIG_KONA_SDHCI/CONFIG_MMC_SDHCI_KONA/g
      s/CONFIG_MV_SDHCI/CONFIG_MMC_SDHCI_MV/g
      s/CONFIG_S5P_SDHCI/CONFIG_MMC_SDHCI_S5P/g
      s/CONFIG_SPEAR_SDHCI/CONFIG_MMC_SDHCI_SPEAR/g
      '
      
      [2] create the Kconfig entries in drivers/mmc/Kconfig
      
      [3] Move the options by the following command
      tools/moveconfig.py -y MMC_SDHCI_SDMA MMC_SDHCI_BCM2835 \
      MMC_SDHCI_KONA MMC_SDHCI_MV MMC_SDHCI_S5P MMC_SDHCI_SPEAR
      
      [4] Sort drivers/mmc/Makefile for readability
      Signed-off-by: NMasahiro Yamada <yamada.masahiro@socionext.com>
      Reviewed-by: NTom Rini <trini@konsulko.com>
      Reviewed-by: NJaehoon Chung <jh80.chung@samsung.com>
      45a68fe2
    • M
      mmc: move CONFIG_SDHCI to Kconfig, renaming to CONFIG_MMC_SDHCI · e1ce61fb
      Masahiro Yamada 提交于
      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: NMasahiro Yamada <yamada.masahiro@socionext.com>
      Reviewed-by: NTom Rini <trini@konsulko.com>
      Reviewed-by: NJaehoon Chung <jh80.chung@samsung.com>
      e1ce61fb
    • M
      mmc: make MMC driver entries dependent on MMC · e298c46a
      Masahiro Yamada 提交于
      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: NMasahiro Yamada <yamada.masahiro@socionext.com>
      Reviewed-by: NTom Rini <trini@konsulko.com>
      Reviewed-by: NJaehoon Chung <jh80.chung@samsung.com>
      e298c46a
    • M
      mmc: complete unfinished move of CONFIG_MMC · c2726995
      Masahiro Yamada 提交于
      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: NMasahiro Yamada <yamada.masahiro@socionext.com>
      Reviewed-by: NJaehoon Chung <jh80.chung@samsung.com>
      c2726995
    • M
      Sync defconfig files by savedefconfig · 18780951
      Masahiro Yamada 提交于
      Generated by "tools/moveconfig -s".
      
      This will make config moves easier.
      Signed-off-by: NMasahiro Yamada <yamada.masahiro@socionext.com>
      18780951
  3. 28 12月, 2016 17 次提交
  4. 27 12月, 2016 1 次提交