From: Ley Foon Tan Date: Thu, 12 Jul 2018 11:13:33 +0000 (+0800) Subject: arm: dts: socfpga: stratix10: Fix memory node X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=17b3f32dd04f0008890b8bd57ba2ea50601c6f97;p=u-boot arm: dts: socfpga: stratix10: Fix memory node Commit 5dfd5607af2114047bd ("ARM: socfpga: Pull DRAM size from DT") get memory size from DT. So, we need to update memory size in memory node. Otherwise, it cause U-boot hang. Signed-off-by: Ley Foon Tan --- diff --git a/arch/arm/dts/socfpga_stratix10_socdk.dts b/arch/arm/dts/socfpga_stratix10_socdk.dts index c6ab0ae992..6e8ddcd9f4 100644 --- a/arch/arm/dts/socfpga_stratix10_socdk.dts +++ b/arch/arm/dts/socfpga_stratix10_socdk.dts @@ -36,8 +36,8 @@ memory { device_type = "memory"; - /* We expect the bootloader to fill in the reg */ - reg = <0 0 0 0>; + reg = <0 0 0 0x80000000>; /* 2GB */ + u-boot,dm-pre-reloc; }; };