Skip to content

Commit 6a5e69c

Browse files
krzkarndb
authored andcommitted
ARM: s3c: mark as deprecated and schedule removal
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>
1 parent 3d42722 commit 6a5e69c

6 files changed

Lines changed: 29 additions & 3 deletions

File tree

arch/arm/mach-s3c/Kconfig.s3c24xx

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,8 @@
44
# http://www.samsung.com/
55
#
66
# Copyright 2007 Simtec Electronics
7-
87
menuconfig ARCH_S3C24XX
9-
bool "Samsung S3C24XX SoCs"
8+
bool "Samsung S3C24XX SoCs (deprecated, see help)"
109
depends on ARCH_MULTI_V4T || ARCH_MULTI_V5
1110
depends on CPU_LITTLE_ENDIAN
1211
select ATAGS
@@ -22,6 +21,11 @@ menuconfig ARCH_S3C24XX
2221
(<http://www.simtec.co.uk/products/EB110ITX/>), the IPAQ 1940 or the
2322
Samsung SMDK2410 development board (and derivatives).
2423

24+
The platform is deprecated and scheduled for removal. Please reach to
25+
the maintainers of the platform and linux-samsung-soc@vger.kernel.org if
26+
you still use it.
27+
Without such feedback, the platform will be removed after 2022.
28+
2529
if ARCH_S3C24XX
2630

2731
config PLAT_S3C24XX

arch/arm/mach-s3c/Kconfig.s3c64xx

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
# Simtec Electronics, Ben Dooks <ben@simtec.co.uk>
55

66
menuconfig ARCH_S3C64XX
7-
bool "Samsung S3C64XX"
7+
bool "Samsung S3C64XX (deprecated, see help)"
88
depends on ARCH_MULTI_V6
99
select ARM_AMBA
1010
select ARM_VIC
@@ -24,6 +24,11 @@ menuconfig ARCH_S3C64XX
2424
help
2525
Samsung S3C64XX series based systems
2626

27+
The platform is deprecated and scheduled for removal. Please reach to
28+
the maintainers of the platform and linux-samsung-soc@vger.kernel.org if
29+
you still use it.
30+
Without such feedback, the platform will be removed after 2024.
31+
2732
if ARCH_S3C64XX
2833

2934
# Configuration options for the S3C6410 CPU

arch/arm/mach-s3c/cpu.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,4 +28,5 @@ void __init s3c64xx_init_cpu(void)
2828
}
2929

3030
pr_info("Samsung CPU ID: 0x%08lx\n", samsung_cpu_id);
31+
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");
3132
}

arch/arm/mach-s3c/init.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,8 @@ void __init s3c_init_cpu(unsigned long idcode,
5959

6060
if (cpu->map_io)
6161
cpu->map_io();
62+
63+
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");
6264
}
6365

6466
/* s3c24xx_init_clocks

arch/arm/mach-s3c/s3c24xx.c

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -678,3 +678,10 @@ struct platform_device s3c2410_device_dclk = {
678678
},
679679
};
680680
#endif
681+
682+
#ifndef CONFIG_COMPILE_TEST
683+
#pragma message "The platform is deprecated and scheduled for removal. " \
684+
"Please reach to the maintainers of the platform " \
685+
"and linux-samsung-soc@vger.kernel.org if you still use it." \
686+
"Without such feedback, the platform will be removed after 2022."
687+
#endif

arch/arm/mach-s3c/s3c64xx.c

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -425,3 +425,10 @@ static int __init s3c64xx_init_irq_eint(void)
425425
return 0;
426426
}
427427
arch_initcall(s3c64xx_init_irq_eint);
428+
429+
#ifndef CONFIG_COMPILE_TEST
430+
#pragma message "The platform is deprecated and scheduled for removal. " \
431+
"Please reach to the maintainers of the platform " \
432+
"and linux-samsung-soc@vger.kernel.org if you still use it." \
433+
"Without such feedback, the platform will be removed after 2024."
434+
#endif

0 commit comments

Comments
 (0)