[U-Boot] [PATCH] arm: dts: Stratix10: Fix memory node address and size cells

Ley Foon Tan ley.foon.tan at intel.com
Fri Nov 8 02:56:26 UTC 2019


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

Signed-off-by: Ley Foon Tan <ley.foon.tan at intel.com>
---
 arch/arm/dts/socfpga_stratix10_socdk.dts | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/arch/arm/dts/socfpga_stratix10_socdk.dts b/arch/arm/dts/socfpga_stratix10_socdk.dts
index c5409df026..ce07659602 100755
--- a/arch/arm/dts/socfpga_stratix10_socdk.dts
+++ b/arch/arm/dts/socfpga_stratix10_socdk.dts
@@ -36,6 +36,8 @@
 	};
 
 	memory {
+		#address-cells = <2>;
+		#size-cells = <2>;
 		device_type = "memory";
 		/* 4GB */
 		reg = <0 0x00000000 0 0x80000000>,
-- 
2.19.0



More information about the U-Boot mailing list