[RFC 0/2] Update RAM Bank Logic for RK3588

Chris Morgan macroalpha82 at gmail.com
Sat Mar 30 06:05:13 CET 2024


From: Chris Morgan <macromorgan at hotmail.com>

Use the ATAG info provided by the Rockchip binary TPL to identify
RAM banks on the RK3588 when using the ROCKCHIP_TPL binary.

This is needed because there are specific addresses that should not
be written to for all RK3588 based devices with >=16GB of RAM, writing
to these addresses immediately results in a crash.

I intended this to be an RFC the first time I submitted it, so I'm
correcting that mistake now. Additionally I have reduced a lot of
the ATAGS code to only focus on the few bits we need in this case.

Chris Morgan (2):
  rockchip: sdram: Allow board/soc specific RAM bank logic
  rockchip: rk3588: Add SoC specific RAM bank logic

 arch/arm/mach-rockchip/rk3588/rk3588.c | 93 ++++++++++++++++++++++++++
 arch/arm/mach-rockchip/sdram.c         |  7 ++
 2 files changed, 100 insertions(+)

-- 
2.34.1



More information about the U-Boot mailing list