From: Sascha Hauer <s.hauer@pengutronix.de>
To: Barebox List <barebox@lists.infradead.org>
Subject: [PATCH 0/5] ARM: Rockchip: Read amount of memory from DDR controller
Date: Fri, 24 Mar 2023 15:03:22 +0100 [thread overview]
Message-ID: <20230324140327.2154039-1-s.hauer@pengutronix.de> (raw)
This series adds support for reading the amount of memory from
the DDR controller. This helps on boards which come with
different amounts of memory like the Radxa Rock3a.
This series also fixes issues with an upstream TF-A firmware. With this
the IRAM where the bootsource is stored is no longer accessible in
normal mode. We have to read its contents before starting the TF-A.
For this it became necessary to add a common barebox entry function
for rk3568, to get a common place to read the IRAM contents.
Sascha
Ahmad Fatoum (2):
ARM: Rockchip: implement memory read out from controller
ARM: Rockchip: make bootsource logic generic to all SoCs
Sascha Hauer (3):
ARM: dts: rk356x: Add DMC controller node
ARM: Rockchip: Add rk3568 specific barebox entry function
ARM: Rockchip: rk3568: use rk3568_barebox_entry()
arch/arm/boards/pine64-quartz64/lowlevel.c | 31 +--
arch/arm/boards/radxa-rock3/lowlevel.c | 32 +--
.../rockchip-rk3568-bpi-r2pro/lowlevel.c | 32 +--
.../arm/boards/rockchip-rk3568-evb/lowlevel.c | 33 +--
arch/arm/dts/rk356x.dtsi | 5 +
arch/arm/mach-rockchip/Makefile | 3 +-
arch/arm/mach-rockchip/atf.c | 25 ++
arch/arm/mach-rockchip/bootrom.c | 51 ++++
arch/arm/mach-rockchip/dmc.c | 232 ++++++++++++++++++
arch/arm/mach-rockchip/rk3568.c | 29 +--
include/bootsource.h | 1 +
include/linux/sizes.h | 3 +
include/mach/rockchip/atf.h | 2 +
include/mach/rockchip/bootrom.h | 32 +++
include/mach/rockchip/dmc.h | 86 +++++++
include/mach/rockchip/rk3399-regs.h | 1 +
include/mach/rockchip/rk3568-regs.h | 1 +
17 files changed, 456 insertions(+), 143 deletions(-)
create mode 100644 arch/arm/mach-rockchip/bootrom.c
create mode 100644 arch/arm/mach-rockchip/dmc.c
create mode 100644 include/mach/rockchip/bootrom.h
create mode 100644 include/mach/rockchip/dmc.h
--
2.30.2
next reply other threads:[~2023-03-24 14:04 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-03-24 14:03 Sascha Hauer [this message]
2023-03-24 14:03 ` [PATCH 1/5] ARM: dts: rk356x: Add DMC controller node Sascha Hauer
2023-03-24 14:03 ` [PATCH 2/5] ARM: Rockchip: implement memory read out from controller Sascha Hauer
2023-03-26 8:34 ` Rouven Czerwinski
2023-03-27 7:32 ` Sascha Hauer
2023-03-24 14:03 ` [PATCH 3/5] ARM: Rockchip: Add rk3568 specific barebox entry function Sascha Hauer
2023-03-26 8:36 ` Rouven Czerwinski
2023-03-27 8:31 ` Sascha Hauer
2023-03-24 14:03 ` [PATCH 4/5] ARM: Rockchip: rk3568: use rk3568_barebox_entry() Sascha Hauer
2023-03-24 14:03 ` [PATCH 5/5] ARM: Rockchip: make bootsource logic generic to all SoCs Sascha Hauer
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20230324140327.2154039-1-s.hauer@pengutronix.de \
--to=s.hauer@pengutronix.de \
--cc=barebox@lists.infradead.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox