From 4c6d8b91fa8fbe95516c0c804ca5ef491d493b41 Mon Sep 17 00:00:00 2001 From: Marek Vasut Date: Wed, 22 Jul 2015 06:18:19 +0200 Subject: [PATCH] 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 --- 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 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) */ -- 2.39.5