Skip to contentSkip to conversation

arm: dts: Stratix10: Fix memory node address and size cells

PATCH New Ley Foon Tan 2 participants 2 messages Nov 8, 2019 Arm (32-bit)

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 arm: dts: Stratix10: Fix memory node address and size cells

Add #address-cells and #size-cells to memory node to fix incorrect memory size decoding in recent Uboot version.

---
 arch/arm/dts/socfpga_stratix10_socdk.dts | 2 ++
 1 file changed, 2 insertions(+)
arch/arm/dts/socfpga_stratix10_socdk.dts +2 -0
index c5409df026..ce07659602 100755
@@ -36,6 +36,8 @@
 	};
 
 	memory {
+		#address-cells = <2>;
+		#size-cells = <2>;
 		device_type = "memory";
 		/* 4GB */
 		reg = <0 0x00000000 0 0x80000000>,
Signature · 1 line
2.19.0
Applied
#1 lore raw

PATCH 1/1 arm: dts: Stratix10: Fix memory node address and size cells

Quoted 14 lines · Ley Foon Tan

Add #address-cells and #size-cells to memory node to fix incorrect memory size decoding in recent Uboot version.

---
 arch/arm/dts/socfpga_stratix10_socdk.dts | 2 ++
 1 file changed, 2 insertions(+)
arch/arm/dts/socfpga_stratix10_socdk.dts +0 -0
index c5409df026..ce07659602 100755

arch/arm/dts/socfpga_stratix10_socdk.dts line 43

Quoted 8 lines
arch/arm/dts/socfpga_stratix10_socdk.dts +2 -0
@@ -36,6 +36,8 @@
 	};
 
 	memory {
+		#address-cells = <2>;
+		#size-cells = <2>;
 		device_type = "memory";
 		/* 4GB */
 		reg = <0 0x00000000 0 0x80000000>,

Applied, thanks