summaryrefslogtreecommitdiff
path: root/board/tqc/tqm5200
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/tqm5200
parentd24f2d321d8e78e990d100000d8efc4845c78b1c (diff)
downloadu-boot-imx-14d0a02a168b36e87665b8d7f42fa3e88263d26d.zip
u-boot-imx-14d0a02a168b36e87665b8d7f42fa3e88263d26d.tar.gz
u-boot-imx-14d0a02a168b36e87665b8d7f42fa3e88263d26d.tar.bz2
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/tqm5200')
-rw-r--r--board/tqc/tqm5200/config.mk13
1 files changed, 7 insertions, 6 deletions
diff --git a/board/tqc/tqm5200/config.mk b/board/tqc/tqm5200/config.mk
index d72dfe7..d9522ad 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