From: Chris Morgan <macromor...@hotmail.com>

Use the ATAG info provided by the Rockchip binary TPL to identify
RAM banks.

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.

Chris Morgan (2):
  rockchip: rk3588: Add support for ATAG parsing
  rockchip: rk3588: Add Support for RAM Defines from ATAGs

 arch/arm/include/asm/arch-rockchip/atags.h | 222 +++++++++++++++++++++
 arch/arm/mach-rockchip/Makefile            |   1 +
 arch/arm/mach-rockchip/atags.c             |  99 +++++++++
 arch/arm/mach-rockchip/sdram.c             |  58 ++++++
 4 files changed, 380 insertions(+)
 create mode 100644 arch/arm/include/asm/arch-rockchip/atags.h
 create mode 100644 arch/arm/mach-rockchip/atags.c

-- 
2.34.1

Reply via email to