1. 10 8月, 2017 1 次提交
  2. 01 8月, 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. 25 7月, 2017 1 次提交
  5. 12 7月, 2017 2 次提交
  6. 10 7月, 2017 1 次提交
  7. 28 6月, 2017 1 次提交
  8. 05 6月, 2017 4 次提交
    • T
      t81xx: Migrate TI81XX/TI816X/TI814X symbols to Kconfig · 8bb687fd
      Tom Rini 提交于
      The symbol CONFIG_TI81XX is used for the parts that are common to the
      TI816x and TI814x SoCs and are not part of CONFIG_ARCH_OMAP2PLUS nor
      CONFIG_AM33XX.  It however has so few uses that we can just modify the
      code to check for both and drop the symbol. The symbols CONFIG_TI816X
      and CONFIG_TI814X are for the repective SoCs.
      Signed-off-by: NTom Rini <trini@konsulko.com>
      8bb687fd
    • T
      ti816x: Modernize the defconfig · 1d7f6ad2
      Tom Rini 提交于
      - Switch to using <configs/ti_armv7_omap.h> and family.  This lets us
        drop lots of custom defines.
      - Ensure that our default environment uses DEFAULT_LINUX_BOOT_ENV so
        that Linux will boot correctly.
      - Enable CONFIG_DISTRO_DEFAULTS
      - Switch to using CONFIG_OF_CONTROL
      - Various other cleanups to match other SoCs in the family line.
      Signed-off-by: NTom Rini <trini@konsulko.com>
      1d7f6ad2
    • T
      ti816x: Enable NAND · 77e99277
      Tom Rini 提交于
      The TI8168-EVM comes with NAND on board.  Enable it and move environment
      over there.
      Signed-off-by: NTom Rini <trini@konsulko.com>
      77e99277
    • T
      ti816x_evm: Disable CONFIG_USE_PRIVATE_LIBGCC · dab2fc28
      Tom Rini 提交于
      On this platform, we can trace a general failure to boot to enabling /
      disabling this option.  When this is enabled, we go off into the
      weeds during SPL and are unable to talk with the SD card and
      mmc_initialize() fails.
      Signed-off-by: NTom Rini <trini@konsulko.com>
      dab2fc28
  9. 28 4月, 2017 1 次提交
  10. 14 3月, 2017 1 次提交
  11. 11 1月, 2017 1 次提交
    • M
      mmc: move more driver config options to Kconfig · 1d2c0506
      Masahiro Yamada 提交于
      Move (and rename) the following CONFIG options to Kconfig:
      
        CONFIG_DAVINCI_MMC  (renamed to CONFIG_MMC_DAVINCI)
        CONFIG_OMAP_HSMMC   (renamed to CONFIG_MMC_OMAP_HS)
        CONFIG_MXC_MMC      (renamed to CONFIG_MMC_MXC)
        CONFIG_MXS_MMC      (renamed to CONFIG_MMC_MXS)
        CONFIG_TEGRA_MMC    (renamed to CONFIG_MMC_SDHCI_TEGRA)
        CONFIG_SUNXI_MMC    (renamed to CONFIG_MMC_SUNXI)
      
      They are the same option names as used in Linux.
      
      This commit was created as follows:
      
      [1] Rename the options with the following command:
      
      find . -name .git -prune -o ! -path ./scripts/config_whitelist.txt \
      -type f -print | xargs sed -i -e '
      s/CONFIG_DAVINCI_MMC/CONFIG_MMC_DAVINCI/g
      s/CONFIG_OMAP_HSMMC/CONFIG_MMC_OMAP_HS/g
      s/CONFIG_MXC_MMC/CONFIG_MMC_MXC/g
      s/CONFIG_MXS_MMC/CONFIG_MMC_MXS/g
      s/CONFIG_TEGRA_MMC/CONFIG_MMC_SDHCI_TEGRA/g
      s/CONFIG_SUNXI_MMC/CONFIG_MMC_SUNXI/g
      '
      
      [2] Commit the changes
      
      [3] Create entries in driver/mmc/Kconfig.
          (copied from Linux)
      
      [4] Move the options with the following command
      tools/moveconfig.py -y -r HEAD \
      MMC_DAVINCI MMC_OMAP_HS MMC_MXC MMC_MXS MMC_SDHCI_TEGRA MMC_SUNXI
      
      [5] Sort and align drivers/mmc/Makefile for readability
      Signed-off-by: NMasahiro Yamada <yamada.masahiro@socionext.com>
      Reviewed-by: NMarek Vasut <marex@denx.de>
      1d2c0506
  12. 19 11月, 2016 1 次提交
  13. 24 10月, 2016 1 次提交
  14. 12 10月, 2016 1 次提交
  15. 17 9月, 2016 9 次提交
  16. 10 9月, 2016 1 次提交
  17. 10 6月, 2016 1 次提交
  18. 26 4月, 2016 2 次提交
  19. 15 3月, 2016 1 次提交
  20. 22 11月, 2015 1 次提交
  21. 28 9月, 2015 1 次提交
  22. 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
  23. 26 6月, 2015 1 次提交
  24. 01 6月, 2015 1 次提交
  25. 13 5月, 2015 1 次提交
  26. 16 3月, 2015 1 次提交
  27. 30 7月, 2014 1 次提交
    • M
      kconfig: add board Kconfig and defconfig files · dd84058d
      Masahiro Yamada 提交于
      This commit adds:
       - arch/${ARCH}/Kconfig
          provide a menu to select target boards
       - board/${VENDOR}/${BOARD}/Kconfig or board/${BOARD}/Kconfig
          set CONFIG macros to the appropriate values for each board
       - configs/${TARGET_BOARD}_defconfig
          default setting of each board
      
      (This commit was automatically generated by a conversion script
      based on boards.cfg)
      
      In Linux Kernel, defconfig files are located under
      arch/${ARCH}/configs/ directory.
      It works in Linux Kernel since ARCH is always given from the
      command line for cross compile.
      
      But in U-Boot, ARCH is not given from the command line.
      Which means we cannot know ARCH until the board configuration is done.
      That is why all the "*_defconfig" files should be gathered into a
      single directory ./configs/.
      Signed-off-by: NMasahiro Yamada <yamada.m@jp.panasonic.com>
      Acked-by: NSimon Glass <sjg@chromium.org>
      dd84058d