mirror of
https://github.com/u-boot/u-boot.git
synced 2025-04-16 01:44:34 +00:00
common: hush: Remove unused NEEDS_MANUAL_RELOC code bits
The last user of the NEEDS_MANUAL_RELOC has been removed in commit
26af162ac8
("arch: m68k: Implement relocation")
Remove now unused NEEDS_MANUAL_RELOC code.
Signed-off-by: Marek Vasut <marek.vasut+renesas@mailbox.org>
This commit is contained in:
parent
49c59dd5ca
commit
bb7c4dcc83
1 changed files with 0 additions and 16 deletions
|
@ -3305,19 +3305,6 @@ int parse_file_outer(void)
|
|||
}
|
||||
|
||||
#ifdef __U_BOOT__
|
||||
#ifdef CONFIG_NEEDS_MANUAL_RELOC
|
||||
static void u_boot_hush_reloc(void)
|
||||
{
|
||||
unsigned long addr;
|
||||
struct reserved_combo *r;
|
||||
|
||||
for (r=reserved_list; r<reserved_list+NRES; r++) {
|
||||
addr = (ulong) (r->literal) + gd->reloc_off;
|
||||
r->literal = (char *)addr;
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
||||
int u_boot_hush_start(void)
|
||||
{
|
||||
if (top_vars == NULL) {
|
||||
|
@ -3327,9 +3314,6 @@ int u_boot_hush_start(void)
|
|||
top_vars->next = NULL;
|
||||
top_vars->flg_export = 0;
|
||||
top_vars->flg_read_only = 1;
|
||||
#ifdef CONFIG_NEEDS_MANUAL_RELOC
|
||||
u_boot_hush_reloc();
|
||||
#endif
|
||||
}
|
||||
return 0;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue