diff mbox series

[12/13] ARM: iop32x: mark as unused

Message ID 20220721141722.2414719-13-arnd@kernel.org (mailing list archive)
State New, archived
Headers show
Series ARM: mark most boards as unused | expand

Commit Message

Arnd Bergmann July 21, 2022, 2:17 p.m. UTC
From: Arnd Bergmann <arnd@arndb.de>

The iop32x platform has recently been converted to be part of
the multiplatform configuration, and it should be possible to
keep it alive for longer by making it boot from devicetree like
we did for the related ixp4xx platform.

However, it appears that no users remain at this point, so just
mark the entire platfor depending on CONFIG_UNUSED_BOARD_FILES,
with the intention of removing it in early 2023.

If any users remain, please speak up now.

Cc: Dan Williams <dan.j.williams@intel.com>
Cc: Lennert Buytenhek <buytenh@wantstofly.org>
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
---
 arch/arm/configs/iop32x_defconfig | 1 +
 arch/arm/mach-iop32x/Kconfig      | 2 +-
 2 files changed, 2 insertions(+), 1 deletion(-)

Comments

Dan Williams July 21, 2022, 11:59 p.m. UTC | #1
Arnd Bergmann wrote:
> From: Arnd Bergmann <arnd@arndb.de>
> 
> The iop32x platform has recently been converted to be part of
> the multiplatform configuration, and it should be possible to
> keep it alive for longer by making it boot from devicetree like
> we did for the related ixp4xx platform.
> 
> However, it appears that no users remain at this point, so just
> mark the entire platfor depending on CONFIG_UNUSED_BOARD_FILES,

s/platfor/platform/

> with the intention of removing it in early 2023.
> 
> If any users remain, please speak up now.
> 
> Cc: Dan Williams <dan.j.williams@intel.com>

Acked-by: Dan Williams <dan.j.williams@intel.com>

> Cc: Lennert Buytenhek <buytenh@wantstofly.org>
> Signed-off-by: Arnd Bergmann <arnd@arndb.de>
> ---
>  arch/arm/configs/iop32x_defconfig | 1 +
>  arch/arm/mach-iop32x/Kconfig      | 2 +-
>  2 files changed, 2 insertions(+), 1 deletion(-)
> 
> diff --git a/arch/arm/configs/iop32x_defconfig b/arch/arm/configs/iop32x_defconfig
> index 3bc51fb4ebc9..c16e92cdfd00 100644
> --- a/arch/arm/configs/iop32x_defconfig
> +++ b/arch/arm/configs/iop32x_defconfig
> @@ -9,6 +9,7 @@ CONFIG_MACH_GLANTANK=y
>  CONFIG_ARCH_IQ80321=y
>  CONFIG_ARCH_IQ31244=y
>  CONFIG_MACH_N2100=y
> +CONFIG_UNUSED_BOARD_FILES=y
>  CONFIG_CMDLINE="console=ttyS0,115200 root=/dev/nfs ip=bootp cachepolicy=writealloc"
>  CONFIG_FPE_NWFPE=y
>  CONFIG_BINFMT_AOUT=y
> diff --git a/arch/arm/mach-iop32x/Kconfig b/arch/arm/mach-iop32x/Kconfig
> index 142c6374543c..761fbb04faa1 100644
> --- a/arch/arm/mach-iop32x/Kconfig
> +++ b/arch/arm/mach-iop32x/Kconfig
> @@ -3,7 +3,7 @@ menuconfig ARCH_IOP32X
>  	bool "IOP32x-based platforms"
>  	depends on ARCH_MULTI_V5
>  	depends on CPU_LITTLE_ENDIAN
> -	depends on ATAGS
> +	depends on ATAGS && UNUSED_BOARD_FILES
>  	select CPU_XSCALE
>  	select GPIO_IOP
>  	select GPIOLIB
> -- 
> 2.29.2
>
diff mbox series

Patch

diff --git a/arch/arm/configs/iop32x_defconfig b/arch/arm/configs/iop32x_defconfig
index 3bc51fb4ebc9..c16e92cdfd00 100644
--- a/arch/arm/configs/iop32x_defconfig
+++ b/arch/arm/configs/iop32x_defconfig
@@ -9,6 +9,7 @@  CONFIG_MACH_GLANTANK=y
 CONFIG_ARCH_IQ80321=y
 CONFIG_ARCH_IQ31244=y
 CONFIG_MACH_N2100=y
+CONFIG_UNUSED_BOARD_FILES=y
 CONFIG_CMDLINE="console=ttyS0,115200 root=/dev/nfs ip=bootp cachepolicy=writealloc"
 CONFIG_FPE_NWFPE=y
 CONFIG_BINFMT_AOUT=y
diff --git a/arch/arm/mach-iop32x/Kconfig b/arch/arm/mach-iop32x/Kconfig
index 142c6374543c..761fbb04faa1 100644
--- a/arch/arm/mach-iop32x/Kconfig
+++ b/arch/arm/mach-iop32x/Kconfig
@@ -3,7 +3,7 @@  menuconfig ARCH_IOP32X
 	bool "IOP32x-based platforms"
 	depends on ARCH_MULTI_V5
 	depends on CPU_LITTLE_ENDIAN
-	depends on ATAGS
+	depends on ATAGS && UNUSED_BOARD_FILES
 	select CPU_XSCALE
 	select GPIO_IOP
 	select GPIOLIB