1. 22 Jul, 2020 3 commits
  2. 07 Jul, 2020 1 commit
    • Jagan Teki's avatar
      arm64: dts: rockchip: Add Radxa Rock Pi N10 initial support · b1fccd3c
      Jagan Teki authored and Kever Yang's avatar Kever Yang committed
      
      
      Rock Pi N10 is a Rockchip RK3399Pro based SBC, which has
      - VMARC RK3399Pro SOM (as per SMARC standard) from Vamrs.
      - Compatible carrier board from Radxa.
      
      VAMRC RK3399Pro SOM need to mount on top of radxa dalang
      carrier board for making Rock Pi N10 SBC.
      
      So, add initial support for Rock Pi N10 by including rk3399,
      rk3399pro vamrc-som and raxda dalang carrier board dtsi files.
      
      rk3399pro-rock-pi-n10.dts was synced from linux-next v5.7-rc1.
      
      Tested
      - ROCK PI N10 Model B
      - ROCK PI N10 Model C
      - Boot from SD
      Signed-off-by: Jagan Teki's avatarJagan Teki <jagan@amarulasolutions.com>
      Reviewed-by: Kever Yang's avatarKever Yang <kever.yang@rock-chips.com>
      b1fccd3c
  3. 20 Feb, 2020 1 commit
  4. 30 Jan, 2020 1 commit
  5. 22 Jan, 2020 1 commit
  6. 20 Nov, 2019 2 commits
    • 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
    • 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: Tom Rini's avatarTom Rini <trini@konsulko.com>
      8d8ee47e
  7. 10 Nov, 2019 2 commits
    • Kever Yang's avatar
      rockchip: rk3399: update SPL_STACK_R_ADDR · 006ab58d
      Kever Yang authored
      
      
      Use the same SPL_STACK_R_ADDR in Kconfig instead of each board config;
      default to 0x4000000(64MB) instead of 0x80000(512KB) for this address
      can support all the SoCs including those may have only 64MB memory, and
      also reserve enough space for atf, kernel(in falcon mode) loading.
      
      After the ATF entry move to 0x40000, the stack from 0x80000 may be override
      when loading ATF bl31.
      Signed-off-by: Kever Yang's avatarKever Yang <kever.yang@rock-chips.com>
      006ab58d
    • Kever Yang's avatar
      rockchip: rk3399: defconfig: no need to reserve IRAM for SPL · 5ce94c74
      Kever Yang authored
      
      
      We use to reserve IRAM to avoid the SPL text overlap with ATF M0 code,
      and when we introduce the TPL, the SPL space is in DRAM, we reserve
      space to avoid SPL text overlap with ATF bl31.
      
      Now we decide to move ATF entry point to 0x40000 instead of 0x1000,
      so that the SPL can have 0x4000 as code size and no need to reserve
      space or relocate before loading ATF.
      
      The mainline ATF has update since:
      0aad563c rockchip: Update BL31_BASE to 0x40000
      Signed-off-by: Kever Yang's avatarKever Yang <kever.yang@rock-chips.com>
      5ce94c74
  8. 07 Nov, 2019 1 commit
  9. 23 Aug, 2019 1 commit
  10. 14 Aug, 2019 1 commit
  11. 20 Jul, 2019 2 commits
  12. 30 May, 2019 1 commit
  13. 26 May, 2019 1 commit
  14. 08 May, 2019 3 commits
  15. 30 Apr, 2019 3 commits
  16. 25 Mar, 2019 1 commit
  17. 01 Feb, 2019 1 commit
  18. 07 Jan, 2019 1 commit
  19. 03 Sep, 2018 1 commit
  20. 16 Aug, 2018 1 commit
    • 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: Tom Rini's avatarTom Rini <trini@konsulko.com>
      86cf1c82
  21. 20 Jul, 2018 1 commit
  22. 04 Jun, 2018 1 commit
  23. 25 Apr, 2018 1 commit
  24. 08 Apr, 2018 1 commit
  25. 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
  26. 03 Jan, 2018 1 commit
    • Philipp Tomsich's avatar
      rockchip: firefly-rk3399: enable SPL_ATF_NO_PLATFORM_PARAM · e2a75f02
      Philipp Tomsich authored
      
      
      The Rockchip-released ATF for the Firefly apparently (i.e. Kever
      reported this) does not tolerate a FDT being passed as the platform
      parameter and will run into a hard stop.
      
      To work around this limitation in the ATF parameter handling, we
      enable SPL_ATF_NO_PLATFORM_PARAM (which will force passing NULL for
      the platform parameters).
      
      Note that this only affects this platform, as the ATF releases for the
      RK3368 and RK3399 have always either ignored the platform parameter
      (i.e. before the FDT-based parameters were supported) or support
      receiving a pointer to a FDT.
      Signed-off-by: Philipp Tomsich's avatarPhilipp Tomsich <philipp.tomsich@theobroma-systems.com>
      Reviewed-by: Kever Yang's avatarKever Yang <kever.yang@rock-chips.com>
      e2a75f02
  27. 18 Dec, 2017 2 commits
  28. 25 Nov, 2017 1 commit
  29. 07 Nov, 2017 1 commit
  30. 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