[U-Boot] [PATCH] 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.
Signed-off-by: Ley Foon Tan ley.foon.tan@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>,

On 11/8/19 3:56 AM, Ley Foon Tan wrote:
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@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>;
device_type = "memory"; /* 4GB */ reg = <0 0x00000000 0 0x80000000>,#size-cells = <2>;
Applied, thanks
participants (2)
-
Ley Foon Tan
-
Marek Vasut