mirror of
https://github.com/linux-sunxi/u-boot-sunxi.git
synced 2024-02-12 11:16:03 +08: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:
@ -121,7 +121,7 @@ static int __init compr_init(struct ubifs_compressor *compr)
|
||||
{
|
||||
ubifs_compressors[compr->compr_type] = compr;
|
||||
|
||||
#ifndef CONFIG_RELOC_FIXUP_WORKS
|
||||
#ifdef CONFIG_NEEDS_MANUAL_RELOC
|
||||
ubifs_compressors[compr->compr_type]->name += gd->reloc_off;
|
||||
ubifs_compressors[compr->compr_type]->capi_name += gd->reloc_off;
|
||||
ubifs_compressors[compr->compr_type]->decompress += gd->reloc_off;
|
||||
|
Reference in New Issue
Block a user