diff options
author | Robert Schwebel (Laptop) <rsc@thebe.(none)> | 2007-09-25 22:01:01 +0200 |
---|---|---|
committer | Robert Schwebel (Laptop) <rsc@thebe.(none)> | 2007-09-25 22:01:01 +0200 |
commit | e6ca62360ef526b587f706e49d25bba08d33ee35 (patch) | |
tree | 7edba92643c364be111e305ac58c1ec90c2d6ed5 /arch/arm | |
parent | a487eaa9c81b28c9b58ca64c8779ba8ca99447fd (diff) | |
download | barebox-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/arm')
-rw-r--r-- | arch/arm/Kconfig | 12 | ||||
-rw-r--r-- | arch/arm/configs/netx_nxdb500_defconfig | 2 | ||||
-rw-r--r-- | arch/arm/configs/scb9328_defconfig | 2 |
3 files changed, 8 insertions, 8 deletions
diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig index 35aba95f80..12996cdf0d 100644 --- a/arch/arm/Kconfig +++ b/arch/arm/Kconfig @@ -1,10 +1,10 @@ -config TEXT_BASE - string - default "0x08f00000" if MACH_MX1ADS - default "0x08f80000" if MACH_SCB9328 - default "0x81f00000" if MACH_NXDB500 - default "0x21e00000" if MACH_ECO920 +config ARCH_TEXT_BASE + hex + default 0x08f00000 if MACH_MX1ADS + default 0x08f80000 if MACH_SCB9328 + default 0x81f00000 if MACH_NXDB500 + default 0x21e00000 if MACH_ECO920 config BOARDINFO default "Synertronixx scb9328" if MACH_SCB9328 diff --git a/arch/arm/configs/netx_nxdb500_defconfig b/arch/arm/configs/netx_nxdb500_defconfig index 3e67b73bb6..70af580475 100644 --- a/arch/arm/configs/netx_nxdb500_defconfig +++ b/arch/arm/configs/netx_nxdb500_defconfig @@ -3,7 +3,7 @@ # U-Boot version: 2.0.0-git # Sat Sep 22 15:53:21 2007 # -CONFIG_TEXT_BASE="0x08f80000" +CONFIG_TEXT_BASE=0x08f80000 CONFIG_BOARDINFO="Hilscher Netx nxdb500" CONFIG_ARM=y CONFIG_ARM926EJS=y diff --git a/arch/arm/configs/scb9328_defconfig b/arch/arm/configs/scb9328_defconfig index a50829a614..b76816ed30 100644 --- a/arch/arm/configs/scb9328_defconfig +++ b/arch/arm/configs/scb9328_defconfig @@ -3,7 +3,7 @@ # Linux kernel version: 2.6.20-rc5 # Tue Jun 26 00:41:32 2007 # -CONFIG_TEXT_BASE="0x08f80000" +CONFIG_TEXT_BASE=0x08f80000 CONFIG_ARM=y CONFIG_ARM920T=y CONFIG_ARCH_IMX=y |