1. 28 Apr, 2020 1 commit
    • Tom Rini's avatar
      Convert CONFIG_PHYLIB et al to Kconfig · 306881a0
      Tom Rini authored
      
      
      This converts the following to Kconfig:
         CONFIG_PHYLIB
         CONFIG_BITBANGMII
         CONFIG_MV88E6352_SWITCH
         CONFIG_MV88E61XX_SWITCH
         CONFIG_PHYLIB_10G
         CONFIG_PHY_AQUANTIA
         CONFIG_PHY_ATHEROS
         CONFIG_PHY_BROADCOM
         CONFIG_PHY_CORTINA
         CONFIG_PHY_DAVICOM
         CONFIG_PHY_ET1011C
         CONFIG_PHY_LXT
         CONFIG_PHY_MARVELL
         CONFIG_PHY_MICREL
         CONFIG_PHY_NATSEMI
         CONFIG_PHY_REALTEK
         CONFIG_RTL8211X_PHY_FORCE_MASTER
         CONFIG_PHY_SMSC
         CONFIG_PHY_TERANETICS
         CONFIG_PHY_TI
         CONFIG_PHY_VITESSE
         CONFIG_PHY_XILINX
      Signed-off-by: Tom Rini's avatarTom Rini <trini@konsulko.com>
      306881a0
  2. 23 Dec, 2019 1 commit
  3. 04 Dec, 2019 2 commits
  4. 03 Dec, 2019 1 commit
  5. 25 Nov, 2019 1 commit
  6. 20 Nov, 2019 1 commit
    • Tom Rini's avatar
      env: Finish migration of common ENV options · a09fea1d
      Tom Rini authored
      - In ARMv8 NXP Layerscape platforms we also need to make use of
        CONFIG_SYS_RELOC_GD_ENV_ADDR now, do so.
      - On ENV_IS_IN_REMOTE, CONFIG_ENV_OFFSET is never used, drop the define
        to 0.
      - Add Kconfig entry for ENV_ADDR.
      - Make ENV_ADDR / ENV_OFFSET depend on the env locations that use it.
      - Add ENV_xxx_REDUND options that depend on their primary option and
        SYS_REDUNDAND_ENVIRONMENT
      - On a number of PowerPC platforms, use SPL_ENV_ADDR not CONFIG_ENV_ADDR
        for the pre-main-U-Boot environment location.
      - On ENV_IS_IN_SPI_FLASH, check not for CONFIG_ENV_ADDR being set but
        rather it being non-zero, as it will now be zero by default.
      - Rework the env_offset absolute in env/embedded.o to not use
        CONFIG_ENV_OFFSET as it was the only use of ENV_OFFSET within
        ENV_IS_IN_FLASH.
      - Migrate all platforms.
      
      Cc: Wolfgang Denk <wd@denx.de>
      Cc: Joe Hershberger <joe.hershberger@ni.com>
      Cc: Patrick Delaunay <patrick.delaunay@st.com>
      Cc: uboot-stm32@st-md-mailman.stormreply...
      a09fea1d
  7. 23 Sep, 2019 1 commit
  8. 28 Aug, 2019 1 commit
  9. 26 Aug, 2019 1 commit
  10. 26 May, 2019 1 commit
  11. 25 Mar, 2019 1 commit
  12. 19 Oct, 2018 1 commit
  13. 17 Aug, 2018 1 commit
  14. 10 Jul, 2018 1 commit
  15. 27 Apr, 2018 1 commit
    • Adam Ford's avatar
      Convert CONFIG_SPI to Kconfig · f1b1f770
      Adam Ford authored and Tom Rini's avatar Tom Rini committed
      
      
      This converts the following to Kconfig:
         CONFIG_SPI
      
      This partly involves updating code that assumes that CONFIG_SPI implies
      things that are specific to the MPC8xx SPI driver.  For now, just update
      the CONFIG tests.  This also involves reworking the default for
      CONFIG_SYS_DEF_EEPROM_ADDR so that we don't set it when we cannot make a
      reasonable default, as it does not cause any compile failures.
      Signed-off-by: default avatarAdam Ford <aford173@gmail.com>
      Signed-off-by: Tom Rini's avatarTom Rini <trini@konsulko.com>
      f1b1f770
  16. 08 Apr, 2018 2 commits
  17. 11 Feb, 2018 1 commit
    • Tom Rini's avatar
      configs: Migrate CONFIG_SYS_TEXT_BASE · 278b90ce
      Tom Rini authored
      
      
      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: Tom Rini's avatarTom Rini <trini@konsulko.com>
      278b90ce
  18. 10 Oct, 2017 1 commit
    • Tuomas Tynkkynen's avatar
      cmd: Toggle the default value of CONFIG_CMD_IMLS · ad12dc18
      Tuomas Tynkkynen authored and Tom Rini's avatar Tom Rini committed
      
      
      Having this as a 'default y' is rather annoying because it doesn't
      actually compile unless other options are defined in the board header:
      
      ../cmd/bootm.c: In function 'do_imls_nor':
      ../cmd/bootm.c:330:7: error: 'CONFIG_SYS_MAX_FLASH_BANKS' undeclared (first use in this function); did you mean 'CONFIG_SYS_MAX_FLASH_SECT'?
         i < CONFIG_SYS_MAX_FLASH_BANKS; ++i, ++info) {
      
      Make it 'default n' so people who develop new boards that start from a
      blank defconfig have one less compilation failure to debug.
      Signed-off-by: default avatarTuomas Tynkkynen <tuomas.tynkkynen@iki.fi>
      ad12dc18
  19. 28 Aug, 2017 1 commit
  20. 15 Aug, 2017 1 commit
  21. 08 Aug, 2017 1 commit
  22. 07 Aug, 2017 1 commit
  23. 26 Jul, 2017 1 commit
  24. 09 Mar, 2017 1 commit
    • Tom Rini's avatar
      Freescale/NXP: Migrate CONFIG_FSL_CAAM to defconfigs · 28522678
      Tom Rini authored
      
      
      In some cases this is absolutely required, so select this for some secure
      features.  This also requires migration of RSA_FREESCALE_EXP
      
      Cc: Ruchika Gupta <ruchika.gupta@nxp.com>
      Cc: Poonam Aggrwal <poonam.aggrwal@freescale.com>
      Cc: Naveen Burmi <NaveenBurmi@freescale.com>
      Cc: Po Liu <po.liu@freescale.com>
      Cc: Shengzhou Liu <Shengzhou.Liu@freescale.com>
      Cc: Priyanka Jain <Priyanka.Jain@freescale.com>
      Cc: Sumit Garg <sumit.garg@nxp.com>
      Cc: Shaohui Xie <Shaohui.Xie@freescale.com>
      Cc: Chunhe Lan <Chunhe.Lan@freescale.com>
      Cc: Feng Li <feng.li_2@nxp.com>
      Cc: Alison Wang <alison.wang@freescale.com>
      Cc: Mingkai Hu <Mingkai.Hu@freescale.com>
      Cc: York Sun <york.sun@nxp.com>
      Cc: Saksham Jain <saksham.jain@nxp.freescale.com>
      Cc: Prabhakar Kushwaha <prabhakar.kushwaha@nxp.com>
      Signed-off-by: Tom Rini's avatarTom Rini <trini@konsulko.com>
      28522678
  25. 12 Feb, 2017 1 commit
    • Masahiro Yamada's avatar
      flash: complete CONFIG_SYS_NO_FLASH move with renaming · e856bdcf
      Masahiro Yamada authored and Tom Rini's avatar Tom Rini committed
      
      
      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: Masahiro Yamada's avatarMasahiro Yamada <yamada.masahiro@socionext.com>
      e856bdcf
  26. 24 Nov, 2016 1 commit
  27. 09 Sep, 2016 1 commit
  28. 09 Jun, 2016 1 commit
  29. 25 Apr, 2016 3 commits
  30. 14 Mar, 2016 2 commits
    • Simon Glass's avatar
      Kconfig: Move CONFIG_FIT and related options to Kconfig · 73223f0e
      Simon Glass authored and Tom Rini's avatar Tom Rini committed
      
      
      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: Simon Glass's avatarSimon Glass <sjg@chromium.org>
      [trini: Add microblaze change, various configs/ re-applies]
      Signed-off-by: Tom Rini's avatarTom Rini <trini@konsulko.com>
      73223f0e
    • Simon Glass's avatar
      Move CONFIG_OF_LIBFDT to Kconfig · 69e173eb
      Simon Glass authored and Tom Rini's avatar Tom Rini committed
      
      
      Move this option to Kconfig and tidy up existing boards.
      Signed-off-by: Simon Glass's avatarSimon Glass <sjg@chromium.org>
      69e173eb
  31. 25 Nov, 2015 2 commits
  32. 22 Nov, 2015 1 commit
  33. 21 Aug, 2015 1 commit
  34. 26 Jun, 2015 1 commit