Skip to contentSkip to conversation

MIPS: board.c: remove manual relocation of env_name_spec

PATCH New Daniel Schwierzeck 1 participant 1 message Feb 15, 2013 MIPS

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 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.

---
 arch/mips/lib/board.c | 8 --------
 1 file changed, 8 deletions(-)
arch/mips/lib/board.c +0 -8
index 7a656f6..6c65d97 100644
@@ -267,9 +267,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;
@@ -283,11 +280,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 */
Signature · 1 line
1.8.1.1