1. 09 4月, 2018 1 次提交
  2. 16 3月, 2018 1 次提交
    • T
      Convert all of CONFIG_CONS_INDEX to Kconfig · 6f6b7cfa
      Tom Rini 提交于
      This converts the following to Kconfig:
         CONFIG_CONS_INDEX
      
      We have existing entries for this option in a number of places, with
      different guards on them.  They're also sometimes used for things not
      directly inside of the serial driver.  First, introduce a new symbol to
      guard the use of CONFIG_CONS_INDEX, so that in the case where we don't
      need this for the serial driver, but for some other use, we can still do
      it.  Next, consolidate all of these into the single entry in
      drivers/serial/Kconfig.  Finally, introduce CONS_INDEX_[023456] so that
      we can imply a correct value here to make the defconfig side of this
      smaller.
      Signed-off-by: NAdam Ford <aford173@gmail.com>
      [trini: Rework a lot of the logic here, such that I took authorship from
      Adam, but kept his S-o-B line]
      Signed-off-by: NTom Rini <trini@konsulko.com>
      6f6b7cfa
  3. 24 2月, 2018 1 次提交
  4. 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
  5. 20 1月, 2018 1 次提交
    • T
      powerpc: Drop unreferenced CONFIG_* defines · 7dd97af5
      Tuomas Tynkkynen 提交于
      The following config symbols are only defined once and never referenced
      anywhere else:
      
      CONFIG_CYRUS
      CONFIG_IDS8313
      CONFIG_MPC8308_P1M
      CONFIG_MPC8308RDB
      CONFIG_MPC8349EMDS
      CONFIG_MPC8349ITXGP
      CONFIG_SBC8349
      CONFIG_SBC8548
      CONFIG_SBC8641D
      CONFIG_TQM834X
      CONFIG_VE8313
      CONFIG_XPEDITE5140
      CONFIG_XPEDITE5200
      CONFIG_XPEDITE550X
      
      Most of them are config symbols named after the respective boards which
      seems to have been a standard practice at some point.
      Signed-off-by: NTuomas Tynkkynen <tuomas@tuxera.com>
      Acked-by: NMario Six <mario.six@gdsys.cc>
      7dd97af5
  6. 04 9月, 2017 4 次提交
  7. 15 8月, 2017 1 次提交
  8. 12 8月, 2017 1 次提交
  9. 26 7月, 2017 2 次提交
    • S
      Convert CONFIG_ENV_IS_IN_FLASH to Kconfig · 85fc970d
      Simon Glass 提交于
      This converts the following to Kconfig:
         CONFIG_ENV_IS_IN_FLASH
      Signed-off-by: NSimon Glass <sjg@chromium.org>
      85fc970d
    • 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
  10. 20 3月, 2017 1 次提交
  11. 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
  12. 26 1月, 2017 1 次提交
  13. 28 10月, 2016 1 次提交
  14. 12 10月, 2016 1 次提交
  15. 10 6月, 2016 1 次提交
  16. 26 4月, 2016 4 次提交
  17. 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
  18. 22 11月, 2015 1 次提交
  19. 25 10月, 2015 1 次提交
  20. 26 6月, 2015 1 次提交
  21. 18 3月, 2015 1 次提交
  22. 25 1月, 2014 1 次提交
  23. 13 12月, 2013 1 次提交
  24. 05 11月, 2013 2 次提交
  25. 15 10月, 2013 1 次提交
  26. 24 7月, 2013 1 次提交
  27. 23 7月, 2013 2 次提交
  28. 08 6月, 2013 1 次提交
    • G
      pci: introduce CONFIG_PCI_INDIRECT_BRIDGE option · 842033e6
      Gabor Juhos 提交于
      The pci_indirect.c file is always compiled when
      CONFIG_PCI is defined although the indirect PCI
      bridge support is not needed by every board.
      
      Introduce a new CONFIG_PCI_INDIRECT_BRIDGE
      config option and only compile indirect PCI
      bridge support if this options is enabled.
      
      Also add the new option into the configuration
      files of the boards which needs that.
      
      Compile tested for powerpc, x86, arm and nds32.
      MAKEALL results:
      
      powerpc:
        --------------------- SUMMARY ----------------------------
        Boards compiled: 641
        Boards with warnings but no errors: 2 ( ELPPC MPC8323ERDB )
        ----------------------------------------------------------
        Note: the warnings for ELPPC and MPC8323ERDB are present even
        without the actual patch.
      
      x86:
        --------------------- SUMMARY ----------------------------
        Boards compiled: 1
        ----------------------------------------------------------
      
      arm:
        --------------------- SUMMARY ----------------------------
        Boards compiled: 311
        ----------------------------------------------------------
      
      nds32:
        --------------------- SUMMARY ----------------------------
        Boards compiled: 3
        ----------------------------------------------------------
      
      Cc: Tom Rini <trini@ti.com>
      Cc: Daniel Schwierzeck <daniel.schwierzeck@googlemail.com>
      Signed-off-by: NGabor Juhos <juhosg@openwrt.org>
      842033e6
  29. 04 7月, 2012 1 次提交
  30. 21 6月, 2012 1 次提交