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

Marek Vasut marex at denx.de
Fri Nov 8 10:28:07 UTC 2019


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 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>,
> 

Applied, thanks


More information about the U-Boot mailing list