Skip to content
Snippets Groups Projects
  1. Oct 08, 2019
  2. Aug 02, 2019
  3. Mar 25, 2019
  4. Oct 19, 2018
  5. Aug 17, 2018
  6. Jul 22, 2018
  7. Jul 19, 2018
  8. May 07, 2018
    • Tom Rini's avatar
      SPDX: Convert all of our single license tags to Linux Kernel style · 83d290c5
      Tom Rini authored
      
      When U-Boot started using SPDX tags we were among the early adopters and
      there weren't a lot of other examples to borrow from.  So we picked the
      area of the file that usually had a full license text and replaced it
      with an appropriate SPDX-License-Identifier: entry.  Since then, the
      Linux Kernel has adopted SPDX tags and they place it as the very first
      line in a file (except where shebangs are used, then it's second line)
      and with slightly different comment styles than us.
      
      In part due to community overlap, in part due to better tag visibility
      and in part for other minor reasons, switch over to that style.
      
      This commit changes all instances where we have a single declared
      license in the tag as both the before and after are identical in tag
      contents.  There's also a few places where I found we did not have a tag
      and have introduced one.
      
      Signed-off-by: default avatarTom Rini <trini@konsulko.com>
      83d290c5
  9. Apr 27, 2018
    • Adam Ford's avatar
      Convert CONFIG_SPI to Kconfig · f1b1f770
      Adam Ford authored
      
      This converts the following to Kconfig:
         CONFIG_SPI
      
      This partly involves updating code that assumes that CONFIG_SPI implies
      things that are specific to the MPC8xx SPI driver.  For now, just update
      the CONFIG tests.  This also involves reworking the default for
      CONFIG_SYS_DEF_EEPROM_ADDR so that we don't set it when we cannot make a
      reasonable default, as it does not cause any compile failures.
      
      Signed-off-by: default avatarAdam Ford <aford173@gmail.com>
      Signed-off-by: default avatarTom Rini <trini@konsulko.com>
      f1b1f770
  10. Apr 08, 2018
  11. Mar 01, 2018
  12. Feb 24, 2018
  13. Feb 14, 2018
    • Tom Rini's avatar
      configs: Migrate CONFIG_SPL_FRAMEWORK · 75670c81
      Tom Rini authored
      
      Migrate the option CONFIG_SPL_FRAMEWORK and make this gate most of the
      current set of options we have in Kconfig.  We will need to have some
      options available for SPL and !SPL_FRAMEWORK so this is important.  In a
      few cases we re-order existing options so that we have less escapes from
      the SPL_FRAMEWORK guard.
      
      Signed-off-by: default avatarTom Rini <trini@konsulko.com>
      75670c81
  14. Jan 30, 2018
  15. Nov 05, 2017
  16. Sep 03, 2017
  17. Aug 14, 2017
  18. Aug 13, 2017
  19. Aug 11, 2017
  20. Aug 08, 2017
  21. Aug 07, 2017
  22. Jul 26, 2017
    • Simon Glass's avatar
      Convert CONFIG_ENV_IS_IN_SPI_FLASH to Kconfig · 91c868fe
      Simon Glass authored
      
      This converts the following to Kconfig:
         CONFIG_ENV_IS_IN_SPI_FLASH
      
      Signed-off-by: default avatarSimon Glass <sjg@chromium.org>
      91c868fe
    • Simon Glass's avatar
      Convert CONFIG_ENV_IS_IN_FLASH to Kconfig · 85fc970d
      Simon Glass authored
      
      This converts the following to Kconfig:
         CONFIG_ENV_IS_IN_FLASH
      
      Signed-off-by: default avatarSimon Glass <sjg@chromium.org>
      85fc970d
    • Simon Glass's avatar
      Convert CONFIG_ENV_IS_IN_MMC/NAND/UBI and NOWHERE to Kconfig · 2be29653
      Simon Glass authored
      
      This converts the following to Kconfig:
         CONFIG_ENV_IS_IN_MMC
         CONFIG_ENV_IS_IN_NAND
         CONFIG_ENV_IS_IN_UBI
         CONFIG_ENV_IS_NOWHERE
      
      In fact this already exists for sunxi as a 'choice' config. However not
      all the choices are available in Kconfig yet so we cannot use that. It
      would lead to more than one option being set.
      
      In addition, one purpose of this series is to allow the environment to be
      stored in more than one place. So the existing choice is converted to a
      normal config allowing each option to be set independently.
      
      There are not many opportunities for Kconfig updates to reduce the size of
      this patch. This was tested with
      
         ./tools/moveconfig.py -i CONFIG_ENV_IS_IN_MMC
      
      And then manual updates.  This is because for CHAIN_OF_TRUST boards they
      can only have ENV_IS_NOWHERE set, so we enforce that via Kconfig logic
      now.
      
      Signed-off-by: default avatarSimon Glass <sjg@chromium.org>
      Signed-off-by: default avatarTom Rini <trini@konsulko.com>
      2be29653
  23. Jul 25, 2017
  24. May 22, 2017
  25. Mar 19, 2017
  26. 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
  27. Jan 21, 2017
  28. Jan 14, 2017
Loading