public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [PATCH 0/5] rockchip: sdram: allow reading memory info from TPL on non-ARM64
@ 2025-12-29  0:05 Aaron Griffith
  2025-12-29  0:05 ` [PATCH 1/5] rockchip: sdram: add option to read bank information from TPL Aaron Griffith
                   ` (5 more replies)
  0 siblings, 6 replies; 10+ messages in thread
From: Aaron Griffith @ 2025-12-29  0:05 UTC (permalink / raw)
  To: u-boot
  Cc: Tom Rini, Simon Glass, Philipp Tomsich, Kever Yang, Jonas Karlman,
	Johan Jonker, Quentin Schulz, Lukasz Czechowski, Marek Vasut,
	Xuhui Lin, Heiko Stuebner, Chris Morgan, Nicolas Frattaroli,
	Aaron Griffith

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@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@gmail.com>


^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2025-12-30  1:59 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-12-29  0:05 [PATCH 0/5] rockchip: sdram: allow reading memory info from TPL on non-ARM64 Aaron Griffith
2025-12-29  0:05 ` [PATCH 1/5] rockchip: sdram: add option to read bank information from TPL Aaron Griffith
2025-12-29  0:05 ` [PATCH 2/5] rockchip: sdram: remove redundant configuration checks Aaron Griffith
2025-12-29  0:05 ` [PATCH 3/5] rockchip: sdram: allow config headers to override ATAGs location Aaron Griffith
2025-12-29  0:05 ` [PATCH 4/5] rockchip: sdram: refactor bi_dram logic into separate function Aaron Griffith
2025-12-29  0:05 ` [PATCH 5/5] rockchip: sdram: only reserve BL31 and use mem_map on ARM64 Aaron Griffith
2025-12-29  9:49 ` [PATCH 0/5] rockchip: sdram: allow reading memory info from TPL on non-ARM64 Jonas Karlman
2025-12-29 10:26   ` Aaron Griffith
2025-12-29 19:15     ` Jonas Karlman
2025-12-30  1:59       ` Aaron Griffith

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox