summaryrefslogtreecommitdiff
path: root/arch/Kconfig
diff options
context:
space:
mode:
authorMichal Simek <michal.simek@xilinx.com>2020-11-04 15:33:20 +0100
committerTom Rini <trini@konsulko.com>2020-11-04 10:13:44 -0500
commit35b7ca768f7d826b77d5d3d6ccd6b1b8ed21f186 (patch)
treed8274d6ddd3c681f4b142f13decd23fe04e665ac /arch/Kconfig
parent46ce9e777c1314ccb78906992b94001194eaa87b (diff)
downloadu-boot-35b7ca768f7d826b77d5d3d6ccd6b1b8ed21f186.tar.gz
u-boot-35b7ca768f7d826b77d5d3d6ccd6b1b8ed21f186.tar.bz2
u-boot-35b7ca768f7d826b77d5d3d6ccd6b1b8ed21f186.zip
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>
Diffstat (limited to 'arch/Kconfig')
-rw-r--r--arch/Kconfig5
1 files changed, 5 insertions, 0 deletions
diff --git a/arch/Kconfig b/arch/Kconfig
index 683e384319..3b9fcce980 100644
--- a/arch/Kconfig
+++ b/arch/Kconfig
@@ -4,6 +4,9 @@ config CREATE_ARCH_SYMLINK
config HAVE_ARCH_IOREMAP
bool
+config NEEDS_MANUAL_RELOC
+ bool
+
choice
prompt "Architecture select"
default SANDBOX
@@ -26,12 +29,14 @@ config ARM
config M68K
bool "M68000 architecture"
select HAVE_PRIVATE_LIBGCC
+ select NEEDS_MANUAL_RELOC
select SYS_BOOT_GET_CMDLINE
select SYS_BOOT_GET_KBD
select SUPPORT_OF_CONTROL
config MICROBLAZE
bool "MicroBlaze architecture"
+ select NEEDS_MANUAL_RELOC
select SUPPORT_OF_CONTROL
imply CMD_IRQ