Skip to contentSkip to conversation

ARM: dts: qcom: msm8960: correct memory base

PATCH Applied David Heidelberg 2 participants 2 messages Jul 6, 2024

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ARM: dts: qcom: msm8960: correct memory base

DeviceTree validation requires a unit address on the memory node, adjust the base to match [Ref] and use this as unit address.

The bootloader will update the information with the actual values during boot.

Ref: https://github.com/msm8916-mainline/lk2nd/blob/main/target/msm8960/rules.mk

---
 arch/arm/boot/dts/qcom/qcom-msm8960.dtsi | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
arch/arm/boot/dts/qcom/qcom-msm8960.dtsi +2 -2
index a9c6d2dbb460..ebc43c5c6e5f 100644
@@ -47,9 +47,9 @@ L2: l2-cache {
 		};
 	};
 
-	memory {
+	memory@80000000 {
 		device_type = "memory";
-		reg = <0x0 0x0>;
+		reg = <0x80000000 0>;
 	};
 
 	cpu-pmu {
Signature · 1 line
2.45.2
maintainer Applied
#1 lore raw
Quoted 9 lines · David Heidelberg

DeviceTree validation requires a unit address on the memory node, adjust the base to match [Ref] and use this as unit address.

The bootloader will update the information with the actual values during boot.

Ref: https://github.com/msm8916-mainline/lk2nd/blob/main/target/msm8960/rules.mk

[...]

Applied, thanks!

[1/1] ARM: dts: qcom: msm8960: correct memory base

      commit: c1842643a3df6004d1bc9df74e34d8b72997d886

Best regards,

Signature · 1 line
Bjorn Andersson <[email protected]>