summaryrefslogtreecommitdiffstats
path: root/arch/ppc
diff options
context:
space:
mode:
authorRobert Schwebel (Laptop) <rsc@thebe.(none)>2007-09-25 22:01:01 +0200
committerRobert Schwebel (Laptop) <rsc@thebe.(none)>2007-09-25 22:01:01 +0200
commite6ca62360ef526b587f706e49d25bba08d33ee35 (patch)
tree7edba92643c364be111e305ac58c1ec90c2d6ed5 /arch/ppc
parenta487eaa9c81b28c9b58ca64c8779ba8ca99447fd (diff)
downloadbarebox-e6ca62360ef526b587f706e49d25bba08d33ee35.tar.gz
barebox-e6ca62360ef526b587f706e49d25bba08d33ee35.tar.xz
Subject: clean up TEXT_BASE
This patch makes TEXT_BASE a consistent per-arch config switch. Additionally, it converts all TEXT_BASE occurences from string to hex. Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
Diffstat (limited to 'arch/ppc')
-rw-r--r--arch/ppc/Kconfig6
-rw-r--r--arch/ppc/configs/phycore_mpc5200b_tiny_defconfig2
2 files changed, 4 insertions, 4 deletions
diff --git a/arch/ppc/Kconfig b/arch/ppc/Kconfig
index c6f0a50656..fc2048bfda 100644
--- a/arch/ppc/Kconfig
+++ b/arch/ppc/Kconfig
@@ -2,9 +2,9 @@
config BOARDINFO
default "Phytec Phycore mpc5200b tiny" if MACH_PHYCORE_MPC5200B_TINY
-config TEXT_BASE
- default 0 if RELOCATABLE
- default 0x1000000 if MACH_PHYCORE_MPC5200B_TINY
+config ARCH_TEXT_BASE
+ default 0x00000000 if RELOCATABLE
+ default 0x01000000 if MACH_PHYCORE_MPC5200B_TINY
config MPC5XXX_EARLY_CONSOLE
bool
diff --git a/arch/ppc/configs/phycore_mpc5200b_tiny_defconfig b/arch/ppc/configs/phycore_mpc5200b_tiny_defconfig
index 65f2073aaf..cd04e16f30 100644
--- a/arch/ppc/configs/phycore_mpc5200b_tiny_defconfig
+++ b/arch/ppc/configs/phycore_mpc5200b_tiny_defconfig
@@ -3,7 +3,7 @@
# U-Boot version: 2.0.0-trunk
# Sun Jul 1 14:40:26 2007
#
-CONFIG_TEXT_BASE="0x1000000"
+CONFIG_TEXT_BASE=0x1000000
CONFIG_ARCH_MPC5200=y
CONFIG_MPC5200=y
CONFIG_CACHELINE_SIZE=32