summaryrefslogtreecommitdiffstats
path: root/board/tqc
diff options
context:
space:
mode:
authorWolfgang Denk <wd@denx.de>2010-10-07 21:51:12 +0200
committerWolfgang Denk <wd@denx.de>2010-10-18 22:07:10 +0200
commit14d0a02a168b36e87665b8d7f42fa3e88263d26d (patch)
tree576843229c10eb3e8836dc40a12d3f6f0c26a3ce /board/tqc
parentd24f2d321d8e78e990d100000d8efc4845c78b1c (diff)
downloadu-boot-14d0a02a168b36e87665b8d7f42fa3e88263d26d.tar.gz
u-boot-14d0a02a168b36e87665b8d7f42fa3e88263d26d.tar.xz
u-boot-14d0a02a168b36e87665b8d7f42fa3e88263d26d.zip
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>
Diffstat (limited to 'board/tqc')
-rw-r--r--board/tqc/tqm5200/config.mk13
-rw-r--r--board/tqc/tqm8260/config.mk5
-rw-r--r--board/tqc/tqm8272/config.mk5
-rw-r--r--board/tqc/tqm834x/config.mk2
-rw-r--r--board/tqc/tqm85xx/config.mk4
-rw-r--r--board/tqc/tqm8xx/config.mk2
6 files changed, 17 insertions, 14 deletions
diff --git a/board/tqc/tqm5200/config.mk b/board/tqc/tqm5200/config.mk
index d72dfe7481..d9522ad82c 100644
--- a/board/tqc/tqm5200/config.mk
+++ b/board/tqc/tqm5200/config.mk
@@ -24,7 +24,7 @@
#
# TQM5200 board:
#
-# Valid values for TEXT_BASE are:
+# Valid values for CONFIG_SYS_TEXT_BASE are:
#
# 0xFC000000 boot low (standard configuration with room for max 64 MByte
# Flash ROM)
@@ -34,13 +34,14 @@
sinclude $(OBJTREE)/board/$(BOARDDIR)/config.tmp
-ifndef TEXT_BASE
+ifndef CONFIG_SYS_TEXT_BASE
## Standard: boot low
-TEXT_BASE = 0xFC000000
+CONFIG_SYS_TEXT_BASE = 0xFC000000
## For a backup copy of U-Boot at the end of flash: boot high
-# TEXT_BASE = 0xFFF00000
+# CONFIG_SYS_TEXT_BASE = 0xFFF00000
## 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
diff --git a/board/tqc/tqm8260/config.mk b/board/tqc/tqm8260/config.mk
index 3ecfc48762..b8de2f1eed 100644
--- a/board/tqc/tqm8260/config.mk
+++ b/board/tqc/tqm8260/config.mk
@@ -29,6 +29,7 @@
# for the "final" configuration, with U-Boot in flash, or the address
# in RAM where U-Boot is loaded at for debugging.
#
-TEXT_BASE = 0x40000000
+CONFIG_SYS_TEXT_BASE = 0x40000000
-PLATFORM_CPPFLAGS += -DTEXT_BASE=$(TEXT_BASE) -I$(TOPDIR)
+PLATFORM_CPPFLAGS += -DCONFIG_SYS_TEXT_BASE=$(CONFIG_SYS_TEXT_BASE) \
+ -I$(TOPDIR)
diff --git a/board/tqc/tqm8272/config.mk b/board/tqc/tqm8272/config.mk
index 05c5f0cb89..0ea134294d 100644
--- a/board/tqc/tqm8272/config.mk
+++ b/board/tqc/tqm8272/config.mk
@@ -29,6 +29,7 @@
# for the "final" configuration, with U-Boot in flash, or the address
# in RAM where U-Boot is loaded at for debugging.
#
-TEXT_BASE = 0x40000000
+CONFIG_SYS_TEXT_BASE = 0x40000000
-PLATFORM_CPPFLAGS += -DTEXT_BASE=$(TEXT_BASE) -I$(TOPDIR)
+PLATFORM_CPPFLAGS += -DCONFIG_SYS_TEXT_BASE=$(CONFIG_SYS_TEXT_BASE) \
+ -I$(TOPDIR)
diff --git a/board/tqc/tqm834x/config.mk b/board/tqc/tqm834x/config.mk
index f172c4ede0..868fc86fd8 100644
--- a/board/tqc/tqm834x/config.mk
+++ b/board/tqc/tqm834x/config.mk
@@ -20,4 +20,4 @@
# MA 02111-1307 USA
#
-TEXT_BASE = 0x80000000
+CONFIG_SYS_TEXT_BASE = 0x80000000
diff --git a/board/tqc/tqm85xx/config.mk b/board/tqc/tqm85xx/config.mk
index 37b7b234ae..7d62544910 100644
--- a/board/tqc/tqm85xx/config.mk
+++ b/board/tqc/tqm85xx/config.mk
@@ -25,7 +25,7 @@
# tqm85xx board
#
ifeq ($(CONFIG_TQM8548_BE),y)
-TEXT_BASE = 0xfff80000
+CONFIG_SYS_TEXT_BASE = 0xfff80000
else
-TEXT_BASE = 0xfffc0000
+CONFIG_SYS_TEXT_BASE = 0xfffc0000
endif
diff --git a/board/tqc/tqm8xx/config.mk b/board/tqc/tqm8xx/config.mk
index 9d6080b84a..017dc83a2b 100644
--- a/board/tqc/tqm8xx/config.mk
+++ b/board/tqc/tqm8xx/config.mk
@@ -25,4 +25,4 @@
# TQM8xxL boards
#
-TEXT_BASE = 0x40000000
+CONFIG_SYS_TEXT_BASE = 0x40000000