[U-Boot] [PATCH 039/172] arm: socfpga: config: Fix LOADADDR

Marek Vasut
2015-07-27T20:50:02Z

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>
---
include/configs/socfpga_arria5.h | 2 +-
include/configs/socfpga_cyclone5.h | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/include/configs/socfpga_arria5.h b/include/configs/socfpga_arria5.h
index ed865ce..3193684 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 f13ed3e..9e733e5 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) */
--
2.1.4