aboutsummaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorTom Rini2013-02-15 12:23:42 -0500
committerTom Rini2013-02-15 12:23:42 -0500
commit9f024f62e4604274a23213dcee30016092e32e7b (patch)
treeb276e71216b06494aa78d45d740b66e31c566233 /arch
parent96dfc0633aabb4f8fb720d39d9deb29dde08749b (diff)
parent455fbfb668fc8760f45ea099eb182096f3632b15 (diff)
Merge branch 'fixes' of git://git.denx.de/u-boot-mips
Diffstat (limited to 'arch')
-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 2ec0f7638c5..f19f198ae98 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 */