[PATCH 0/5] rockchip: sdram: allow reading memory info from TPL on non-ARM64
Aaron Griffith
aargri at gmail.com
Mon Dec 29 01:05:22 CET 2025
The RK3506 TPL provides memory info to the bootloader via ATAGS. There
is already an implementation that reads this information on RK3588 and
others, but it is currently gated behind CONFIG_ARM64. The RK3506 is
*not* ARM64.
This patch series aims to allow this code to be used on non-ARM64, by
* adding a new config option to read this info from the TPL,
* allowing the ATAGS memory area it uses to be set in config headers,
* placing truly ARM64-specific logic behind CONFIG_ARM64.
I'm working on upstreaming RK3506 support, and this is the first patch
series of hopefully many in that direction.
Signed-off-by: Aaron Griffith <aargri at gmail.com>
---
Aaron Griffith (5):
rockchip: sdram: add option to read bank information from TPL
rockchip: sdram: remove redundant configuration checks
rockchip: sdram: allow config headers to override ATAGs location
rockchip: sdram: refactor bi_dram logic into separate function
rockchip: sdram: only reserve BL31 and use mem_map on ARM64
arch/arm/mach-rockchip/Kconfig | 11 +++
arch/arm/mach-rockchip/sdram.c | 195 ++++++++++++++++++++++-------------------
2 files changed, 118 insertions(+), 88 deletions(-)
---
base-commit: 0f6ff53d55ba254de8a995c2a2f5a313acd40ac7
change-id: 20251226-rockchip-tpl-use-atags-bf3d14a840ca
Best regards,
--
Aaron Griffith <aargri at gmail.com>
More information about the U-Boot
mailing list