Skip to content
Snippets Groups Projects
  1. Feb 27, 2020
  2. Jan 22, 2020
  3. Jan 08, 2020
  4. Dec 04, 2019
  5. Nov 20, 2019
    • 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.com
      Signed-off-by: default avatarTom Rini <trini@konsulko.com>
      Acked-by: default avatarJoe Hershberger <joe.hershberger@ni.com>
      Reviewed-by: default avatarSimon Goldschmidt <simon.k.r.goldschmidt@gmail.com>
      a09fea1d
    • Tom Rini's avatar
      env: Add CONFIG_SYS_RELOC_GD_ENV_ADDR symbol · 8d8ee47e
      Tom Rini authored
      
      Today in initr_reloc_global_data() we use some non-obvious tests to
      determine if we need to relocate the env_addr within gd or not.  In
      order to facilitate migration of other symbols to Kconfig we need to
      introduce a new symbol for this particular use case.
      
      Cc: Wolfgang Denk <wd@denx.de>
      Cc: Joe Hershberger <joe.hershberger@ni.com>
      Signed-off-by: default avatarTom Rini <trini@konsulko.com>
      8d8ee47e
  6. Jul 10, 2019
  7. May 04, 2019
  8. Apr 30, 2019
  9. Apr 16, 2019
  10. Feb 23, 2019
  11. Jan 07, 2019
  12. Dec 29, 2018
  13. Nov 14, 2018
  14. Oct 19, 2018
  15. Sep 03, 2018
  16. Aug 16, 2018
    • Tom Rini's avatar
      configs: Migrate CONFIG_NR_DRAM_BANKS · 86cf1c82
      Tom Rini authored
      
      We have the following cases:
      - CONFIG_NR_DRAM_BANKS was defined, migrate normally
      - CONFIG_NR_DRAM_BANKS_MAX was defined and then used for
        CONFIG_NR_DRAM_BANKS after a check, just migrate it over now.
      - CONFIG_NR_DRAM_BANKS was very oddly defined on p2771-0000-* (to 1024 +
        2), set this to 8.
      
      Signed-off-by: default avatarTom Rini <trini@konsulko.com>
      86cf1c82
  17. Aug 08, 2018
  18. Jul 24, 2018
  19. Jul 22, 2018
  20. Jun 22, 2018
  21. May 08, 2018
  22. Feb 24, 2018
  23. Feb 11, 2018
  24. Feb 06, 2018
    • Tuomas Tynkkynen's avatar
      cmd: Make CONFIG_CMD_FPGA depend on CONFIG_FPGA · a4fa8114
      Tuomas Tynkkynen authored
      
      cmd/Makefile has:
      
      ifdef CONFIG_FPGA
      obj-$(CONFIG_CMD_FPGA) += fpga.o
      endif
      
      which means that if CONFIG_FPGA is not set, CONFIG_CMD_FPGA silently
      does nothing. Let's remove that Makefile conditional and instead express
      this equivalent dependency in Kconfig, so a lot of redundant
      
       # CONFIG_CMD_FPGA is not set
      
      can be removed from board defconfigs that don't actually have an FPGA.
      
      Signed-off-by: default avatarTuomas Tynkkynen <tuomas@tuxera.com>
      a4fa8114
  25. Jan 27, 2018
  26. Jan 09, 2018
    • Masahiro Yamada's avatar
      ARM: uniphier: enable CONFIG_MMC_SDHCI_SDMA for ARMv8 SoCs · 3281532a
      Masahiro Yamada authored
      
      I did not enable SDMA when I added sdhci-cadence support because LD20
      boards are equipped with a large amount memory beyond 32 bit address
      range, but SDMA does not support the 64bit address.  U-Boot relocates
      itself to the end of effectively available RAM.  This would make the
      MMC enumeration fail because the buffer for EXT_CSD allocated in the
      stack would go too high, then SDMA would fail to transfer data.
      
      Recent SDHCI-compatible controllers support ADMA, but unfortunately
      U-Boot does not support ADMA.
      
      In the previous commit, I hided the DRAM area that exceeds the 32 bit
      address range.  Now, I can enable CONFIG_MMC_SDHCI_SDMA.
      
      Signed-off-by: default avatarMasahiro Yamada <yamada.masahiro@socionext.com>
      3281532a
  27. Dec 26, 2017
  28. Dec 19, 2017
  29. Nov 28, 2017
  30. Oct 21, 2017
  31. Oct 15, 2017
  32. Oct 10, 2017
    • Tuomas Tynkkynen's avatar
      cmd: Toggle the default value of CONFIG_CMD_IMLS · ad12dc18
      Tuomas Tynkkynen authored
      
      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
  33. Sep 02, 2017
  34. Aug 30, 2017
  35. Aug 15, 2017
Loading