diff options
author | Wolfgang Denk <wd@denx.de> | 2010-10-07 23:51:12 +0400 |
---|---|---|
committer | Wolfgang Denk <wd@denx.de> | 2010-10-19 00:07:10 +0400 |
commit | 14d0a02a168b36e87665b8d7f42fa3e88263d26d (patch) | |
tree | 576843229c10eb3e8836dc40a12d3f6f0c26a3ce /arch/sparc/cpu/leon2/prom.c | |
parent | d24f2d321d8e78e990d100000d8efc4845c78b1c (diff) | |
download | u-boot-14d0a02a168b36e87665b8d7f42fa3e88263d26d.tar.xz |
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 'arch/sparc/cpu/leon2/prom.c')
-rw-r--r-- | arch/sparc/cpu/leon2/prom.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/sparc/cpu/leon2/prom.c b/arch/sparc/cpu/leon2/prom.c index 1a6c7f79cd..965a2fa6d8 100644 --- a/arch/sparc/cpu/leon2/prom.c +++ b/arch/sparc/cpu/leon2/prom.c @@ -50,9 +50,9 @@ extern int __prom_start; #define PROM_SIZE_MASK (PROM_OFFS-1) #define __va(x) ( \ (void *)( ((unsigned long)(x))-PROM_OFFS+ \ - (CONFIG_SYS_PROM_OFFSET-phys_base)+PAGE_OFFSET-TEXT_BASE ) \ + (CONFIG_SYS_PROM_OFFSET-phys_base)+PAGE_OFFSET-CONFIG_SYS_TEXT_BASE ) \ ) -#define __phy(x) ((void *)(((unsigned long)(x))-PROM_OFFS+CONFIG_SYS_PROM_OFFSET-TEXT_BASE)) +#define __phy(x) ((void *)(((unsigned long)(x))-PROM_OFFS+CONFIG_SYS_PROM_OFFSET-CONFIG_SYS_TEXT_BASE)) struct property { char *name; |