Re: [RFC PATCH] ARM: s3c: mark as deprecated and schedule removal after 2022

Krzysztof Kozlowski
2021-11-02T11:09:59Z

On 02/11/2021 12:05, Krzysztof Kozlowski wrote:
> 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 one year (after 2022). 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@canonical.com>
> ---
> arch/arm/Kconfig | 7 ++++++-
> arch/arm/mach-s3c/Kconfig.s3c64xx | 7 ++++++-
> arch/arm/mach-s3c/cpu.c | 1 +
> arch/arm/mach-s3c/init.c | 2 ++
> arch/arm/mach-s3c/s3c24xx.c | 5 +++++
> arch/arm/mach-s3c/s3c64xx.c | 5 +++++
> 6 files changed, 25 insertions(+), 2 deletions(-)
>
> diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig
> index f0f9e8bec83a..bd8237c7e7f1 100644
> --- a/arch/arm/Kconfig
> +++ b/arch/arm/Kconfig
> @@ -473,7 +473,7 @@ config ARCH_SA1100
> Support for StrongARM 11x0 based boards.
>
> config ARCH_S3C24XX
> - bool "Samsung S3C24XX SoCs"
> + bool "Samsung S3C24XX SoCs (deprecated, see help)"
> select ATAGS
> select CLKSRC_SAMSUNG_PWM
> select GPIO_SAMSUNG
> @@ -491,6 +491,11 @@ config 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 in removal. Please reach to

Language typo - "for removal". I'll fix it in v2, if the idea looks
reasonable.

Best regards,
Krzysztof