[PATCH v3 0/3] rockchip: sdram: Fix issues observed on RK3576

Jonas Karlman jonas at kwiboo.se
Thu Jan 30 23:07:10 CET 2025


Most Rockchip AArch64 SoCs have start of DRAM at 0x0. However, the
RK3576 instead has start of DRAM at 0x40000000 and can extend continuous
beyond the 4 GiB mark.

This series fixes issues observed on a Rockchip RK3576 board testing
Heiko's RK3576 series [1].

Changes in v3:
- Fix 32-bit overflow limiting usable ram_top to max 4G

Changes in v2:
- Drop duplicate patch
- Add patch to limit gd->ram_top to max 4G
- Add patch to assign gd->ram_base in SPL
- Collect r-b tag

[1] https://patchwork.ozlabs.org/cover/2013854/

Jonas Karlman (3):
  rockchip: sdram: Allow the first bank to extend beyond 4 GiB
  rockchip: sdram: Limit usable ram_top to max 4G
  rockchip: sdram: Ensure ram_base is correct in SPL

 arch/arm/mach-rockchip/sdram.c | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

-- 
2.48.1



More information about the U-Boot mailing list