1
0
mirror of https://git.yoctoproject.org/meta-arm synced 2026-01-11 15:00:39 +00:00

arm-bsp/u-boot:corstone1000: Use 32-bit cells for reserved-memory node

Switch the *reserved-memory* node from two-cell (64-bit) encoding to
one-cell (32-bit) encoding and adjust the `reg` property accordingly
to make reserved-memory node format compatible with rest of the dts.

Signed-off-by: Harsimran Singh Tungal <harsimransingh.tungal@arm.com>
Signed-off-by: Jon Mason <jon.mason@arm.com>
This commit is contained in:
Harsimran Singh Tungal
2025-11-07 11:12:50 +00:00
committed by Jon Mason
parent 598e91a5aa
commit 5fe80d2845
2 changed files with 44 additions and 0 deletions

View File

@@ -69,6 +69,11 @@ SRC_URI:append = " \
file://0038-corstone1000-enable-OF_UPSTREAM-device-tree-support.patch \
"
# Use 32 bit cells for reserved-memory node in dts
SRC_URI:append = " \
file://0040-corstone1000-dts-use-32-bit-cells-for-reserved-memor.patch \
"
uboot_configure_config:append() {
openssl req -x509 -sha256 -newkey rsa:2048 -subj /CN=CRT/ -keyout ${B}/CRT.key -out $builddir/CRT.crt -nodes -days 365
}

View File

@@ -0,0 +1,39 @@
From 25c478492b889fe857c7e1a3fa2c43ff956a36bb Mon Sep 17 00:00:00 2001
From: Harsimran Singh Tungal <harsimransingh.tungal@arm.com>
Date: Wed, 24 Sep 2025 13:42:25 +0000
Subject: [PATCH 1/2] corstone1000: dts: use 32-bit cells for /reserved-memory
node
Switch the *reserved-memory* node from two-cell (64-bit) encoding to
one-cell (32-bit) encoding and adjust the `reg` property accordingly
to make reserved-memory node format compatible with rest of the dts.
Upstream-Status: Pending
Signed-off-by: Harsimran Singh Tungal <harsimransingh.tungal@arm.com>
---
arch/arm/dts/corstone1000-u-boot.dtsi | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/arch/arm/dts/corstone1000-u-boot.dtsi b/arch/arm/dts/corstone1000-u-boot.dtsi
index 023109fb6a7..92c493c5692 100644
--- a/arch/arm/dts/corstone1000-u-boot.dtsi
+++ b/arch/arm/dts/corstone1000-u-boot.dtsi
@@ -18,12 +18,12 @@
};
reserved-memory {
- #address-cells = <2>;
- #size-cells = <2>;
+ #address-cells = <1>;
+ #size-cells = <1>;
ranges;
smem_mem: smem_region@88000000 {
- reg = <0x0 0x88000000 0x0 0x100000>;
+ reg = <0x88000000 0x100000>;
no-map;
};
};
--
2.43.0