public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [PATCH 0/2] Use ATAGs for RK3588 For RAM Info
@ 2024-03-26 20:49 Chris Morgan
  2024-03-26 20:49 ` [PATCH 1/2] rockchip: rk3588: Add support for ATAG parsing Chris Morgan
  2024-03-26 20:49 ` [PATCH 2/2] rockchip: rk3588: Add Support for RAM Defines from ATAGs Chris Morgan
  0 siblings, 2 replies; 14+ messages in thread
From: Chris Morgan @ 2024-03-26 20:49 UTC (permalink / raw)
  To: u-boot
  Cc: xypron.glpk, cym, kever.yang, philipp.tomsich, sjg, trini,
	eugen.hristev, jonas, Chris Morgan

From: Chris Morgan <macromorgan@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


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

end of thread, other threads:[~2024-03-28 22:38 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-03-26 20:49 [PATCH 0/2] Use ATAGs for RK3588 For RAM Info Chris Morgan
2024-03-26 20:49 ` [PATCH 1/2] rockchip: rk3588: Add support for ATAG parsing Chris Morgan
2024-03-27  9:45   ` Quentin Schulz
2024-03-27 10:32   ` Kever Yang
2024-03-27 12:12     ` Tom Rini
2024-03-27 13:32     ` Chris Morgan
2024-03-27 14:21       ` Eugen Hristev
2024-03-27 15:03         ` Chris Morgan
2024-03-28 20:02           ` Tom Rini
2024-03-28 21:58             ` Chris Morgan
2024-03-28 22:13               ` Tom Rini
2024-03-26 20:49 ` [PATCH 2/2] rockchip: rk3588: Add Support for RAM Defines from ATAGs Chris Morgan
2024-03-27 10:51   ` Quentin Schulz
2024-03-27 13:10     ` Jonas Karlman

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