mirror of
https://github.com/u-boot/u-boot.git
synced 2024-12-18 09:13:25 +08:00
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>
This commit is contained in:
parent
8c92af7b2f
commit
1951f847f0
5
Makefile
5
Makefile
@ -1261,14 +1261,11 @@ CMS700_config: unconfig
|
|||||||
CPCI2DP_config: unconfig
|
CPCI2DP_config: unconfig
|
||||||
@$(MKCONFIG) $(@:_config=) ppc ppc4xx cpci2dp esd
|
@$(MKCONFIG) $(@:_config=) ppc ppc4xx cpci2dp esd
|
||||||
|
|
||||||
CPCI405_config: unconfig
|
CPCI405_config \
|
||||||
@$(MKCONFIG) $(@:_config=) ppc ppc4xx cpci405 esd
|
|
||||||
|
|
||||||
CPCI4052_config \
|
CPCI4052_config \
|
||||||
CPCI405DT_config \
|
CPCI405DT_config \
|
||||||
CPCI405AB_config: unconfig
|
CPCI405AB_config: unconfig
|
||||||
@mkdir -p $(obj)board/esd/cpci405
|
@mkdir -p $(obj)board/esd/cpci405
|
||||||
@echo "TEXT_BASE = 0xFFFC0000" > $(obj)board/esd/cpci405/config.tmp
|
|
||||||
@$(MKCONFIG) $(@:_config=) ppc ppc4xx cpci405 esd
|
@$(MKCONFIG) $(@:_config=) ppc ppc4xx cpci405 esd
|
||||||
|
|
||||||
CPCIISER4_config: unconfig
|
CPCIISER4_config: unconfig
|
||||||
|
@ -21,8 +21,4 @@
|
|||||||
# MA 02111-1307 USA
|
# MA 02111-1307 USA
|
||||||
#
|
#
|
||||||
|
|
||||||
sinclude $(OBJTREE)/board/$(BOARDDIR)/config.tmp
|
TEXT_BASE = 0xFFFC0000
|
||||||
|
|
||||||
ifndef TEXT_BASE
|
|
||||||
TEXT_BASE = 0xFFFD0000
|
|
||||||
endif
|
|
||||||
|
@ -196,9 +196,9 @@
|
|||||||
* Please note that CONFIG_SYS_SDRAM_BASE _must_ start at 0
|
* Please note that CONFIG_SYS_SDRAM_BASE _must_ start at 0
|
||||||
*/
|
*/
|
||||||
#define CONFIG_SYS_SDRAM_BASE 0x00000000
|
#define CONFIG_SYS_SDRAM_BASE 0x00000000
|
||||||
#define CONFIG_SYS_FLASH_BASE 0xFFFD0000
|
#define CONFIG_SYS_FLASH_BASE TEXT_BASE
|
||||||
#define CONFIG_SYS_MONITOR_BASE CONFIG_SYS_FLASH_BASE
|
#define CONFIG_SYS_MONITOR_BASE TEXT_BASE
|
||||||
#define CONFIG_SYS_MONITOR_LEN (192 * 1024) /* Reserve 196 kB for Monitor */
|
#define CONFIG_SYS_MONITOR_LEN (~(TEXT_BASE) + 1)
|
||||||
#define CONFIG_SYS_MALLOC_LEN (128 * 1024) /* Reserve 128 kB for malloc() */
|
#define CONFIG_SYS_MALLOC_LEN (128 * 1024) /* Reserve 128 kB for malloc() */
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
Loading…
Reference in New Issue
Block a user