]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
arm: dts: socfpga: stratix10: Fix memory node
authorLey Foon Tan <ley.foon.tan@intel.com>
Thu, 12 Jul 2018 11:13:33 +0000 (19:13 +0800)
committerMarek Vasut <marex@denx.de>
Thu, 12 Jul 2018 14:03:35 +0000 (16:03 +0200)
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 <ley.foon.tan@intel.com>
arch/arm/dts/socfpga_stratix10_socdk.dts

index c6ab0ae9923ad5c4ef2adc09e70de1bd088802b4..6e8ddcd9f4ce6aef9d383d555b7c9902cdf802e2 100644 (file)
@@ -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;
        };
 };