ARM: cns3xxx: add CONFIG_UNUSED_BOARD_FILES dependency
authorArnd Bergmann <arnd@arndb.de>
Mon, 18 Jul 2022 20:58:47 +0000 (22:58 +0200)
committerArnd Bergmann <arnd@arndb.de>
Fri, 22 Jul 2022 12:18:52 +0000 (14:18 +0200)
Krzysztof Halasa has kept the cns3xxx platform working for a long time
but has moved away from working on it. The OpenWRT port was dropped in
2020, and support for the Gateworks Laguna platform never made it into
the mainline kernel, which only supports the reference design.

Further, the ARM11MPCore has an unresolved issue with instruction cache
coherency, and removing support for the remaining platforms using this
core would be the easiest solution.

Mark the entire platform as unused now, to be removed in early 2023 if
no users show up.

Cc: Krzysztof Halasa <khalasa@piap.pl>
Link: https://lore.kernel.org/lkml/20210616152326.GG22278@shell.armlinux.org.uk/
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
arch/arm/configs/cns3420vb_defconfig
arch/arm/mach-cns3xxx/Kconfig

index 53f601b..b3aab97 100644 (file)
@@ -12,6 +12,7 @@ CONFIG_PROFILING=y
 CONFIG_ARCH_MULTI_V6=y
 CONFIG_ARCH_CNS3XXX=y
 CONFIG_MACH_CNS3420VB=y
+CONFIG_UNUSED_BOARD_FILES=y
 CONFIG_CMDLINE="console=ttyS0,38400 mem=128M root=/dev/mmcblk0p1 ro rootwait"
 CONFIG_MODULES=y
 CONFIG_MODULE_UNLOAD=y
index 622f3cf..1f85def 100644 (file)
@@ -2,7 +2,7 @@
 menuconfig ARCH_CNS3XXX
        bool "Cavium Networks CNS3XXX family"
        depends on ARCH_MULTI_V6
-       depends on ATAGS
+       depends on ATAGS && UNUSED_BOARD_FILES
        select ARM_GIC
        help
          Support for Cavium Networks CNS3XXX platform.