ARM: fix XIP_KERNEL dependencies
authorArnd Bergmann <arnd@arndb.de>
Thu, 18 Aug 2022 14:17:09 +0000 (16:17 +0200)
committerArnd Bergmann <arnd@arndb.de>
Tue, 30 Aug 2022 09:18:06 +0000 (11:18 +0200)
commit5408445b1e4d511d835ecbae2fbc9fb9976dbcb9
tree76c8f353ec5a0ccedcd11dbce01f50da80c04548
parent6fd09c9afa49b343d17cecedd7879d097f37f2a9
ARM: fix XIP_KERNEL dependencies

CONFIG_XIP_KERNEL does not work with any option that involves patching
the read-only kernel .text.

Since at least CONFIG_SMP_ON_UP is required in certain configurations,
flip the dependency to always allow the .text patching options but make
XIP_KERNEL have the dependency instead.

This is a prerequisite for allowing CONFIG_ARCH_MULTIPLATFORM to
be disabled.

Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
arch/arm/Kconfig