1. 09 8月, 2017 1 次提交
  2. 29 7月, 2017 1 次提交
  3. 26 7月, 2017 1 次提交
    • 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
  4. 12 7月, 2017 1 次提交
  5. 22 5月, 2017 1 次提交
  6. 16 5月, 2017 2 次提交
  7. 15 5月, 2017 2 次提交
  8. 20 3月, 2017 1 次提交
  9. 19 11月, 2016 2 次提交
  10. 15 10月, 2016 1 次提交
  11. 17 9月, 2016 1 次提交
  12. 10 9月, 2016 1 次提交
  13. 08 8月, 2016 1 次提交
    • M
      usb: add (move) CONFIG_USB_HOST to Kconfig · 2b58e1b7
      Masahiro Yamada 提交于
      The meaning of CONFIG_USB in U-Boot is different from that in Linux.
      
      As you see in drivers/usb/Kconfig of Linux, CONFIG_USB enables the
      USB host controller support, while CONFIG_USB_SUPPORT is used to
      enable the whole of the USB sub-system.
      
      When I added CONFIG_USB into Kconfig by commit 6e7e9294 ("usb:
      add basic USB configs in Kconfig"), I planned to follow the Linux's
      convention, i.e. CONFIG_USB to enable/disable the USB host support.
      
      Then, commit 68f7c5db ("usb: Generic USB Kconfig option, that
      fits both host and gadget and comments") changed the logic of the
      CONFIG_USB to point to the whole of the USB sub-system.  As a result,
      currently we do not have an option for USB host.
      
      This commit adds CONFIG_USB_HOST, which will be useful to compile
      in the USB host support code.
      
      CONFIG_USB_HOST is not referenced at all, but strangely some boards
      define it in board headers.  I removed them because USB_HOST will be
      selected in Kconfig going forward.
      Signed-off-by: NMasahiro Yamada <yamada.masahiro@socionext.com>
      2b58e1b7
  14. 10 6月, 2016 1 次提交
  15. 21 5月, 2016 1 次提交
  16. 17 5月, 2016 1 次提交
  17. 26 4月, 2016 1 次提交
  18. 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
  19. 25 10月, 2015 1 次提交
  20. 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
  21. 26 6月, 2015 1 次提交
  22. 01 6月, 2015 1 次提交
  23. 06 1月, 2015 1 次提交
  24. 05 12月, 2014 1 次提交
  25. 09 9月, 2014 1 次提交
  26. 25 8月, 2014 1 次提交
  27. 24 5月, 2014 3 次提交