From a00c137e041ad8df19da1fe693b56eff040e0b80 Mon Sep 17 00:00:00 2001 From: Matthias Fuchs Date: Mon, 26 Jul 2010 17:17:52 +0200 Subject: [PATCH] ppc4xx: Fix building of CANBT board Update image size after addition of new environment handling. Signed-off-by: Matthias Fuchs Signed-off-by: Stefan Roese --- board/esd/canbt/config.mk | 8 +------- include/configs/CANBT.h | 6 +++--- 2 files changed, 4 insertions(+), 10 deletions(-) diff --git a/board/esd/canbt/config.mk b/board/esd/canbt/config.mk index 80076cd943..ae855dc057 100644 --- a/board/esd/canbt/config.mk +++ b/board/esd/canbt/config.mk @@ -20,10 +20,4 @@ # Foundation, Inc., 59 Temple Place, Suite 330, Boston, # MA 02111-1307 USA # - -# -# esd ADCIOP boards -# - -TEXT_BASE = 0xFFFE0000 -#TEXT_BASE = 0xFFFD0000 +TEXT_BASE = 0xFFFC0000 diff --git a/include/configs/CANBT.h b/include/configs/CANBT.h index cdba81d323..115a6f9886 100644 --- a/include/configs/CANBT.h +++ b/include/configs/CANBT.h @@ -120,9 +120,9 @@ * Please note that CONFIG_SYS_SDRAM_BASE _must_ start at 0 */ #define CONFIG_SYS_SDRAM_BASE 0x00000000 -#define CONFIG_SYS_FLASH_BASE 0xFFFE0000 -#define CONFIG_SYS_MONITOR_BASE CONFIG_SYS_FLASH_BASE -#define CONFIG_SYS_MONITOR_LEN (128 * 1024) /* Reserve 128 kB for Monitor */ +#define CONFIG_SYS_FLASH_BASE CONFIG_SYS_MONITOR_BASE +#define CONFIG_SYS_MONITOR_BASE TEXT_BASE +#define CONFIG_SYS_MONITOR_LEN (~(TEXT_BASE) + 1) #define CONFIG_SYS_MALLOC_LEN (128 * 1024) /* Reserve 128 kB for malloc() */ /*