From: Sascha Hauer <s.hauer@pengutronix.de>
To: BAREBOX <barebox@lists.infradead.org>
Subject: [PATCH 1/2] ARM: rockchip: dmc: use define instead of hardcoded value
Date: Mon, 23 Feb 2026 09:56:49 +0100 [thread overview]
Message-ID: <20260223-rockchip-optee-v1-1-723493320d42@pengutronix.de> (raw)
In-Reply-To: <20260223-rockchip-optee-v1-0-723493320d42@pengutronix.de>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
---
arch/arm/mach-rockchip/dmc.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/arch/arm/mach-rockchip/dmc.c b/arch/arm/mach-rockchip/dmc.c
index 3cb17b9694..9d056ada55 100644
--- a/arch/arm/mach-rockchip/dmc.c
+++ b/arch/arm/mach-rockchip/dmc.c
@@ -215,8 +215,8 @@ size_t rk3588_ram_sizes(phys_addr_t *base, resource_size_t *size, size_t n)
memsize = size1 + size2;
- base[i] = 0xa00000;
- size[i] = min_t(resource_size_t, RK3588_INT_REG_START, memsize) - 0xa00000;
+ base[i] = RK3588_DRAM_BOTTOM;
+ size[i] = min_t(resource_size_t, RK3588_INT_REG_START, memsize) - RK3588_DRAM_BOTTOM;
i++;
if (i < n && memsize > SZ_4G) {
--
2.47.3
next prev parent reply other threads:[~2026-02-23 8:57 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-02-23 8:56 [PATCH 0/2] ARM: Rockchip: RK3588: fix memory layout Sascha Hauer
2026-02-23 8:56 ` Sascha Hauer [this message]
2026-02-23 8:56 ` [PATCH 2/2] ARM: rockchip: atf: Fix memend Sascha Hauer
2026-02-23 12:06 ` [PATCH 0/2] ARM: Rockchip: RK3588: fix memory layout 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=20260223-rockchip-optee-v1-1-723493320d42@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