public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [RFC 0/2] Update RAM Bank Logic for RK3588
@ 2024-03-30  5:05 Chris Morgan
  2024-03-30  5:05 ` [RFC 1/2] rockchip: sdram: Allow board/soc specific RAM bank logic Chris Morgan
  2024-03-30  5:05 ` [RFC 2/2] rockchip: rk3588: Add SoC " Chris Morgan
  0 siblings, 2 replies; 7+ messages in thread
From: Chris Morgan @ 2024-03-30  5:05 UTC (permalink / raw)
  To: u-boot
  Cc: eugen.hristev, kever.yang, xypron.glpk, cym, philipp.tomsich, sjg,
	jonas, trini, Chris Morgan

From: Chris Morgan <macromorgan@hotmail.com>

Use the ATAG info provided by the Rockchip binary TPL to identify
RAM banks on the RK3588 when using the ROCKCHIP_TPL binary.

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.

I intended this to be an RFC the first time I submitted it, so I'm
correcting that mistake now. Additionally I have reduced a lot of
the ATAGS code to only focus on the few bits we need in this case.

Chris Morgan (2):
  rockchip: sdram: Allow board/soc specific RAM bank logic
  rockchip: rk3588: Add SoC specific RAM bank logic

 arch/arm/mach-rockchip/rk3588/rk3588.c | 93 ++++++++++++++++++++++++++
 arch/arm/mach-rockchip/sdram.c         |  7 ++
 2 files changed, 100 insertions(+)

-- 
2.34.1


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

end of thread, other threads:[~2024-03-30 21:36 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-03-30  5:05 [RFC 0/2] Update RAM Bank Logic for RK3588 Chris Morgan
2024-03-30  5:05 ` [RFC 1/2] rockchip: sdram: Allow board/soc specific RAM bank logic Chris Morgan
2024-03-30 11:00   ` Jonas Karlman
2024-03-30 15:36     ` Chris Morgan
2024-03-30  5:05 ` [RFC 2/2] rockchip: rk3588: Add SoC " Chris Morgan
2024-03-30 10:53   ` Jonas Karlman
2024-03-30 15:41     ` Chris Morgan

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