]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
ppc4xx: Update TEXT_BASE for CPCI405 boards
authorMatthias Fuchs <matthias.fuchs@esd-electronics.com>
Wed, 10 Dec 2008 13:41:25 +0000 (14:41 +0100)
committerStefan Roese <sr@denx.de>
Wed, 10 Dec 2008 14:11:15 +0000 (15:11 +0100)
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>
Makefile
board/esd/cpci405/config.mk
include/configs/CPCI405.h

index f8fe29cf5ee12462729704151dfec6395af4b7f1..2f07657f5df16f59c6fdac794369d0e37432e0d7 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -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
index 6cfb8912ddd00473710cb8c281119bc74ea7076e..1bdf5e4fcf36d5fccb768ba13e114a0d1333380c 100644 (file)
@@ -21,8 +21,4 @@
 # MA 02111-1307 USA
 #
 
-sinclude $(OBJTREE)/board/$(BOARDDIR)/config.tmp
-
-ifndef TEXT_BASE
-TEXT_BASE = 0xFFFD0000
-endif
+TEXT_BASE = 0xFFFC0000
index 1a2bc1c2e72d40c1895fa9a3ea83fd7bb5b10bcb..89ba139af78a4f0c4b6937de0a9486b20cf8ea1a 100644 (file)
  * 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()  */
 
 /*