1. 26 7月, 2017 2 次提交
    • S
      Convert CONFIG_ENV_IS_IN_NVRAM to Kconfig · 88b233a3
      Simon Glass 提交于
      This converts the following to Kconfig:
         CONFIG_ENV_IS_IN_NVRAM
      Signed-off-by: NSimon Glass <sjg@chromium.org>
      88b233a3
    • S
      Convert CONFIG_ENV_IS_IN_MMC/NAND/UBI and NOWHERE to Kconfig · 2be29653
      Simon Glass 提交于
      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: NSimon Glass <sjg@chromium.org>
      Signed-off-by: NTom Rini <trini@konsulko.com>
      2be29653
  2. 25 7月, 2017 1 次提交
  3. 23 7月, 2017 1 次提交
    • C
      powerpc: Remove unneccessary #ifdefs in reginfo · f3603b43
      Christophe Leroy 提交于
      reginfo command is calling mpc8xx_reginfo(), mpc85xx_reginfo()
      or mpc86xx_reginfo() based on CONFIG_ symbol.
      As those 3 functions can't me defined at the same time, let's
      rename them print_reginfo() to avoid the #ifdefs
      The name is kept generic as it is not at all dependent on
      powerpc arch and any other arch could want to also print
      such information.
      
      In addition, as the Makefile compiles cmd/reginfo.c only when
      CONFIG_CMD_REGINFO is set, there is no need to enclose the U_BOOT_CMD
      definition inside a #ifdef CONFIG_CMD_REGINFO
      
      Lets all remove the #ifdefs around the U_BOOT_CMD as this
      file is only compiled when CONFIG_CMD_REGINFO is defined
      
      Finally, this is a PowerPC-only command, disable it on a number of
      non-PowerPC platforms.
      Signed-off-by: NChristophe Leroy <christophe.leroy@c-s.fr>
      Signed-off-by: NTom Rini <trini@konsulko.com>
      f3603b43
  4. 23 5月, 2017 2 次提交
  5. 15 5月, 2017 1 次提交
  6. 01 5月, 2017 1 次提交
  7. 20 3月, 2017 1 次提交
  8. 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
  9. 27 9月, 2016 1 次提交
  10. 10 6月, 2016 1 次提交
  11. 26 4月, 2016 3 次提交
  12. 20 1月, 2016 1 次提交
  13. 25 11月, 2015 1 次提交
  14. 21 10月, 2015 1 次提交
  15. 13 8月, 2015 1 次提交
    • N
      kconfig: add config option for shell prompt · 181bd9dc
      Nikita Kiryanov 提交于
      Add option to set shell prompt string from menuconfig and migrate
      boards globally.
      
      The migration is done as follows:
      - Boards that explicitly and unconditionally set CONFIG_SYS_PROMPT had the
        entry moved to their defconfig files.
      - Boards that defined some kind of #ifdef logic which selects the
        CONFIG_SYS_PROMPT (for example qemu-mips) got an #undef CONFIG_SYS_PROMPT
        right before the #ifdef logic and were left alone.
      - This change forces CONFIG_SYS_PROMPT to be a per board decision, and thus
        CONFIG_SYS_PROMPT was removed from all <soc>_common.h and <arch>_common.h
        files. This results in a streamlined default value across platforms, and
        includes the following files: spear-common, sunxi-common, mv-common,
        ti_armv7_common, tegra-common, at91-sama5_common, and zynq-common.
      - Boards that relied on <arch/soc>_common.h values of CONFIG_SYS_PROMPT were
        not updated in their respective defconfig files under the assumption that
        since they did not explicitly define a value, they're fine with whatever
        the default is.
      - On the other hand, boards that relied on a value defined in some
        <boards>_common.h file such as woodburn_common, rpi-common,
        bur_am335x_common, ls2085a_common, siemens_am33x_common, and
        omap3_evm_common, had their values moved to the respective defconfig files.
      - The define V_PROMPT was removed, since it is not used anywhere except for
        assigning a value for CONFIG_SYS_PROMPT.
      
      Cc: Tom Rini <trini@konsulko.com>
      Cc: Masahiro Yamada <yamada.m@jp.panasonic.com>
      Cc: Stefano Babic <sbabic@denx.de>
      Cc: Igor Grinberg <grinberg@compulab.co.il>
      Signed-off-by: NNikita Kiryanov <nikita@compulab.co.il>
      [trini: Add spring, sniper, smartweb to conversion]
      Signed-off-by: NTom Rini <trini@konsulko.com>
      181bd9dc
  16. 26 6月, 2015 2 次提交
  17. 02 6月, 2015 1 次提交
  18. 01 6月, 2015 1 次提交
  19. 20 5月, 2015 1 次提交
  20. 31 3月, 2015 1 次提交
  21. 28 3月, 2015 1 次提交
  22. 20 2月, 2014 2 次提交
  23. 05 11月, 2013 1 次提交
  24. 15 10月, 2013 1 次提交
  25. 24 7月, 2013 1 次提交
  26. 23 7月, 2013 2 次提交
  27. 29 10月, 2012 1 次提交
  28. 24 10月, 2012 1 次提交