Rename TEXT_BASE into CONFIG_SYS_TEXT_BASE

The change is currently needed to be able to remove the board
configuration scripting from the top level Makefile and replace it by
a simple, table driven script.

Moving this configuration setting into the "CONFIG_*" name space is
also desirable because it is needed if we ever should move forward to
a Kconfig driven configuration system.

Signed-off-by: Wolfgang Denk <wd@denx.de>
This commit is contained in:
Wolfgang Denk
2010-10-07 21:51:12 +02:00
parent d24f2d321d
commit 14d0a02a16
797 changed files with 1493 additions and 1435 deletions

View File

@@ -24,19 +24,20 @@
#
# INKA 4X0 board:
#
# Valid values for TEXT_BASE are:
# Valid values for CONFIG_SYS_TEXT_BASE are:
#
# 0xFFE00000 boot low
#
# 0x00100000 boot from RAM (for testing only)
#
ifndef TEXT_BASE
ifndef CONFIG_SYS_TEXT_BASE
## Standard: boot low
TEXT_BASE = 0xFFE00000
CONFIG_SYS_TEXT_BASE = 0xFFE00000
## For testing: boot from RAM
#TEXT_BASE = 0x00100000
#CONFIG_SYS_TEXT_BASE = 0x00100000
endif
PLATFORM_CPPFLAGS += -DTEXT_BASE=$(TEXT_BASE) -I$(TOPDIR)/board
PLATFORM_CPPFLAGS += -DCONFIG_SYS_TEXT_BASE=$(CONFIG_SYS_TEXT_BASE) \
-I$(TOPDIR)/board
LDSCRIPT := $(SRCTREE)/arch/powerpc/cpu/mpc5xxx/u-boot-customlayout.lds