[PATCH 0/5] ARM: clean up after multiplatform changes

Arnd Bergmann arnd at kernel.org
Thu Aug 18 07:56:11 PDT 2022


From: Arnd Bergmann <arnd at arndb.de>

Now that everything except StrongARM is unified under
CONFIG_ARCH_MULTIPLATFORM, the option is rather meaningless
in its current form.

Rework the Kconfig logic to make this useful again, similar
to the way that RISC-V has CONFIG_NONPORTABLE (with the
opposite polarity), this now controls the visibility of
options that get in the way of building generic kernels,
while allowing custom kernels.

One side-effect is that 'randconfig' builds now rarely hit
strongarm machines, rather than testing them three quarters
of the time.

Arnd Bergmann (5):
  ARM: remove obsolete Makefile.boot infrastructure
  ARM: simplify machdirs/platdirs handling
  ARM: Kconfig: clean up platform selection
  ARM: fix CPU_V6 dependencies
  ARM: make ARCH_MULTIPLATFORM user-visible

 arch/arm/Kconfig                       | 123 ++++++-------------------
 arch/arm/Kconfig.debug                 |   8 +-
 arch/arm/Makefile                      |  40 +++-----
 arch/arm/boot/Makefile                 |  27 ++----
 arch/arm/boot/bootp/Makefile           |  35 ++++++-
 arch/arm/configs/assabet_defconfig     |   2 +
 arch/arm/configs/badge4_defconfig      |   2 +
 arch/arm/configs/cerfcube_defconfig    |   2 +
 arch/arm/configs/collie_defconfig      |   2 +
 arch/arm/configs/footbridge_defconfig  |   2 +
 arch/arm/configs/h3600_defconfig       |   2 +
 arch/arm/configs/hackkit_defconfig     |   2 +
 arch/arm/configs/jornada720_defconfig  |   2 +
 arch/arm/configs/lart_defconfig        |   2 +
 arch/arm/configs/neponset_defconfig    |   2 +
 arch/arm/configs/netwinder_defconfig   |   2 +
 arch/arm/configs/pleb_defconfig        |   2 +
 arch/arm/configs/rpc_defconfig         |   2 +
 arch/arm/configs/shannon_defconfig     |   2 +
 arch/arm/configs/simpad_defconfig      |   2 +
 arch/arm/kernel/devtree.c              |   2 -
 arch/arm/mach-at91/Makefile.boot       |   4 -
 arch/arm/mach-davinci/Makefile.boot    |   8 --
 arch/arm/mach-dove/Makefile            |   2 +-
 arch/arm/mach-dove/Makefile.boot       |   4 -
 arch/arm/mach-ep93xx/Makefile.boot     |   2 -
 arch/arm/mach-footbridge/Kconfig       |  19 +++-
 arch/arm/mach-footbridge/Makefile.boot |   5 -
 arch/arm/mach-imx/Kconfig              |   3 +-
 arch/arm/mach-imx/Makefile.boot        |   0
 arch/arm/mach-iop32x/Makefile.boot     |   4 -
 arch/arm/mach-lpc18xx/Makefile.boot    |   4 -
 arch/arm/mach-lpc32xx/Makefile.boot    |   4 -
 arch/arm/mach-mv78xx0/Makefile         |   2 +-
 arch/arm/mach-mvebu/Makefile           |   2 +-
 arch/arm/mach-nspire/Kconfig           |   2 +-
 arch/arm/mach-omap1/Makefile.boot      |   4 -
 arch/arm/mach-omap2/Kconfig            |   1 +
 arch/arm/mach-orion5x/Makefile         |   2 +-
 arch/arm/mach-rpc/Kconfig              |  21 +++++
 arch/arm/mach-rpc/Makefile.boot        |   5 -
 arch/arm/mach-s3c/Makefile.boot        |   9 --
 arch/arm/mach-sa1100/Kconfig           |  25 ++++-
 arch/arm/mach-sa1100/Makefile.boot     |   9 --
 arch/arm/mach-stm32/Makefile.boot      |   4 -
 arch/arm/mach-versatile/Kconfig        |   2 +
 arch/arm/mach-versatile/Makefile.boot  |   4 -
 arch/arm/mach-vt8500/Makefile.boot     |   4 -
 48 files changed, 181 insertions(+), 239 deletions(-)
 delete mode 100644 arch/arm/mach-at91/Makefile.boot
 delete mode 100644 arch/arm/mach-davinci/Makefile.boot
 delete mode 100644 arch/arm/mach-dove/Makefile.boot
 delete mode 100644 arch/arm/mach-ep93xx/Makefile.boot
 delete mode 100644 arch/arm/mach-footbridge/Makefile.boot
 delete mode 100644 arch/arm/mach-imx/Makefile.boot
 delete mode 100644 arch/arm/mach-iop32x/Makefile.boot
 delete mode 100644 arch/arm/mach-lpc18xx/Makefile.boot
 delete mode 100644 arch/arm/mach-lpc32xx/Makefile.boot
 delete mode 100644 arch/arm/mach-omap1/Makefile.boot
 create mode 100644 arch/arm/mach-rpc/Kconfig
 delete mode 100644 arch/arm/mach-rpc/Makefile.boot
 delete mode 100644 arch/arm/mach-s3c/Makefile.boot
 delete mode 100644 arch/arm/mach-sa1100/Makefile.boot
 delete mode 100644 arch/arm/mach-stm32/Makefile.boot
 delete mode 100644 arch/arm/mach-versatile/Makefile.boot
 delete mode 100644 arch/arm/mach-vt8500/Makefile.boot

-- 
2.29.2

Cc: Russell King <linux at armlinux.org.uk>
Cc: Linus Walleij <linus.walleij at linaro.org>
Cc: Geert Uytterhoeven <geert+renesas at glider.be>
Cc: Krzysztof Kozlowski <krzysztof.kozlowski at linaro.org>
Cc: Ard Biesheuvel <ardb at kernel.org>
Cc: Sekhar Nori <nsekhar at ti.com>
Cc: Bartosz Golaszewski <brgl at bgdev.pl>
Cc: Shawn Guo <shawnguo at kernel.org>
Cc: Sascha Hauer <s.hauer at pengutronix.de>
Cc: Pengutronix Kernel Team <kernel at pengutronix.de>
Cc: Andrew Lunn <andrew at lunn.ch>
Cc: Gregory Clement <gregory.clement at bootlin.com>
Cc: Sebastian Hesselbarth <sebastian.hesselbarth at gmail.com>



More information about the linux-arm-kernel mailing list