1. 04 6月, 2016 1 次提交
    • M
      usb: move CONFIG_USB_XHCI to Kconfig with renaming · 0a8cc1a3
      Masahiro Yamada 提交于
      Move CONFIG_USB_XHCI to defconfig files for all boards, renaming it
      into CONFIG_USB_XHCI_HCD.
      
      As commented in the help of "config USB_XHCI" entry, this has been
      a TODO for a long time; now CONFIG_USB_XHCI_HCD and CONFIG_USB_XHCI
      have been unified in favor of the former.
      
      Note:
      Some boards define CONFIG_USB_XHCI in their headers without
      CONFIG_USB, which does not meet the "depends on" in Kconfig.
      I added CONFIG_USB=y for those boards when converting.
      Otherwise, they would fail to build.
      Signed-off-by: NMasahiro Yamada <yamada.masahiro@socionext.com>
      0a8cc1a3
  2. 26 4月, 2016 3 次提交
  3. 15 3月, 2016 1 次提交
    • 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
  4. 25 11月, 2015 2 次提交
  5. 19 11月, 2015 1 次提交
  6. 23 10月, 2015 1 次提交
  7. 28 9月, 2015 1 次提交
  8. 31 8月, 2015 3 次提交
  9. 22 8月, 2015 1 次提交
  10. 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
  11. 06 8月, 2015 2 次提交
    • S
      exynos: Enable new features for exynos5 boards · d4061aa0
      Simon Glass 提交于
      Enable PMICs, regulators and the like so that new drivers will be made
      available.
      Signed-off-by: NSimon Glass <sjg@chromium.org>
      d4061aa0
    • S
      dm: cros_ec: Convert the I2C tunnel code to use driver model · cc456bd7
      Simon Glass 提交于
      The Chrome OS EC supports tunnelling through to an I2C bus on the EC. This
      currently uses a copy of the I2C command code and a special 'crosec'
      sub-command.
      
      With driver model we can define an I2C bus which tunnels through to the EC,
      and use the normal 'i2c' command to access it. This simplifies the code and
      removes some duplication.
      
      Add an I2C driver which tunnels through to the EC. Adjust the EC code to
      support binding child devices so that it can be set up. Adjust the existing
      I2C xfer function to fit driver model better.
      
      For now the old code remains to allow things to still work. It will be
      removed in a later patch once the new flow is fully enabled.
      Signed-off-by: NSimon Glass <sjg@chromium.org>
      cc456bd7
  12. 26 6月, 2015 2 次提交
  13. 01 6月, 2015 1 次提交
  14. 13 5月, 2015 1 次提交
  15. 16 3月, 2015 1 次提交
  16. 19 2月, 2015 1 次提交
  17. 25 9月, 2014 1 次提交
  18. 31 8月, 2014 1 次提交
  19. 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