1. 21 5月, 2019 3 次提交
    • M
      powerpc: Migrate HIGH_BATS to Kconfig · 93de2530
      Mario Six 提交于
      Migrate the CONFIG_HIGH_BATS variable to Kconfig.
      Signed-off-by: NMario Six <mario.six@gdsys.cc>
      93de2530
    • M
      mpc83xx: Kconfig: Migrate HRCW to Kconfig · 21c1502a
      Mario Six 提交于
      The HRCW (hardware reset configuration word) is a constant that must be
      hard-coded into the boot loader image. So, it must be available at
      compile time, and cannot be migrated to the DT mechanism, but has to be
      kept in Kconfig.
      
      Configuration of this crucial variable should still be somewhat
      comfortable. Hence, make its fields configurable in Kconfig, and
      assemble the final value from these.
      Signed-off-by: NMario Six <mario.six@gdsys.cc>
      21c1502a
    • M
      mpc83xx: Get rid of CONFIG_83XX_CLKIN · ff3bb0c4
      Mario Six 提交于
      MPC83xx uses CONFIG_83XX_CLKIN instead of CONFIG_SYS_CLK_FREQ to set the
      system clock. To migrate the architecture, we can replace
      CONFIG_83XX_CLKIN with CONFIG_SYS_CLK_FREQ.
      
      To do this
      * replace all occurrences of CONFIG_83XX_CLKIN with CONFIG_SYS_CLK_FREQ
      * set CONFIG_SYS_CLK_FREQ to the old value of CONFIG_83XX_CLKIN in all
        MPC83xx config files
      Signed-off-by: NMario Six <mario.six@gdsys.cc>
      ff3bb0c4
  2. 20 5月, 2019 1 次提交
  3. 14 11月, 2018 1 次提交
  4. 20 10月, 2018 1 次提交
  5. 18 8月, 2018 2 次提交
    • A
      Convert CONFIG_MISC_INIT_R to Kconfig · 8ccf98b1
      Adam Ford 提交于
      This converts the following to Kconfig:
         CONFIG_MISC_INIT_R
      Signed-off-by: NAdam Ford <aford173@gmail.com>
      [trini: Update the defaults logic slightly]
      Signed-off-by: NTom Rini <trini@konsulko.com>
      8ccf98b1
    • A
      Migrate bootlimit to Kconfig · ca0d535e
      Alex Kiernan 提交于
      Migrate boards which set bootlimit in the environment to Kconfig.
      
      We exclude gurnard_defconfig which includes a bootlimit=, but doesn't set
      CONFIG_BOOTCOUNT_LIMIT, so we'd fail to include a bootlimit setting
      if we migrated it.
      
      display5_defconfig and display5_factory_defconfig share a SYS_CONFIG_NAME,
      but only display5_defconfig enables CONFIG_BOOTCOUNT_LIMIT, so we fail to
      set bootlimit= in display5_factory_defconfig. This is okay because the
      display5_factory_defconfig doesn't need to have it set, as it is only
      meant to prepare the board in the factory.
      
      Environment changes for all modified configs as seen from buildman:
      
        boards.cfg is up to date. Nothing to do.
        Summary of 3 commits for 32 boards (8 threads, 1 job per thread)
        01: Merge git://git.denx.de/u-boot-x86
               arm:  +   draco etamin rastaban pxm2 display5 thuban rut
        02: Add BOOTCOUNT_BOOTLIMIT to set reboot limit
        03: Migrate bootlimit to Kconfig
           - display5_factory: bootlimit=3
      Signed-off-by: NAlex Kiernan <alex.kiernan@gmail.com>
      Reviewed-by: NLukasz Majewski <lukma@denx.de>
      ca0d535e
  6. 23 7月, 2018 1 次提交
  7. 17 4月, 2018 1 次提交
  8. 09 4月, 2018 2 次提交
  9. 26 2月, 2018 1 次提交
    • T
      bootcount: Migrate CONFIG_SYS_BOOTCOUNT_ADDR · 39bcbb77
      Tom Rini 提交于
      Migrate the users of CONFIG_SYS_BOOTCOUNT_ADDR to Kconfig.  We can
      provide a default for BOOTCOUNT_AM33XX as that's a specific part of the
      RTC in use.  We can also provide a default for ARCH_LS1043A and
      ARCH_LS1021A as they had been previously calculated and their symbols
      are in Kconfig.  In the case of other QE-enabled platforms, they are not
      so we must update the relevant defconfig files.  The previous default
      only applied in some cases, even on a specific SoC family.
      Reviewed-by: NLukasz Majewski <lukma@denx.de>
      Reviewed-by: NAlex Kiernan <alex.kiernan@gmail.com>
      Signed-off-by: NTom Rini <trini@konsulko.com>
      39bcbb77
  10. 24 2月, 2018 1 次提交
  11. 15 2月, 2018 1 次提交
  12. 11 2月, 2018 1 次提交
    • T
      configs: Migrate CONFIG_SYS_TEXT_BASE · 278b90ce
      Tom Rini 提交于
      On the NIOS2 and Xtensa architectures, we do not have
      CONFIG_SYS_TEXT_BASE set.  This is a strict migration of the current
      values into the defconfig and removing them from the headers.
      
      I did not attempt to add more default values in and for now will leave
      that to maintainers.
      Signed-off-by: NTom Rini <trini@konsulko.com>
      278b90ce
  13. 06 11月, 2017 1 次提交
  14. 11 10月, 2017 1 次提交
    • T
      cmd: Toggle the default value of CONFIG_CMD_IMLS · ad12dc18
      Tuomas Tynkkynen 提交于
      Having this as a 'default y' is rather annoying because it doesn't
      actually compile unless other options are defined in the board header:
      
      ../cmd/bootm.c: In function 'do_imls_nor':
      ../cmd/bootm.c:330:7: error: 'CONFIG_SYS_MAX_FLASH_BANKS' undeclared (first use in this function); did you mean 'CONFIG_SYS_MAX_FLASH_SECT'?
         i < CONFIG_SYS_MAX_FLASH_BANKS; ++i, ++info) {
      
      Make it 'default n' so people who develop new boards that start from a
      blank defconfig have one less compilation failure to debug.
      Signed-off-by: NTuomas Tynkkynen <tuomas.tynkkynen@iki.fi>
      ad12dc18
  15. 25 7月, 2017 1 次提交
  16. 19 6月, 2017 1 次提交
  17. 23 5月, 2017 2 次提交
  18. 22 5月, 2017 1 次提交
  19. 14 3月, 2017 1 次提交
  20. 13 2月, 2017 1 次提交
    • M
      flash: complete CONFIG_SYS_NO_FLASH move with renaming · e856bdcf
      Masahiro Yamada 提交于
      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: NMasahiro Yamada <yamada.masahiro@socionext.com>
      e856bdcf
  21. 30 12月, 2016 1 次提交
    • 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
  22. 28 10月, 2016 1 次提交
  23. 27 9月, 2016 1 次提交
  24. 10 9月, 2016 1 次提交
  25. 26 4月, 2016 3 次提交
  26. 15 3月, 2016 2 次提交
    • S
      Kconfig: Move CONFIG_FIT and related options to Kconfig · 73223f0e
      Simon Glass 提交于
      There are already two FIT options in Kconfig but the CONFIG options are
      still in the header files. We need to do a proper move to fix this.
      
      Move these options to Kconfig and tidy up board configuration:
      
         CONFIG_FIT
         CONFIG_OF_BOARD_SETUP
         CONFIG_OF_SYSTEM_SETUP
         CONFIG_FIT_SIGNATURE
         CONFIG_FIT_BEST_MATCH
         CONFIG_FIT_VERBOSE
         CONFIG_OF_STDOUT_VIA_ALIAS
         CONFIG_RSA
      
      Unfortunately the first one is a little complicated. We need to make sure
      this option is not enabled in SPL by this change. Also this option is
      enabled automatically in the host builds by defining CONFIG_FIT in the
      image.h file. To solve this, add a new IMAGE_USE_FIT #define which can
      be used in files that are built on the host but must also build for U-Boot
      and SPL.
      
      Note: Masahiro's moveconfig.py script is amazing.
      Signed-off-by: NSimon Glass <sjg@chromium.org>
      [trini: Add microblaze change, various configs/ re-applies]
      Signed-off-by: NTom Rini <trini@konsulko.com>
      73223f0e
    • S
      Move CONFIG_OF_LIBFDT to Kconfig · 69e173eb
      Simon Glass 提交于
      Move this option to Kconfig and tidy up existing boards.
      Signed-off-by: NSimon Glass <sjg@chromium.org>
      69e173eb
  27. 22 11月, 2015 1 次提交
  28. 19 11月, 2015 1 次提交
  29. 26 6月, 2015 1 次提交
  30. 01 6月, 2015 2 次提交
  31. 13 5月, 2015 1 次提交