Skip to content

Use ATAGs for RK3588 For RAM Info

Chris Morgan u-boot 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 11 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2rockchip: rk3588: Add support for ATAG parsingarch/arm/include/asm/arch-rockchip/atags.h arch/arm/mach-rockchip/Makefile arch/arm/mach-rockchip/atags.c+322 -09 replies
2/2rockchip: rk3588: Add Support for RAM Defines from ATAGsarch/arm/mach-rockchip/sdram.c+58 -02 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/2] Use ATAGs for RK3588 For RAM Info

From: Chris Morgan <[email protected]>

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
Signature · 1 line
2.34.1