mirror of
https://github.com/Stichting-MINIX-Research-Foundation/u-boot.git
synced 2025-09-13 05:55:02 -04:00
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>
This commit is contained in:
parent
9c748e02d9
commit
455fbfb668
@ -249,9 +249,6 @@ void board_init_r(gd_t *id, ulong dest_addr)
|
|||||||
{
|
{
|
||||||
#ifndef CONFIG_SYS_NO_FLASH
|
#ifndef CONFIG_SYS_NO_FLASH
|
||||||
ulong size;
|
ulong size;
|
||||||
#endif
|
|
||||||
#ifndef CONFIG_ENV_IS_NOWHERE
|
|
||||||
extern char *env_name_spec;
|
|
||||||
#endif
|
#endif
|
||||||
bd_t *bd;
|
bd_t *bd;
|
||||||
|
|
||||||
@ -266,11 +263,6 @@ void board_init_r(gd_t *id, ulong dest_addr)
|
|||||||
|
|
||||||
serial_initialize();
|
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;
|
bd = gd->bd;
|
||||||
|
|
||||||
/* The Malloc area is immediately below the monitor copy in DRAM */
|
/* The Malloc area is immediately below the monitor copy in DRAM */
|
||||||
|
Loading…
x
Reference in New Issue
Block a user