From: Marek Vasut <marex@denx.de>
Date: Wed, 22 Jul 2015 04:18:19 +0000 (+0200)
Subject: arm: socfpga: config: Fix LOADADDR
X-Git-Tag: v2025.01-rc5-pxa1908~12337
X-Git-Url: http://git.dujemihanovic.xyz/img/html/index.html?a=commitdiff_plain;h=4c6d8b91fa8fbe95516c0c804ca5ef491d493b41;p=u-boot.git

arm: socfpga: config: Fix LOADADDR

Setting LOADADDR to 0x8000 is a bad idea, it is very likely that
some kind of overlap will happen. Move the LOADADDR 0x01000000
(16MiB from start of RAM) to make sure no overlap happens when
loading kernel for example.

Signed-off-by: Marek Vasut <marex@denx.de>
---

diff --git a/include/configs/socfpga_arria5.h b/include/configs/socfpga_arria5.h
index f6b54a31c9..e1cd9cc8aa 100644
--- a/include/configs/socfpga_arria5.h
+++ b/include/configs/socfpga_arria5.h
@@ -43,7 +43,7 @@
 #else
 #define CONFIG_BOOTCOMMAND	"run mmcload; run mmcboot"
 #endif
-#define CONFIG_LOADADDR		0x8000
+#define CONFIG_LOADADDR		0x01000000
 #define CONFIG_SYS_LOAD_ADDR	CONFIG_LOADADDR
 
 /* Ethernet on SoC (EMAC) */
diff --git a/include/configs/socfpga_cyclone5.h b/include/configs/socfpga_cyclone5.h
index 838fc58224..9b317413e7 100644
--- a/include/configs/socfpga_cyclone5.h
+++ b/include/configs/socfpga_cyclone5.h
@@ -43,7 +43,7 @@
 #else
 #define CONFIG_BOOTCOMMAND	"run mmcload; run mmcboot"
 #endif
-#define CONFIG_LOADADDR		0x8000
+#define CONFIG_LOADADDR		0x01000000
 #define CONFIG_SYS_LOAD_ADDR	CONFIG_LOADADDR
 
 /* Ethernet on SoC (EMAC) */