arch: Move NEEDS_MANUAL_RELOC symbol to Kconfig
authorMichal Simek <michal.simek@xilinx.com>
Wed, 4 Nov 2020 14:33:20 +0000 (15:33 +0100)
committerTom Rini <trini@konsulko.com>
Wed, 4 Nov 2020 15:13:44 +0000 (10:13 -0500)
commit35b7ca768f7d826b77d5d3d6ccd6b1b8ed21f186
treed8274d6ddd3c681f4b142f13decd23fe04e665ac
parent46ce9e777c1314ccb78906992b94001194eaa87b
arch: Move NEEDS_MANUAL_RELOC symbol to Kconfig

CONFIG_NEEDS_MANUAL_RELOC macro was out of Kconfig. Move it there to be
able to use compile-time checks to reduce the number of build paths.

Fixes: f9a882438966 ("dm: core: Convert #ifdef to if() in root.c") for Microblaze
Reviewed-by: Tom Rini <trini@konsulko.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
arch/Kconfig
arch/m68k/include/asm/config.h
arch/microblaze/include/asm/config.h
scripts/config_whitelist.txt