arm: socfpga: config: Fix LOADADDR
authorMarek Vasut <marex@denx.de>
Wed, 22 Jul 2015 04:18:19 +0000 (06:18 +0200)
committerMarek Vasut <marex@denx.de>
Sat, 8 Aug 2015 12:14:09 +0000 (14:14 +0200)
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
include/configs/socfpga_cyclone5.h

index f6b54a31c9b791e6201cd387b750af1d014350c4..e1cd9cc8aaf11f9d08a558db2cfb31d720664de9 100644 (file)
@@ -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) */
index 838fc58224f24707e2cfdc31c426f161103fcf05..9b317413e7c243d75710e5d2eb0d93c7e6174d37 100644 (file)
@@ -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) */