diff options
author | Matthias Fuchs <matthias.fuchs@esd-electronics.com> | 2008-12-10 14:41:25 +0100 |
---|---|---|
committer | Stefan Roese <sr@denx.de> | 2008-12-10 15:11:15 +0100 |
commit | 1951f847f0a851853871b613ad7cf21a5242226c (patch) | |
tree | abbbceb08e20836d97f1f15dc9d12c8ed7641106 | |
parent | 8c92af7b2fbd60ae87379477f93c7ec9441b7452 (diff) | |
download | bootable_bootloader_goldelico_gta04-1951f847f0a851853871b613ad7cf21a5242226c.zip bootable_bootloader_goldelico_gta04-1951f847f0a851853871b613ad7cf21a5242226c.tar.gz bootable_bootloader_goldelico_gta04-1951f847f0a851853871b613ad7cf21a5242226c.tar.bz2 |
ppc4xx: Update TEXT_BASE for CPCI405 boards
This patch fixes building U-Boot for CPCI405 boards.
Signed-off-by: Matthias Fuchs <matthias.fuchs@esd-electronics.com>
Signed-off-by: Stefan Roese <sr@denx.de>
-rw-r--r-- | Makefile | 5 | ||||
-rw-r--r-- | board/esd/cpci405/config.mk | 6 | ||||
-rw-r--r-- | include/configs/CPCI405.h | 6 |
3 files changed, 5 insertions, 12 deletions
@@ -1261,14 +1261,11 @@ CMS700_config: unconfig CPCI2DP_config: unconfig @$(MKCONFIG) $(@:_config=) ppc ppc4xx cpci2dp esd -CPCI405_config: unconfig - @$(MKCONFIG) $(@:_config=) ppc ppc4xx cpci405 esd - +CPCI405_config \ CPCI4052_config \ CPCI405DT_config \ CPCI405AB_config: unconfig @mkdir -p $(obj)board/esd/cpci405 - @echo "TEXT_BASE = 0xFFFC0000" > $(obj)board/esd/cpci405/config.tmp @$(MKCONFIG) $(@:_config=) ppc ppc4xx cpci405 esd CPCIISER4_config: unconfig diff --git a/board/esd/cpci405/config.mk b/board/esd/cpci405/config.mk index 6cfb891..1bdf5e4 100644 --- a/board/esd/cpci405/config.mk +++ b/board/esd/cpci405/config.mk @@ -21,8 +21,4 @@ # MA 02111-1307 USA # -sinclude $(OBJTREE)/board/$(BOARDDIR)/config.tmp - -ifndef TEXT_BASE -TEXT_BASE = 0xFFFD0000 -endif +TEXT_BASE = 0xFFFC0000 diff --git a/include/configs/CPCI405.h b/include/configs/CPCI405.h index 1a2bc1c..89ba139 100644 --- a/include/configs/CPCI405.h +++ b/include/configs/CPCI405.h @@ -196,9 +196,9 @@ * Please note that CONFIG_SYS_SDRAM_BASE _must_ start at 0 */ #define CONFIG_SYS_SDRAM_BASE 0x00000000 -#define CONFIG_SYS_FLASH_BASE 0xFFFD0000 -#define CONFIG_SYS_MONITOR_BASE CONFIG_SYS_FLASH_BASE -#define CONFIG_SYS_MONITOR_LEN (192 * 1024) /* Reserve 196 kB for Monitor */ +#define CONFIG_SYS_FLASH_BASE TEXT_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() */ /* |