aboutsummaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorLey Foon Tan <ley.foon.tan@intel.com>2018-07-12 19:13:33 +0800
committerMarek Vasut <marex@denx.de>2018-07-12 16:03:35 +0200
commit17b3f32dd04f0008890b8bd57ba2ea50601c6f97 (patch)
treef7aee1965b381b60389d7eea3233d1a45e889e8a /arch
parent887a8b6ec287c20f802d5007081e7f5d615c51db (diff)
downloadu-boot-17b3f32dd04f0008890b8bd57ba2ea50601c6f97.zip
u-boot-17b3f32dd04f0008890b8bd57ba2ea50601c6f97.tar.gz
u-boot-17b3f32dd04f0008890b8bd57ba2ea50601c6f97.tar.bz2
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 <ley.foon.tan@intel.com>
Diffstat (limited to 'arch')
-rw-r--r--arch/arm/dts/socfpga_stratix10_socdk.dts4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/arm/dts/socfpga_stratix10_socdk.dts b/arch/arm/dts/socfpga_stratix10_socdk.dts
index c6ab0ae..6e8ddcd 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;
};
};