ARM: s3c: mark as deprecated and schedule removal
authorKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Wed, 20 Apr 2022 07:03:42 +0000 (09:03 +0200)
committerArnd Bergmann <arnd@arndb.de>
Thu, 21 Apr 2022 13:11:40 +0000 (15:11 +0200)
The Samsung S3C24xx and S3C64xx platforms are very old designs. S3C2416
was introduced in 2008 and S3C6410 in 2009/2010.  They are not widely
available anymore - out-of-stock on FriendlyArm (one of manufacturers of
boards) and only few specialist stores still offer them for quite a high
price.

The community around these platforms was not very active, so I suspect
no one really uses them anymore. Maintenance takes precious time so
there is little sense in keeping them alive if there are no real users.

Let's mark all S3C24xx and S3C64xx platforms as deprecated and mention
possible removal in after 2022 for the first and 2024 for the lattere.
The deprecation message will be as text in Kconfig, build message (not a
warning though) and runtime print error.

If there are any users, they might respond and postpone the removal.

Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Acked-by: Heiko Stuebner <heiko@sntech.de>
Acked-by: Tomasz Figa <tomasz.figa@gmail.com>
Acked-by: Arnd Bergmann <arnd@arndb.de>
Link: https://lore.kernel.org/r/20220407072319.75614-1-krzysztof.kozlowski@linaro.org
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
arch/arm/mach-s3c/Kconfig.s3c24xx
arch/arm/mach-s3c/Kconfig.s3c64xx
arch/arm/mach-s3c/cpu.c
arch/arm/mach-s3c/init.c
arch/arm/mach-s3c/s3c24xx.c
arch/arm/mach-s3c/s3c64xx.c

index d7dc031abc7aee174066567250118877b873f778..ce4f038400acb800e95e01b6ed3313eff50b8771 100644 (file)
@@ -4,9 +4,8 @@
 #              http://www.samsung.com/
 #
 # Copyright 2007 Simtec Electronics
-
 menuconfig ARCH_S3C24XX
-       bool "Samsung S3C24XX SoCs"
+       bool "Samsung S3C24XX SoCs (deprecated, see help)"
        depends on ARCH_MULTI_V4T || ARCH_MULTI_V5
        depends on CPU_LITTLE_ENDIAN
        select ATAGS
@@ -22,6 +21,11 @@ menuconfig ARCH_S3C24XX
          (<http://www.simtec.co.uk/products/EB110ITX/>), the IPAQ 1940 or the
          Samsung SMDK2410 development board (and derivatives).
 
+         The platform is deprecated and scheduled for removal. Please reach to
+         the maintainers of the platform and linux-samsung-soc@vger.kernel.org if
+         you still use it.
+         Without such feedback, the platform will be removed after 2022.
+
 if ARCH_S3C24XX
 
 config PLAT_S3C24XX
index af01675d8769bdc124f469efc574231180da7a1d..2b27bff4d9285ddf0a5bdb43ab7117248b193a17 100644 (file)
@@ -4,7 +4,7 @@
 #      Simtec Electronics, Ben Dooks <ben@simtec.co.uk>
 
 menuconfig ARCH_S3C64XX
-       bool "Samsung S3C64XX"
+       bool "Samsung S3C64XX (deprecated, see help)"
        depends on ARCH_MULTI_V6
        select ARM_AMBA
        select ARM_VIC
@@ -24,6 +24,11 @@ menuconfig ARCH_S3C64XX
        help
          Samsung S3C64XX series based systems
 
+         The platform is deprecated and scheduled for removal. Please reach to
+         the maintainers of the platform and linux-samsung-soc@vger.kernel.org if
+         you still use it.
+         Without such feedback, the platform will be removed after 2024.
+
 if ARCH_S3C64XX
 
 # Configuration options for the S3C6410 CPU
index 05a6b4be1768dab72ec8c533ef99349666477306..3491f790d57538674a80ca1d0b79bc025526e97e 100644 (file)
@@ -28,4 +28,5 @@ void __init s3c64xx_init_cpu(void)
        }
 
        pr_info("Samsung CPU ID: 0x%08lx\n", samsung_cpu_id);
+       pr_err("The platform is deprecated and scheduled for removal. Please reach to the maintainers of the platform and linux-samsung-soc@vger.kernel.org if you still use it.  Without such feedback, the platform will be removed after 2022.\n");
 }
index 9d92f03e9bc1fb1dd4111fcf941b98d5b85fca85..bf513616f55dc571e23577a4ba23df8406a016e7 100644 (file)
@@ -59,6 +59,8 @@ void __init s3c_init_cpu(unsigned long idcode,
 
        if (cpu->map_io)
                cpu->map_io();
+
+       pr_err("The platform is deprecated and scheduled for removal. Please reach to the maintainers of the platform and linux-samsung-soc@vger.kernel.org if you still use it.  Without such feedback, the platform will be removed after 2022.\n");
 }
 
 /* s3c24xx_init_clocks
index ccfed48c98aa1b10b1867a61a516a62d6a442e67..515f81fdf628dee341ca42de0711dea29c092263 100644 (file)
@@ -678,3 +678,10 @@ struct platform_device s3c2410_device_dclk = {
        },
 };
 #endif
+
+#ifndef CONFIG_COMPILE_TEST
+#pragma message "The platform is deprecated and scheduled for removal. " \
+               "Please reach to the maintainers of the platform " \
+               "and linux-samsung-soc@vger.kernel.org if you still use it." \
+               "Without such feedback, the platform will be removed after 2022."
+#endif
index c89982dbb418759c39583a02fc0d5f806a81ada8..0a8116c108fe4cdde66b139714ab3fd14ae2a80e 100644 (file)
@@ -425,3 +425,10 @@ static int __init s3c64xx_init_irq_eint(void)
        return 0;
 }
 arch_initcall(s3c64xx_init_irq_eint);
+
+#ifndef CONFIG_COMPILE_TEST
+#pragma message "The platform is deprecated and scheduled for removal. " \
+               "Please reach to the maintainers of the platform " \
+               "and linux-samsung-soc@vger.kernel.org if you still use it." \
+               "Without such feedback, the platform will be removed after 2024."
+#endif