diff options
Diffstat (limited to 'arch/mips/lib/board.c')
| -rw-r--r-- | arch/mips/lib/board.c | 5 | 
1 files changed, 2 insertions, 3 deletions
| diff --git a/arch/mips/lib/board.c b/arch/mips/lib/board.c index 0044b1945..f31712415 100644 --- a/arch/mips/lib/board.c +++ b/arch/mips/lib/board.c @@ -276,7 +276,6 @@ void board_init_f(ulong bootflag)  void board_init_r (gd_t *id, ulong dest_addr)  { -	cmd_tbl_t *cmdtp;  #ifndef CONFIG_SYS_NO_FLASH  	ulong size;  #endif @@ -296,13 +295,13 @@ void board_init_r (gd_t *id, ulong dest_addr)  	monitor_flash_len = (ulong)&uboot_end_data - dest_addr; -#if !defined(CONFIG_RELOC_FIXUP_WORKS) +#if defined(CONFIG_NEEDS_MANUAL_RELOC)  	/*  	 * We have to relocate the command table manually  	 */  	fixup_cmdtable(&__u_boot_cmd_start,  		(ulong)(&__u_boot_cmd_end - &__u_boot_cmd_start)); -#endif /* !defined(CONFIG_RELOC_FIXUP_WORKS) */ +#endif /* defined(CONFIG_NEEDS_MANUAL_RELOC) */  	/* there are some other pointer constants we must deal with */  #ifndef CONFIG_ENV_IS_NOWHERE |