From: Arnd Bergmann <arnd@xxxxxxxx> Based on the recent mailing list discussion I started [1], I have now turned the findings into a set of patches that marks most board files as 'depends on UNUSED_BOARD_FILES', leaving only 38 of the 196 boards. Please double-check the lists for each platform to make sure I got the right set. The only functional change here is in the Kconfig dependencies, so I would still apply this as a late fix for the coming merge window, to give any remaining users the most time to run into this and speak up in case any of these boards are actually still in use. Arnd [1] https://lore.kernel.org/linux-arm-kernel/CAK8P3a0Z9vGEQbVRBo84bSyPFM-LF+hs5w8ZA51g2Z+NsdtDQA@xxxxxxxxxxxxxx/ Cc: Aaro Koskinen <aaro.koskinen@xxxxxx> Cc: Alexander Sverdlin <alexander.sverdlin@xxxxxxxxx> Cc: Alim Akhtar <alim.akhtar@xxxxxxxxxxx> Cc: Andrew Lunn <andrew@xxxxxxx> Cc: Bartosz Golaszewski <brgl@xxxxxxxx> Cc: Dan Williams <dan.j.williams@xxxxxxxxx> Cc: Daniel Mack <daniel@xxxxxxxxxx> Cc: Gregory Clement <gregory.clement@xxxxxxxxxxx> Cc: Haojian Zhuang <haojian.zhuang@xxxxxxxxxx> Cc: Hartley Sweeten <hsweeten@xxxxxxxxxxxxxxxxxxx> Cc: Janusz Krzysztofik <jmkrzyszt@xxxxxxxxx> Cc: Kristoffer Ericson <kristoffer.ericson@xxxxxxxxx> Cc: Krzysztof Halasa <khalasa@xxxxxxx> Cc: Krzysztof Kozlowski <krzysztof.kozlowski@xxxxxxxxxx> Cc: Laurence de Bruxelles <lfdebrux@xxxxxxxxx> Cc: Lennert Buytenhek <buytenh@xxxxxxxxxxxxxx> Cc: Linus Walleij <linusw@xxxxxxxxxx> Cc: Lubomir Rintel <lkundrak@xxxxx> Cc: Lukasz Majewski <lukma@xxxxxxx> Cc: Marc Zyngier <maz@xxxxxxxxxx> Cc: Mauri Sandberg <maukka@xxxxxxxxxxxx> Cc: Nikita Shubin <nikita.shubin@xxxxxxxxxxx> Cc: Robert Jarzmik <robert.jarzmik@xxxxxxx> Cc: Russell King <linux@xxxxxxxxxxxxxxx> Cc: Sebastian Hesselbarth <sebastian.hesselbarth@xxxxxxxxx> Cc: Sekhar Nori <nsekhar@xxxxxx> Cc: Tony Lindgren <tony@xxxxxxxxxxx> Cc: linux-omap@xxxxxxxxxxxxxxx Cc: linux-samsung-soc@xxxxxxxxxxxxxxx Arnd Bergmann (13): ARM: add ATAGS dependencies to non-DT platforms ARM: add CONFIG_UNUSED_BOARD_FILES ARM: pxa: add Kconfig dependencies for ATAGS based boards ARM: orion: add ATAGS dependencies ARM: davinci: mark all ATAGS board files as unused ARM: ep93xx: mark most board files as unused ARM: mmp: mark all board files for removal ARM: footbridge: mark cats board for removal ARM: sa1100: mark most boards as unused ARM: omap1: add Kconfig dependencies for unused boards ARM: s3c: mark most board files as unused ARM: iop32x: mark as unused ARM: cns3xxx: add CONFIG_UNUSED_BOARD_FILES dependency arch/arm/Kconfig | 21 ++++++- arch/arm/configs/badge4_defconfig | 1 + arch/arm/configs/cerfcube_defconfig | 1 + arch/arm/configs/cm_x300_defconfig | 1 + arch/arm/configs/cns3420vb_defconfig | 1 + arch/arm/configs/colibri_pxa270_defconfig | 1 + arch/arm/configs/colibri_pxa300_defconfig | 1 + arch/arm/configs/corgi_defconfig | 1 + arch/arm/configs/davinci_all_defconfig | 11 ---- arch/arm/configs/ep93xx_defconfig | 9 --- arch/arm/configs/eseries_pxa_defconfig | 1 + arch/arm/configs/ezx_defconfig | 1 + arch/arm/configs/footbridge_defconfig | 1 - arch/arm/configs/h5000_defconfig | 1 + arch/arm/configs/hackkit_defconfig | 1 + arch/arm/configs/iop32x_defconfig | 1 + arch/arm/configs/jornada720_defconfig | 1 + arch/arm/configs/lart_defconfig | 1 + arch/arm/configs/lpd270_defconfig | 1 + arch/arm/configs/lubbock_defconfig | 1 + arch/arm/configs/magician_defconfig | 1 + arch/arm/configs/mainstone_defconfig | 1 + arch/arm/configs/mini2440_defconfig | 1 + arch/arm/configs/mmp2_defconfig | 5 +- arch/arm/configs/multi_v5_defconfig | 17 ----- arch/arm/configs/mv78xx0_defconfig | 1 + arch/arm/configs/mvebu_v5_defconfig | 8 --- arch/arm/configs/omap1_defconfig | 9 --- arch/arm/configs/orion5x_defconfig | 13 ---- arch/arm/configs/palmz72_defconfig | 1 + arch/arm/configs/pcm027_defconfig | 1 + arch/arm/configs/pleb_defconfig | 1 + arch/arm/configs/pxa255-idp_defconfig | 1 + arch/arm/configs/pxa3xx_defconfig | 7 +-- arch/arm/configs/pxa_defconfig | 77 ++++------------------- arch/arm/configs/s3c2410_defconfig | 1 + arch/arm/configs/s3c6400_defconfig | 9 --- arch/arm/configs/shannon_defconfig | 1 + arch/arm/configs/simpad_defconfig | 1 + arch/arm/configs/tct_hammer_defconfig | 1 + arch/arm/configs/trizeps4_defconfig | 1 + arch/arm/configs/viper_defconfig | 1 + arch/arm/configs/xcep_defconfig | 1 + arch/arm/configs/zeus_defconfig | 1 + arch/arm/mach-cns3xxx/Kconfig | 1 + arch/arm/mach-davinci/Kconfig | 8 +++ arch/arm/mach-dove/Kconfig | 1 + arch/arm/mach-ep93xx/Kconfig | 10 +++ arch/arm/mach-footbridge/Kconfig | 1 + arch/arm/mach-iop32x/Kconfig | 1 + arch/arm/mach-mmp/Kconfig | 9 +++ arch/arm/mach-mv78xx0/Kconfig | 1 + arch/arm/mach-omap1/Kconfig | 11 ++++ arch/arm/mach-orion5x/Kconfig | 17 +++++ arch/arm/mach-pxa/Kconfig | 53 ++++++++++++++++ arch/arm/mach-s3c/Kconfig.s3c24xx | 2 +- arch/arm/mach-s3c/Kconfig.s3c64xx | 20 +++--- arch/arm/mach-sa1100/Kconfig | 11 ++++ 58 files changed, 199 insertions(+), 166 deletions(-) -- 2.29.2