Skip to content
Snippets Groups Projects
  1. Apr 20, 2017
  2. Mar 13, 2017
  3. Feb 22, 2017
  4. Feb 12, 2017
    • Masahiro Yamada's avatar
      flash: complete CONFIG_SYS_NO_FLASH move with renaming · e856bdcf
      Masahiro Yamada authored
      
      We repeated partial moves for CONFIG_SYS_NO_FLASH, but this is
      not completed. Finish this work by the tool.
      
      During this move, let's rename it to CONFIG_MTD_NOR_FLASH.
      Actually, we have more instances of "#ifndef CONFIG_SYS_NO_FLASH"
      than those of "#ifdef CONFIG_SYS_NO_FLASH".  Flipping the logic will
      make the code more readable.  Besides, negative meaning symbols do
      not fit in obj-$(CONFIG_...) style Makefiles.
      
      This commit was created as follows:
      
      [1] Edit "default n" to "default y" in the config entry in
          common/Kconfig.
      
      [2] Run "tools/moveconfig.py -y -r HEAD SYS_NO_FLASH"
      
      [3] Rename the instances in defconfigs by the following:
        find . -path './configs/*_defconfig' | xargs sed -i \
        -e '/CONFIG_SYS_NO_FLASH=y/d' \
        -e 's/# CONFIG_SYS_NO_FLASH is not set/CONFIG_MTD_NOR_FLASH=y/'
      
      [4] Change the conditionals by the following:
        find . -name '*.[ch]' | xargs sed -i \
        -e 's/ifndef CONFIG_SYS_NO_FLASH/ifdef CONFIG_MTD_NOR_FLASH/' \
        -e 's/ifdef CONFIG_SYS_NO_FLASH/ifndef CONFIG_MTD_NOR_FLASH/' \
        -e 's/!defined(CONFIG_SYS_NO_FLASH)/defined(CONFIG_MTD_NOR_FLASH)/' \
        -e 's/defined(CONFIG_SYS_NO_FLASH)/!defined(CONFIG_MTD_NOR_FLASH)/'
      
      [5] Modify the following manually
        - Rename the rest of instances
        - Remove the description from README
        - Create the new Kconfig entry in drivers/mtd/Kconfig
        - Remove the old Kconfig entry from common/Kconfig
        - Remove the garbage comments from include/configs/*.h
      
      Signed-off-by: default avatarMasahiro Yamada <yamada.masahiro@socionext.com>
      e856bdcf
  5. Jan 24, 2017
  6. Jan 22, 2017
    • Masahiro Yamada's avatar
      ARM: uniphier: add uniphier_v8_defconfig · 82b3d98b
      Masahiro Yamada authored
      
      This defconfig does not support SPL.  If you use this, the basic
      SoC initialization must be done in firmware that runs before U-Boot.
      (Generally, ARM Trusted Firmware is expected to do this job).
      
      Signed-off-by: default avatarMasahiro Yamada <yamada.masahiro@socionext.com>
      82b3d98b
    • Masahiro Yamada's avatar
      ARM: uniphier: make SPL optional for ARVv8 SoCs · 561ca649
      Masahiro Yamada authored
      
      We may want to run different firmware before running U-Boot.  For
      example, ARM Trusted Firmware runs before U-Boot, making U-Boot
      a non-secure world boot loader.  In this case, the SoC might be
      initialized there, which enables us to skip SPL entirely.
      
      This commit removes "select SPL" to make it configurable.  This
      also enables the Multi SoC support for the UniPhier ARMv8 SoCs.
      (CONFIG_ARCH_UNIPHIER_V8_MULTI)  Thanks to the driver model and
      Device Tree, the U-Boot proper part is now written in a generic way.
      The board/SoC parameters reside in DT.  The Multi SoC support
      increases the memory footprint a bit, but the U-Boot proper does
      not have strict memory constraint.  This will mitigate the per-SoC
      (sometimes per-board) defconfig burden.
      
      Signed-off-by: default avatarMasahiro Yamada <yamada.masahiro@socionext.com>
      561ca649
  7. Jan 21, 2017
  8. Jan 17, 2017
  9. Dec 29, 2016
    • 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
  10. Dec 09, 2016
  11. Oct 18, 2016
  12. Sep 22, 2016
  13. Sep 19, 2016
  14. Sep 18, 2016
  15. Sep 16, 2016
  16. Sep 07, 2016
  17. Aug 28, 2016
  18. Jul 26, 2016
  19. Jun 19, 2016
  20. Jun 09, 2016
  21. Apr 26, 2016
  22. Apr 24, 2016
  23. Mar 22, 2016
  24. Mar 14, 2016
  25. Feb 28, 2016
  26. Dec 22, 2015
  27. Sep 28, 2015
  28. Sep 24, 2015
Loading