瀏覽代碼

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>
Marek Vasut 10 年之前
父節點
當前提交
4c6d8b91fa
共有 2 個文件被更改,包括 2 次插入2 次删除
  1. 1 1
      include/configs/socfpga_arria5.h
  2. 1 1
      include/configs/socfpga_cyclone5.h

+ 1 - 1
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) */

+ 1 - 1
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) */