summaryrefslogtreecommitdiffstats
path: root/arch/mips
diff options
context:
space:
mode:
authorDaniel Schwierzeck <daniel.schwierzeck@gmail.com>2013-02-15 17:53:34 +0100
committerDaniel Schwierzeck <daniel.schwierzeck@gmail.com>2013-02-15 18:00:04 +0100
commit455fbfb668fc8760f45ea099eb182096f3632b15 (patch)
treefc8a8ef6c316fcd9250d75861e889d2bbb991cc0 /arch/mips
parent9c748e02d99476e6a08d55eadfd8776edffe1e2e (diff)
downloadtalos-obmc-uboot-455fbfb668fc8760f45ea099eb182096f3632b15.tar.gz
talos-obmc-uboot-455fbfb668fc8760f45ea099eb182096f3632b15.zip
MIPS: board.c: remove manual relocation of env_name_spec
Remove the manual relocation of env_name_spec. This has been missed in the previous patch series for introducing dynamic relocation on MIPS. Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
Diffstat (limited to 'arch/mips')
-rw-r--r--arch/mips/lib/board.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/arch/mips/lib/board.c b/arch/mips/lib/board.c
index 2ec0f7638c..f19f198ae9 100644
--- a/arch/mips/lib/board.c
+++ b/arch/mips/lib/board.c
@@ -250,9 +250,6 @@ void board_init_r(gd_t *id, ulong dest_addr)
#ifndef CONFIG_SYS_NO_FLASH
ulong size;
#endif
-#ifndef CONFIG_ENV_IS_NOWHERE
- extern char *env_name_spec;
-#endif
bd_t *bd;
gd = id;
@@ -266,11 +263,6 @@ void board_init_r(gd_t *id, ulong dest_addr)
serial_initialize();
- /* there are some other pointer constants we must deal with */
-#ifndef CONFIG_ENV_IS_NOWHERE
- env_name_spec += gd->reloc_off;
-#endif
-
bd = gd->bd;
/* The Malloc area is immediately below the monitor copy in DRAM */
OpenPOWER on IntegriCloud