ARM: remove support for NOMMU ARMv4/v5
authorArnd Bergmann <arnd@arndb.de>
Wed, 9 Mar 2022 13:20:20 +0000 (14:20 +0100)
committerArnd Bergmann <arnd@arndb.de>
Thu, 17 Mar 2022 08:13:13 +0000 (09:13 +0100)
commit2f618d5ef5dd05e2380ee627814de90d5a33c3f2
tree5e2b444654accf60d2a4d7e3dc1620931f2a69f4
parenta483b1b232e616d0095a59b987ffc739bc1b56bc
ARM: remove support for NOMMU ARMv4/v5

It is possible to build MMU-less kernels for Cortex-M base
microcrontrollers as well as a couple of older platforms that
have not been converted to CONFIG_ARCH_MULTIPLATFORM,
specifically ep93xx, footbridge, dove, sa1100 and s3c24xx.

It seems unlikely that anybody has tested those configurations
in recent years, as even building them is frequently broken.
A patch I submitted caused another build time regression
in this configuration. I sent a patch for that, but it seems
better to also remove the option entirely, leaving ARMv7-M
as the only supported Arm NOMMU target for simplicity.

A couple of platforms have dependencies on CONFIG_MMU, those
can all be removed now. Notably, mach-integrator tries to
support MMU-less CPU cores, but those have not actually been
selectable for a long time.

This addresses several build failures in randconfig builds that
have accumulated over the years.

Cc: Vladimir Murzin <vladimir.murzin@arm.com>
Cc: Russell King <linux@armlinux.org.uk>
Acked-by: Geert Uytterhoeven <geert+renesas@glider.be>
Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
Reviewed by: Ard Biesheuvel <ardb@kernel.org>
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
arch/arm/Kconfig
arch/arm/mach-bcm/Kconfig
arch/arm/mach-footbridge/include/mach/hardware.h
arch/arm/mach-footbridge/include/mach/io.h [deleted file]
arch/arm/mach-integrator/Kconfig
arch/arm/mach-integrator/hardware.h
arch/arm/mach-nspire/Kconfig
arch/arm/mach-orion5x/Kconfig
arch/arm/mach-shmobile/Kconfig
arch/arm/mach-ux500/Kconfig