Conditionally perform common relocation fixups
Add #ifdefs where necessary to not perform relocation fixups. This allows boards/architectures which support relocation to trim a decent chunk of code. Note that this patch doesn't add #ifdefs to architecture-specific code which does not support relocation. Signed-off-by: Peter Tyser <ptyser@xes-inc.com>
This commit is contained in:
committed by
Wolfgang Denk
parent
3cbcfa70b1
commit
521af04d85
@@ -393,6 +393,7 @@ int post_log (char *format, ...)
|
||||
return 0;
|
||||
}
|
||||
|
||||
#ifndef CONFIG_RELOC_FIXUP_WORKS
|
||||
void post_reloc (void)
|
||||
{
|
||||
unsigned int i;
|
||||
@@ -437,6 +438,7 @@ void post_reloc (void)
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
||||
|
||||
/*
|
||||
|
||||
Reference in New Issue
Block a user