summaryrefslogtreecommitdiffstats
path: root/board/cogent
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/cogent
parentd24f2d321d8e78e990d100000d8efc4845c78b1c (diff)
downloadblackbird-obmc-uboot-14d0a02a168b36e87665b8d7f42fa3e88263d26d.tar.gz
blackbird-obmc-uboot-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/cogent')
-rw-r--r--board/cogent/README4
-rw-r--r--board/cogent/config.mk5
2 files changed, 5 insertions, 4 deletions
diff --git a/board/cogent/README b/board/cogent/README
index 31ca187b59..4343f733ff 100644
--- a/board/cogent/README
+++ b/board/cogent/README
@@ -87,11 +87,11 @@ want the serial console on motherboard serial port A or on one of the
8xx SMC ports, and set CONFIG_8xx_CONS_{SMC1,SMC2,NONE} accordingly
(NONE means use Cogent motherboard serial port A).
-Then edit the file "cogent/config.mk". Firstly, set TEXT_BASE to be
+Then edit the file "cogent/config.mk". Firstly, set CONFIG_SYS_TEXT_BASE to be
the base address of the EPROM for the CPU module. This should be the
same as the value selected for CONFIG_SYS_MONITOR_BASE in
"include/config_cogent_*.h" (in fact, I have made this automatic via
-the -DTEXT_BASE=... option in CPPFLAGS).
+the -CONFIG_SYS_TEXT_BASE=... option in CPPFLAGS).
Finally, set the values of the make variables $(CMA_MB) and $(CMA_IOMS).
diff --git a/board/cogent/config.mk b/board/cogent/config.mk
index 35a5ed3d06..0a5f286672 100644
--- a/board/cogent/config.mk
+++ b/board/cogent/config.mk
@@ -26,8 +26,9 @@
#
# Boot EPROM location
-TEXT_BASE = 0xfff00000
+CONFIG_SYS_TEXT_BASE = 0xfff00000
-PLATFORM_CPPFLAGS += -DTEXT_BASE=$(TEXT_BASE) -I$(TOPDIR)
+PLATFORM_CPPFLAGS += -DCONFIG_SYS_TEXT_BASE=$(CONFIG_SYS_TEXT_BASE) \
+ -I$(TOPDIR)
LDSCRIPT := $(SRCTREE)/board/cogent/u-boot.lds
OpenPOWER on IntegriCloud