mirror of
https://xff.cz/git/u-boot/
synced 2025-09-01 00:32:04 +02:00
Replace CONFIG_RELOC_FIXUP_WORKS by CONFIG_NEEDS_MANUAL_RELOC
By now, the majority of architectures have working relocation support, so the few remaining architectures have become exceptions. To make this more obvious, we make working relocation now the default case, and flag the remaining cases with CONFIG_NEEDS_MANUAL_RELOC. Signed-off-by: Wolfgang Denk <wd@denx.de> Tested-by: Heiko Schocher <hs@denx.de> Tested-by: Reinhard Meyer <u-boot@emk-elektronik.de>
This commit is contained in:
@@ -193,7 +193,7 @@ int stdio_deregister(char *devname)
|
||||
|
||||
int stdio_init (void)
|
||||
{
|
||||
#if !defined(CONFIG_RELOC_FIXUP_WORKS)
|
||||
#if defined(CONFIG_NEEDS_MANUAL_RELOC)
|
||||
/* already relocated for current ARM implementation */
|
||||
ulong relocation_offset = gd->reloc_off;
|
||||
int i;
|
||||
@@ -203,7 +203,7 @@ int stdio_init (void)
|
||||
stdio_names[i] = (char *) (((ulong) stdio_names[i]) +
|
||||
relocation_offset);
|
||||
}
|
||||
#endif /* !CONFIG_RELOC_FIXUP_WORKS */
|
||||
#endif /* CONFIG_NEEDS_MANUAL_RELOC */
|
||||
|
||||
/* Initialize the list */
|
||||
INIT_LIST_HEAD(&(devs.list));
|
||||
|
Reference in New Issue
Block a user