summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorJonas Karlman <[email protected]>2026-01-06 23:21:51 +0000
committerKever Yang <[email protected]>2026-03-09 22:47:15 +0800
commitaf5f97aeb88480fd3b82a11ea478de6f72f5fcb8 (patch)
tree49b96be4170ad4c6c5c7192135250b06acfb2b58 /drivers
parentb26cc03b7cecaabdb306c2f68eebde764161a545 (diff)
rockchip: sdram: Add fallback that fixup DRAM gaps on RK3588
RK3588 has two known memory gaps when using 16+ GiB DRAM, [0x3fc000000, 0x3fc500000) and [0x3fff00000, 0x400000000). The vendor TPL blob encodes this information in the DDR_MEM tag data passed to later boot phases. U-Boot proper will normally use this information to configure the DRAM banks. When a DDR_MEM tag cannot be found the fallback is to use the entire range above 4 GiB. Something that will cause issues when OS try to use memory from the two known memory gaps. Add a weak dram init banksize fixup function and implement it for RK3588 to fix issues observed when trying to RAM boot RK3588 boards with 16+ GiB DRAM into Linux. Signed-off-by: Jonas Karlman <[email protected]> Reviewed-by: Kever Yang <[email protected]>
Diffstat (limited to 'drivers')
0 files changed, 0 insertions, 0 deletions