Skip to contentSkip to conversation

ARM: mark most boards as unused

PATCH In review Arnd Bergmann 11 participants 31 messages Jul 21, 2022 – Jul 28, 2022

Subsystems (11)
lore
Share & tools
lore
#0 lore raw

cover ARM: mark most boards as unused

From: Arnd Bergmann <[email protected]>

Based on the recent mailing list discussion I started [1], I have now turned the findings into a set of patches that marks most board files as 'depends on UNUSED_BOARD_FILES', leaving only 38 of the 196 boards.

Please double-check the lists for each platform to make sure I got the right set. The only functional change here is in the Kconfig dependencies, so I would still apply this as a late fix for the coming merge window, to give any remaining users the most time to run into this and speak up in case any of these boards are actually still in use.

Arnd

[1] https://lore.kernel.org/linux-arm-kernel/CAK8P3a0Z9vGEQbVRBo84bSyPFM-LF+hs5w8ZA51g2Z+NsdtDQA@mail.gmail.com/

Cc Aaro Koskinen <[email protected]>
Cc Alexander Sverdlin <[email protected]>
Cc Alim Akhtar <[email protected]>
Cc Andrew Lunn <[email protected]>
Cc Bartosz Golaszewski <[email protected]>
Cc Dan Williams <[email protected]>
Cc Daniel Mack <[email protected]>
Cc Gregory Clement <[email protected]>
Cc Haojian Zhuang <[email protected]>
Cc Hartley Sweeten <[email protected]>
Cc Janusz Krzysztofik <[email protected]>
Cc Kristoffer Ericson <[email protected]>
Cc Krzysztof Halasa <[email protected]>
Cc Krzysztof Kozlowski <[email protected]>
Cc Laurence de Bruxelles <[email protected]>
Cc Lennert Buytenhek <[email protected]>
Cc Linus Walleij <[email protected]>
Cc Lubomir Rintel <[email protected]>
Cc Lukasz Majewski <[email protected]>
Cc Marc Zyngier <[email protected]>
Cc Mauri Sandberg <[email protected]>
Cc Nikita Shubin <[email protected]>
Cc Robert Jarzmik <[email protected]>
Cc Russell King <[email protected]>
Cc Sebastian Hesselbarth <[email protected]>
Cc Sekhar Nori <[email protected]>
Cc Tony Lindgren <[email protected]>

Arnd Bergmann (13):
ARM: add ATAGS dependencies to non-DT platforms
ARM: add CONFIG_UNUSED_BOARD_FILES
ARM: pxa: add Kconfig dependencies for ATAGS based boards
ARM: orion: add ATAGS dependencies
ARM: davinci: mark all ATAGS board files as unused
ARM: ep93xx: mark most board files as unused
ARM: mmp: mark all board files for removal
ARM: footbridge: mark cats board for removal
ARM: sa1100: mark most boards as unused
ARM: omap1: add Kconfig dependencies for unused boards
ARM: s3c: mark most board files as unused
ARM: iop32x: mark as unused
ARM: cns3xxx: add CONFIG_UNUSED_BOARD_FILES dependency

 arch/arm/Kconfig                          | 21 ++++++-
 arch/arm/configs/badge4_defconfig         |  1 +
 arch/arm/configs/cerfcube_defconfig       |  1 +
 arch/arm/configs/cm_x300_defconfig        |  1 +
 arch/arm/configs/cns3420vb_defconfig      |  1 +
 arch/arm/configs/colibri_pxa270_defconfig |  1 +
 arch/arm/configs/colibri_pxa300_defconfig |  1 +
 arch/arm/configs/corgi_defconfig          |  1 +
 arch/arm/configs/davinci_all_defconfig    | 11 ----
 arch/arm/configs/ep93xx_defconfig         |  9 ---
 arch/arm/configs/eseries_pxa_defconfig    |  1 +
 arch/arm/configs/ezx_defconfig            |  1 +
 arch/arm/configs/footbridge_defconfig     |  1 -
 arch/arm/configs/h5000_defconfig          |  1 +
 arch/arm/configs/hackkit_defconfig        |  1 +
 arch/arm/configs/iop32x_defconfig         |  1 +
 arch/arm/configs/jornada720_defconfig     |  1 +
 arch/arm/configs/lart_defconfig           |  1 +
 arch/arm/configs/lpd270_defconfig         |  1 +
 arch/arm/configs/lubbock_defconfig        |  1 +
 arch/arm/configs/magician_defconfig       |  1 +
 arch/arm/configs/mainstone_defconfig      |  1 +
 arch/arm/configs/mini2440_defconfig       |  1 +
 arch/arm/configs/mmp2_defconfig           |  5 +-
 arch/arm/configs/multi_v5_defconfig       | 17 -----
 arch/arm/configs/mv78xx0_defconfig        |  1 +
 arch/arm/configs/mvebu_v5_defconfig       |  8 ---
 arch/arm/configs/omap1_defconfig          |  9 ---
 arch/arm/configs/orion5x_defconfig        | 13 ----
 arch/arm/configs/palmz72_defconfig        |  1 +
 arch/arm/configs/pcm027_defconfig         |  1 +
 arch/arm/configs/pleb_defconfig           |  1 +
 arch/arm/configs/pxa255-idp_defconfig     |  1 +
 arch/arm/configs/pxa3xx_defconfig         |  7 +--
 arch/arm/configs/pxa_defconfig            | 77 ++++-------------------
 arch/arm/configs/s3c2410_defconfig        |  1 +
 arch/arm/configs/s3c6400_defconfig        |  9 ---
 arch/arm/configs/shannon_defconfig        |  1 +
 arch/arm/configs/simpad_defconfig         |  1 +
 arch/arm/configs/tct_hammer_defconfig     |  1 +
 arch/arm/configs/trizeps4_defconfig       |  1 +
 arch/arm/configs/viper_defconfig          |  1 +
 arch/arm/configs/xcep_defconfig           |  1 +
 arch/arm/configs/zeus_defconfig           |  1 +
 arch/arm/mach-cns3xxx/Kconfig             |  1 +
 arch/arm/mach-davinci/Kconfig             |  8 +++
 arch/arm/mach-dove/Kconfig                |  1 +
 arch/arm/mach-ep93xx/Kconfig              | 10 +++
 arch/arm/mach-footbridge/Kconfig          |  1 +
 arch/arm/mach-iop32x/Kconfig              |  1 +
 arch/arm/mach-mmp/Kconfig                 |  9 +++
 arch/arm/mach-mv78xx0/Kconfig             |  1 +
 arch/arm/mach-omap1/Kconfig               | 11 ++++
 arch/arm/mach-orion5x/Kconfig             | 17 +++++
 arch/arm/mach-pxa/Kconfig                 | 53 ++++++++++++++++
 arch/arm/mach-s3c/Kconfig.s3c24xx         |  2 +-
 arch/arm/mach-s3c/Kconfig.s3c64xx         | 20 +++---
 arch/arm/mach-sa1100/Kconfig              | 11 ++++
 58 files changed, 199 insertions(+), 166 deletions(-)
Signature · 1 line
2.29.2
#24 lore raw

PATCH 10/13 ARM: omap1: add Kconfig dependencies for unused boards

From: Arnd Bergmann <[email protected]>

Legacy board files with no known users are planned to get removed in early 2023, and this covers the majority of the omap1 boards as well.

According to Tony, the actual users are all on OSK, Nokia770, and AMS-Delta. Additionally, the sx1 and palmte boards are supported by qemu, which is convenient for testing, so all five stay around past the initial board removal.

As omap1 is now part of the multiplatform build and uses the common-clk framework, it has become easier to convert these to use devicetree based booting in the future.

Cc Aaro Koskinen <[email protected]>
Cc Janusz Krzysztofik <[email protected]>
Cc Tony Lindgren <[email protected]>
---
 arch/arm/configs/omap1_defconfig |  9 ---------
 arch/arm/mach-omap1/Kconfig      | 10 ++++++++++
 2 files changed, 10 insertions(+), 9 deletions(-)
arch/arm/configs/omap1_defconfig +0 -9
index 3f72d2ff7644..54a9f50122af 100644
@@ -25,17 +25,8 @@ CONFIG_ARCH_OMAP850=y
 CONFIG_ARCH_OMAP16XX=y
 # CONFIG_OMAP_MUX is not set
 CONFIG_OMAP_RESET_CLOCKS=y
-CONFIG_MACH_OMAP_INNOVATOR=y
-CONFIG_MACH_OMAP_H2=y
-CONFIG_MACH_OMAP_H3=y
-CONFIG_MACH_HERALD=y
 CONFIG_MACH_OMAP_OSK=y
-CONFIG_MACH_OMAP_PERSEUS2=y
-CONFIG_MACH_OMAP_FSAMPLE=y
-CONFIG_MACH_VOICEBLUE=y
 CONFIG_MACH_OMAP_PALMTE=y
-CONFIG_MACH_OMAP_PALMZ71=y
-CONFIG_MACH_OMAP_PALMTT=y
 CONFIG_MACH_SX1=y
 CONFIG_MACH_NOKIA770=y
 CONFIG_MACH_AMS_DELTA=y
arch/arm/mach-omap1/Kconfig +10 -0
index cbeb2b3ba86e..538a960257cc 100644
@@ -132,6 +132,7 @@ comment "OMAP Board Type"
 config MACH_OMAP_INNOVATOR
 	bool "TI Innovator"
 	depends on ARCH_OMAP15XX || ARCH_OMAP16XX
+	depends on UNUSED_BOARD_FILES
 	help
           TI OMAP 1510 or 1610 Innovator board support. Say Y here if you
           have such a board.
@@ -139,6 +140,7 @@ config MACH_OMAP_INNOVATOR
 config MACH_OMAP_H2
 	bool "TI H2 Support"
 	depends on ARCH_OMAP16XX
+	depends on UNUSED_BOARD_FILES
 	help
 	  TI OMAP 1610/1611B H2 board support. Say Y here if you have such
 	  a board.
@@ -146,6 +148,7 @@ config MACH_OMAP_H2
 config MACH_OMAP_H3
 	bool "TI H3 Support"
 	depends on ARCH_OMAP16XX
+	depends on UNUSED_BOARD_FILES
 	help
 	  TI OMAP 1710 H3 board support. Say Y here if you have such
 	  a board.
@@ -153,6 +156,7 @@ config MACH_OMAP_H3
 config MACH_HERALD
 	bool "HTC Herald"
 	depends on ARCH_OMAP850
+	depends on UNUSED_BOARD_FILES
 	help
 	  HTC Herald smartphone support (AKA T-Mobile Wing, ...)
 
@@ -166,6 +170,7 @@ config MACH_OMAP_OSK
 config OMAP_OSK_MISTRAL
 	bool "Mistral QVGA board Support"
 	depends on MACH_OMAP_OSK
+	depends on UNUSED_BOARD_FILES
 	help
 	  The OSK supports an optional add-on board with a Quarter-VGA
 	  touchscreen, PDA-ish buttons, a resume button, bicolor LED,
@@ -174,6 +179,7 @@ config OMAP_OSK_MISTRAL
 config MACH_OMAP_PERSEUS2
 	bool "TI Perseus2"
 	depends on ARCH_OMAP730
+	depends on UNUSED_BOARD_FILES
 	help
 	  Support for TI OMAP 730 Perseus2 board. Say Y here if you have such
 	  a board.
@@ -181,6 +187,7 @@ config MACH_OMAP_PERSEUS2
 config MACH_OMAP_FSAMPLE
 	bool "TI F-Sample"
 	depends on ARCH_OMAP730
+	depends on UNUSED_BOARD_FILES
 	help
 	  Support for TI OMAP 850 F-Sample board. Say Y here if you have such
 	  a board.
@@ -197,6 +204,7 @@ config MACH_OMAP_PALMTE
 config MACH_OMAP_PALMZ71
 	bool "Palm Zire71"
 	depends on ARCH_OMAP15XX
+	depends on UNUSED_BOARD_FILES
 	help
 	 Support for the Palm Zire71 PDA. To boot the kernel,
 	 you'll need a PalmOS compatible bootloader; check out
@@ -206,6 +214,7 @@ config MACH_OMAP_PALMZ71
 config MACH_OMAP_PALMTT
 	bool "Palm Tungsten|T"
 	depends on ARCH_OMAP15XX
+	depends on UNUSED_BOARD_FILES
 	help
 	  Support for the Palm Tungsten|T PDA. To boot the kernel, you'll
 	  need a PalmOS compatible bootloader (Garux); check out
@@ -246,6 +255,7 @@ config MACH_AMS_DELTA
 config MACH_OMAP_GENERIC
 	bool "Generic OMAP board"
 	depends on ARCH_OMAP15XX || ARCH_OMAP16XX
+	depends on UNUSED_BOARD_FILES
 	help
           Support for generic OMAP-1510, 1610 or 1710 board with
           no FPGA. Can be used as template for porting Linux to
Signature · 1 line
2.29.2
#26 lore raw

PATCH 11/13 ARM: s3c: mark most board files as unused

In reply to Arnd Bergmann

From: Arnd Bergmann <[email protected]>

The s3c24xx platform is already scheduled for removal in early 2023, with s3c64xx meeting the same fate a year later.

Most of the s3c64xx board files appear to be unused, as the better maintained ones already got converted to DT. The main exception is the Wolfson Cragganmore board, which remains in use as the reference design for Wolfson/Cirrus devices. As the other boards get removed, this one stays around along with the DT based machines.

The s3c6400_defconfig file now disables the unused boards, while the s3c24xx defconfig files all turn on CONFIG_UNUSED_BOARD_FILES to remain usable.

Cc Krzysztof Kozlowski <[email protected]>
Cc Alim Akhtar <[email protected]>
---
 arch/arm/configs/mini2440_defconfig   |  1 +
 arch/arm/configs/s3c2410_defconfig    |  1 +
 arch/arm/configs/s3c6400_defconfig    |  9 ---------
 arch/arm/configs/tct_hammer_defconfig |  1 +
 arch/arm/mach-s3c/Kconfig.s3c24xx     |  2 +-
 arch/arm/mach-s3c/Kconfig.s3c64xx     | 20 ++++++++++----------
 6 files changed, 14 insertions(+), 20 deletions(-)
arch/arm/configs/mini2440_defconfig +1 -0
index 5b4ab5bf5c5f..86e00f684e16 100644
@@ -11,6 +11,7 @@ CONFIG_S3C_ADC=y
 CONFIG_CPU_S3C2440=y
 CONFIG_MACH_MINI2440=y
 CONFIG_AEABI=y
+CONFIG_UNUSED_BOARD_FILES=y
 CONFIG_KEXEC=y
 CONFIG_CPU_IDLE=y
 CONFIG_APM_EMULATION=y
arch/arm/configs/s3c2410_defconfig +1 -0
index 2789e96e4ef6..41b40863a78e 100644
@@ -37,6 +37,7 @@ CONFIG_ARCH_S3C2440=y
 CONFIG_MACH_NEO1973_GTA02=y
 CONFIG_MACH_RX1950=y
 CONFIG_MACH_SMDK2443=y
+CONFIG_UNUSED_BOARD_FILES=y
 CONFIG_CMDLINE="root=/dev/hda1 ro init=/bin/bash console=ttySAC0"
 CONFIG_FPE_NWFPE=y
 CONFIG_FPE_NWFPE_XP=y
arch/arm/configs/s3c6400_defconfig +0 -9
index 300f5a7febf0..4f04f583c738 100644
@@ -5,15 +5,6 @@ CONFIG_KALLSYMS_ALL=y
 CONFIG_ARCH_MULTI_V6=y
 # CONFIG_ARCH_MULTI_V7 is not set
 CONFIG_ARCH_S3C64XX=y
-CONFIG_MACH_SMDK6400=y
-CONFIG_MACH_ANW6410=y
-CONFIG_MACH_MINI6410=y
-CONFIG_MACH_REAL6410=y
-CONFIG_MACH_SMDK6410=y
-CONFIG_MACH_NCP=y
-CONFIG_MACH_HMT=y
-CONFIG_MACH_SMARTQ5=y
-CONFIG_MACH_SMARTQ7=y
 CONFIG_MACH_WLF_CRAGG_6410=y
 CONFIG_CMDLINE="console=ttySAC0,115200 root=/dev/ram init=/linuxrc initrd=0x51000000,6M ramdisk_size=6144"
 CONFIG_VFP=y
arch/arm/configs/tct_hammer_defconfig +1 -0
index ce95cc97dcac..3b29ae1fb750 100644
@@ -13,6 +13,7 @@ CONFIG_ARCH_MULTI_V4T=y
 # CONFIG_ARCH_MULTI_V7 is not set
 CONFIG_ARCH_S3C24XX=y
 CONFIG_MACH_TCT_HAMMER=y
+CONFIG_UNUSED_BOARD_FILES=y
 CONFIG_CMDLINE="mem=64M root=/dev/ram0 init=/linuxrc rw"
 CONFIG_FPE_NWFPE=y
 CONFIG_MODULES=y
arch/arm/mach-s3c/Kconfig.s3c24xx +1 -1
index 88a5a333312a..c28e75424947 100644
@@ -8,7 +8,7 @@ menuconfig ARCH_S3C24XX
 	bool "Samsung S3C24XX SoCs (deprecated, see help)"
 	depends on ARCH_MULTI_V4T || ARCH_MULTI_V5
 	depends on CPU_LITTLE_ENDIAN
-	depends on ATAGS
+	depends on ATAGS && UNUSED_BOARD_FILES
 	select CLKSRC_SAMSUNG_PWM
 	select GPIO_SAMSUNG
 	select GPIOLIB
arch/arm/mach-s3c/Kconfig.s3c64xx +10 -10
index 2b27bff4d928..46f4fd795de5 100644
@@ -114,8 +114,8 @@ config S3C64XX_SETUP_USB_PHY
 # S36400 Macchine support
 
 config MACH_SMDK6400
-       bool "SMDK6400"
-	depends on ATAGS
+	bool "SMDK6400"
+	depends on ATAGS && UNUSED_BOARD_FILES
 	select CPU_S3C6400
 	select S3C64XX_SETUP_SDHCI
 	select S3C_DEV_HSMMC1
@@ -126,7 +126,7 @@ config MACH_SMDK6400
 
 config MACH_ANW6410
 	bool "A&W6410"
-	depends on ATAGS
+	depends on ATAGS && UNUSED_BOARD_FILES
 	select CPU_S3C6410
 	select S3C64XX_SETUP_FB_24BPP
 	select S3C_DEV_FB
@@ -135,7 +135,7 @@ config MACH_ANW6410
 
 config MACH_MINI6410
 	bool "MINI6410"
-	depends on ATAGS
+	depends on ATAGS && UNUSED_BOARD_FILES
 	select CPU_S3C6410
 	select S3C64XX_SETUP_FB_24BPP
 	select S3C64XX_SETUP_SDHCI
@@ -151,7 +151,7 @@ config MACH_MINI6410
 
 config MACH_REAL6410
 	bool "REAL6410"
-	depends on ATAGS
+	depends on ATAGS && UNUSED_BOARD_FILES
 	select CPU_S3C6410
 	select S3C64XX_SETUP_FB_24BPP
 	select S3C64XX_SETUP_SDHCI
@@ -167,7 +167,7 @@ config MACH_REAL6410
 
 config MACH_SMDK6410
 	bool "SMDK6410"
-	depends on ATAGS
+	depends on ATAGS && UNUSED_BOARD_FILES
 	select CPU_S3C6410
 	select S3C64XX_SETUP_FB_24BPP
 	select S3C64XX_SETUP_I2C1
@@ -254,7 +254,7 @@ config SMDK6410_WM1192_EV1
 
 config MACH_NCP
 	bool "NCP"
-	depends on ATAGS
+	depends on ATAGS && UNUSED_BOARD_FILES
 	select CPU_S3C6410
 	select S3C64XX_SETUP_I2C1
 	select S3C_DEV_HSMMC1
@@ -264,7 +264,7 @@ config MACH_NCP
 
 config MACH_HMT
 	bool "Airgoo HMT"
-	depends on ATAGS
+	depends on ATAGS && UNUSED_BOARD_FILES
 	select CPU_S3C6410
 	select S3C64XX_SETUP_FB_24BPP
 	select S3C_DEV_FB
@@ -296,14 +296,14 @@ config MACH_SMARTQ
 
 config MACH_SMARTQ5
 	bool "SmartQ 5"
-	depends on ATAGS
+	depends on ATAGS && UNUSED_BOARD_FILES
 	select MACH_SMARTQ
 	help
 	    Machine support for the SmartQ 5
 
 config MACH_SMARTQ7
 	bool "SmartQ 7"
-	depends on ATAGS
+	depends on ATAGS && UNUSED_BOARD_FILES
 	select MACH_SMARTQ
 	help
 	    Machine support for the SmartQ 7
Signature · 1 line
2.29.2
#1 lore raw

PATCH 1/13 ARM: add ATAGS dependencies to non-DT platforms

In reply to Arnd Bergmann

From: Arnd Bergmann <[email protected]>

There are a total of eight platforms that only suppor ATAGS based boot with board files but no devicetree booting.

For dove, the DT support is part of the mvebu platform, which shares driver but no code in arch/arm.

Most of these will never get converted to DT, and the majority of the board files appear to be entirely unused already. There are still known users on a few machines, and there may be interest in converting some omap1, ep93xx or footbridge machines over in the future.

For the moment, just add a Kconfig dependency to hide these platforms completely when CONFIG_ATAGS is disabled, and reorder the priority of the options: Rather than offering to turn ATAGS off for platforms that have DT support, make it a top-level setting that determines which platforms are visible.

The s3c24xx platform supports one machine with DT support, but it cannot be built without also including ATAGS support, and the entire platform is scheduled for removal, so leaving the entire platform behind a dependency seems good enough.

All defconfig files should keep working, as the option remains default enabled.

---
 arch/arm/Kconfig                  | 5 ++++-
 arch/arm/mach-cns3xxx/Kconfig     | 1 +
 arch/arm/mach-dove/Kconfig        | 1 +
 arch/arm/mach-ep93xx/Kconfig      | 1 +
 arch/arm/mach-iop32x/Kconfig      | 1 +
 arch/arm/mach-mv78xx0/Kconfig     | 1 +
 arch/arm/mach-omap1/Kconfig       | 1 +
 arch/arm/mach-s3c/Kconfig.s3c24xx | 2 +-
 8 files changed, 11 insertions(+), 2 deletions(-)
arch/arm/Kconfig +4 -1
index 7630ba9cb6cc..4349525cd1e1 100644
@@ -350,6 +350,7 @@ config ARCH_MULTIPLATFORM
 config ARCH_FOOTBRIDGE
 	bool "FootBridge"
 	depends on CPU_LITTLE_ENDIAN
+	depends on ATAGS
 	select CPU_SA110
 	select FOOTBRIDGE
 	select NEED_MACH_MEMORY_H
@@ -361,6 +362,7 @@ config ARCH_RPC
 	bool "RiscPC"
 	depends on !CC_IS_CLANG && GCC_VERSION < 90100 && GCC_VERSION >= 60000
 	depends on CPU_LITTLE_ENDIAN
+	depends on ATAGS
 	select ARCH_ACORN
 	select ARCH_MAY_HAVE_PC_FDC
 	select ARCH_SPARSEMEM_ENABLE
@@ -380,6 +382,7 @@ config ARCH_RPC
 config ARCH_SA1100
 	bool "SA1100-based"
 	depends on CPU_LITTLE_ENDIAN
+	depends on ATAGS
 	select ARCH_MTD_XIP
 	select ARCH_SPARSEMEM_ENABLE
 	select CLKSRC_MMIO
@@ -1539,7 +1542,7 @@ config USE_OF
 	  Include support for flattened device tree machine descriptions.
 
 config ATAGS
-	bool "Support for the traditional ATAGS boot data passing" if USE_OF
+	bool "Support for the traditional ATAGS boot data passing"
 	default y
 	help
 	  This is the traditional way of passing data to the kernel at boot
arch/arm/mach-cns3xxx/Kconfig +1 -0
index 1ecf5466931e..622f3cf28c68 100644
@@ -2,6 +2,7 @@
 menuconfig ARCH_CNS3XXX
 	bool "Cavium Networks CNS3XXX family"
 	depends on ARCH_MULTI_V6
+	depends on ATAGS
 	select ARM_GIC
 	help
 	  Support for Cavium Networks CNS3XXX platform.
arch/arm/mach-dove/Kconfig +1 -0
index c30c69c664ea..b2bb2162e31c 100644
@@ -1,6 +1,7 @@
 # SPDX-License-Identifier: GPL-2.0
 menuconfig ARCH_DOVE
 	bool "Marvell Dove" if ARCH_MULTI_V7
+	depends on ATAGS
 	select CPU_PJ4
 	select GPIOLIB
 	select MVEBU_MBUS
arch/arm/mach-ep93xx/Kconfig +1 -0
index 21f4cc2ba651..ecac8b487dae 100644
@@ -1,6 +1,7 @@
 # SPDX-License-Identifier: GPL-2.0-only
 menuconfig ARCH_EP93XX
 	bool "EP93xx-based"
+	depends on ATAGS
 	depends on ARCH_MULTI_V4T
 	depends on CPU_LITTLE_ENDIAN
 	select ARCH_SPARSEMEM_ENABLE
arch/arm/mach-iop32x/Kconfig +1 -0
index 01f60a8e6404..142c6374543c 100644
@@ -3,6 +3,7 @@ menuconfig ARCH_IOP32X
 	bool "IOP32x-based platforms"
 	depends on ARCH_MULTI_V5
 	depends on CPU_LITTLE_ENDIAN
+	depends on ATAGS
 	select CPU_XSCALE
 	select GPIO_IOP
 	select GPIOLIB
arch/arm/mach-mv78xx0/Kconfig +1 -0
index f0276f0d1102..21624107296a 100644
@@ -3,6 +3,7 @@ menuconfig ARCH_MV78XX0
 	bool "Marvell MV78xx0"
 	depends on ARCH_MULTI_V5
 	depends on CPU_LITTLE_ENDIAN
+	depends on ATAGS
 	select CPU_FEROCEON
 	select GPIOLIB
 	select MVEBU_MBUS
arch/arm/mach-omap1/Kconfig +1 -0
index 0ac0567f721d..cbeb2b3ba86e 100644
@@ -3,6 +3,7 @@ menuconfig ARCH_OMAP1
 	bool "TI OMAP1"
 	depends on ARCH_MULTI_V4T || ARCH_MULTI_V5
 	depends on CPU_LITTLE_ENDIAN
+	depends on ATAGS
 	select ARCH_HAS_HOLES_MEMORYMODEL
 	select ARCH_OMAP
 	select CLKSRC_MMIO
arch/arm/mach-s3c/Kconfig.s3c24xx +1 -1
index 662c5aec2ea3..88a5a333312a 100644
@@ -8,7 +8,7 @@ menuconfig ARCH_S3C24XX
 	bool "Samsung S3C24XX SoCs (deprecated, see help)"
 	depends on ARCH_MULTI_V4T || ARCH_MULTI_V5
 	depends on CPU_LITTLE_ENDIAN
-	select ATAGS
+	depends on ATAGS
 	select CLKSRC_SAMSUNG_PWM
 	select GPIO_SAMSUNG
 	select GPIOLIB
Signature · 7 lines
2.29.2


_______________________________________________
linux-arm-kernel mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
#2 lore raw

PATCH 2/13 ARM: add CONFIG_UNUSED_BOARD_FILES

In reply to Arnd Bergmann

From: Arnd Bergmann <[email protected]>

Based on the recent mailing list discussion, most board file support has no remaining users and can be scheduled for removal early next year.

If a board is still found to have users, it will remain for this round but users are encouraged to migrate to devicetree based booting where possible.

The timing is meant to ensure the next longterm supported kernel still contains all the board files, giving another year of support for potential users that did not speak up and would otherwise be stuck on the v5.15.y longterm kernel from 2021.

---
 arch/arm/Kconfig | 16 ++++++++++++++--
 1 file changed, 14 insertions(+), 2 deletions(-)
arch/arm/Kconfig +14 -2
index 4349525cd1e1..6307a66ff6fe 100644
@@ -1548,8 +1548,20 @@ config ATAGS
 	  This is the traditional way of passing data to the kernel at boot
 	  time. If you are solely relying on the flattened device tree (or
 	  the ARM_ATAG_DTB_COMPAT option) then you may unselect this option
-	  to remove ATAGS support from your kernel binary.  If unsure,
-	  leave this to y.
+	  to remove ATAGS support from your kernel binary.
+
+config UNUSED_BOARD_FILES
+	bool "Board support for machines without known users"
+	depends on ATAGS
+	help
+	  Most ATAGS based board files are completely unused and are
+	  scheduled for removal in early 2023, and left out of kernels
+	  by default now.  If you are using a board file that is marked
+	  as unused, turn on this option to build support into the kernel.
+
+	  To keep support for your individual board from being removed,
+	  send a reply to the email discussion at
+	  https://lore.kernel.org/all/CAK8P3a0Z9vGEQbVRBo84bSyPFM-LF+hs5w8ZA51g2Z+NsdtDQA@mail.gmail.com/
 
 config DEPRECATED_PARAM_STRUCT
 	bool "Provide old way to pass kernel parameters"
Signature · 7 lines
2.29.2


_______________________________________________
linux-arm-kernel mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
#5 lore raw

PATCH 4/13 ARM: orion: add ATAGS dependencies

In reply to Arnd Bergmann

From: Arnd Bergmann <[email protected]>

Most of the remaining arm board files in the kernel are unused and will be removed in early 2023 if no users step up. So far I got no user replies about the orion5x and mv78xx0 machines, but these are still supported in the default kernel of the Debian 'armel' (armv5 softfloat) distro, and there is an active project on github that tries to keep some of these machines working, and Mauri Sandberg is working on a DT conversion for the D-Link DNS-323.

It appears the Debian-on-Buffalo project has not got the Terastation WXL working in a few years, and the other mv78xx0 machines are just the reference designs, so I assume none of these have remaining users.

For the Orion5x family, the same is probably true for its reference implementations (RD88Fxxxxx, DB88F281) and the machines with less than 64MB of memory (WNR854T, WRT350N v2).

The remaining nine machines are now scheduled to be kept for at least 2023, hopefully to be replaced with DT based versions.

The mv78xx0_defconfig file needs to enable CONFIG_UNUSED_BOARD_FILES to still build, while the other affected defconfig files lose the specific boards.

Cc Andrew Lunn <[email protected]>
Cc Sebastian Hesselbarth <[email protected]>
Cc Gregory Clement <[email protected]>
Cc Mauri Sandberg <[email protected]>
---
 arch/arm/configs/multi_v5_defconfig |  8 --------
 arch/arm/configs/mv78xx0_defconfig  |  1 +
 arch/arm/configs/mvebu_v5_defconfig |  8 --------
 arch/arm/configs/orion5x_defconfig  | 13 -------------
 arch/arm/mach-mv78xx0/Kconfig       |  2 +-
 arch/arm/mach-orion5x/Kconfig       | 17 +++++++++++++++++
 6 files changed, 19 insertions(+), 30 deletions(-)
arch/arm/configs/multi_v5_defconfig +0 -8
index c6dc1509bc77..794c7a177594 100644
@@ -31,8 +31,6 @@ CONFIG_MACH_KIRKWOOD=y
 CONFIG_ARCH_NPCM=y
 CONFIG_ARCH_WPCM450=y
 CONFIG_ARCH_ORION5X=y
-CONFIG_MACH_DB88F5281=y
-CONFIG_MACH_RD88F5182=y
 CONFIG_MACH_RD88F5182_DT=y
 CONFIG_MACH_KUROBOX_PRO=y
 CONFIG_MACH_DNS323=y
@@ -40,18 +38,12 @@ CONFIG_MACH_TS209=y
 CONFIG_MACH_TERASTATION_PRO2=y
 CONFIG_MACH_LINKSTATION_PRO=y
 CONFIG_MACH_LINKSTATION_MINI=y
-CONFIG_MACH_LINKSTATION_LS_HGL=y
 CONFIG_MACH_TS409=y
-CONFIG_MACH_WRT350N_V2=y
 CONFIG_MACH_TS78XX=y
 CONFIG_MACH_MV2120=y
 CONFIG_MACH_D2NET_DT=y
 CONFIG_MACH_NET2BIG=y
 CONFIG_MACH_MSS2_DT=y
-CONFIG_MACH_WNR854T=y
-CONFIG_MACH_RD88F5181L_GE=y
-CONFIG_MACH_RD88F5181L_FXO=y
-CONFIG_MACH_RD88F6183AP_GE=y
 CONFIG_ARCH_SUNXI=y
 CONFIG_ARCH_VERSATILE=y
 CONFIG_AEABI=y
arch/arm/configs/mv78xx0_defconfig +1 -0
index 89699b015396..a53ccd49f8ff 100644
@@ -17,6 +17,7 @@ CONFIG_MACH_TERASTATION_WXL=y
 CONFIG_AEABI=y
 CONFIG_HIGHMEM=y
 CONFIG_FPE_NWFPE=y
+CONFIG_UNUSED_BOARD_FILES=y
 CONFIG_VFP=y
 CONFIG_KPROBES=y
 CONFIG_MODULES=y
arch/arm/configs/mvebu_v5_defconfig +0 -8
index 456457fa7d16..ef3a33ebc29a 100644
@@ -9,8 +9,6 @@ CONFIG_PROFILING=y
 CONFIG_ARCH_MVEBU=y
 CONFIG_MACH_KIRKWOOD=y
 CONFIG_ARCH_ORION5X=y
-CONFIG_MACH_DB88F5281=y
-CONFIG_MACH_RD88F5182=y
 CONFIG_MACH_RD88F5182_DT=y
 CONFIG_MACH_KUROBOX_PRO=y
 CONFIG_MACH_DNS323=y
@@ -19,18 +17,12 @@ CONFIG_MACH_TERASTATION_PRO2=y
 CONFIG_MACH_LINKSTATION_PRO=y
 CONFIG_MACH_LINKSTATION_LSCHL=y
 CONFIG_MACH_LINKSTATION_MINI=y
-CONFIG_MACH_LINKSTATION_LS_HGL=y
 CONFIG_MACH_TS409=y
-CONFIG_MACH_WRT350N_V2=y
 CONFIG_MACH_TS78XX=y
 CONFIG_MACH_MV2120=y
 CONFIG_MACH_D2NET_DT=y
 CONFIG_MACH_NET2BIG=y
 CONFIG_MACH_MSS2_DT=y
-CONFIG_MACH_WNR854T=y
-CONFIG_MACH_RD88F5181L_GE=y
-CONFIG_MACH_RD88F5181L_FXO=y
-CONFIG_MACH_RD88F6183AP_GE=y
 CONFIG_AEABI=y
 CONFIG_HIGHMEM=y
 CONFIG_ARM_APPENDED_DTB=y
arch/arm/configs/orion5x_defconfig +0 -13
index e3e97eea8cec..1311d9583fcc 100644
@@ -9,9 +9,6 @@ CONFIG_ARCH_MULTI_V5=y
 # CONFIG_ARCH_MULTI_V6 is not set
 # CONFIG_ARCH_MULTI_V7 is not set
 CONFIG_ARCH_ORION5X=y
-CONFIG_ARCH_ORION5X_DT=y
-CONFIG_MACH_DB88F5281=y
-CONFIG_MACH_RD88F5182=y
 CONFIG_MACH_RD88F5182_DT=y
 CONFIG_MACH_KUROBOX_PRO=y
 CONFIG_MACH_DNS323=y
@@ -19,20 +16,10 @@ CONFIG_MACH_TS209=y
 CONFIG_MACH_TERASTATION_PRO2=y
 CONFIG_MACH_LINKSTATION_PRO=y
 CONFIG_MACH_LINKSTATION_MINI=y
-CONFIG_MACH_LINKSTATION_LS_HGL=y
 CONFIG_MACH_TS409=y
-CONFIG_MACH_WRT350N_V2=y
 CONFIG_MACH_TS78XX=y
 CONFIG_MACH_MV2120=y
-CONFIG_MACH_EDMINI_V2_DT=y
-CONFIG_MACH_D2NET=y
-CONFIG_MACH_BIGDISK=y
 CONFIG_MACH_NET2BIG=y
-CONFIG_MACH_MSS2=y
-CONFIG_MACH_WNR854T=y
-CONFIG_MACH_RD88F5181L_GE=y
-CONFIG_MACH_RD88F5181L_FXO=y
-CONFIG_MACH_RD88F6183AP_GE=y
 CONFIG_AEABI=y
 CONFIG_ARM_APPENDED_DTB=y
 CONFIG_ARM_ATAG_DTB_COMPAT=y
arch/arm/mach-mv78xx0/Kconfig +1 -1
index 21624107296a..da92f94494cc 100644
@@ -3,7 +3,7 @@ menuconfig ARCH_MV78XX0
 	bool "Marvell MV78xx0"
 	depends on ARCH_MULTI_V5
 	depends on CPU_LITTLE_ENDIAN
-	depends on ATAGS
+	depends on ATAGS && UNUSED_BOARD_FILES
 	select CPU_FEROCEON
 	select GPIOLIB
 	select MVEBU_MBUS
arch/arm/mach-orion5x/Kconfig +17 -0
index bf833b51931d..5a980684b50d 100644
@@ -30,6 +30,7 @@ config ARCH_ORION5X_DT
 config MACH_DB88F5281
 	bool "Marvell Orion-2 Development Board"
 	select I2C_BOARDINFO if I2C
+	depends on ATAGS && UNUSED_BOARD_FILES
 	help
 	  Say 'Y' here if you want your kernel to support the
 	  Marvell Orion-2 (88F5281) Development Board
@@ -37,6 +38,7 @@ config MACH_DB88F5281
 config MACH_RD88F5182
 	bool "Marvell Orion-NAS Reference Design"
 	select I2C_BOARDINFO if I2C
+	depends on ATAGS && UNUSED_BOARD_FILES
 	help
 	  Say 'Y' here if you want your kernel to support the
 	  Marvell Orion-NAS (88F5182) RD2
@@ -52,6 +54,7 @@ config MACH_RD88F5182_DT
 config MACH_KUROBOX_PRO
 	bool "KuroBox Pro"
 	select I2C_BOARDINFO if I2C
+	depends on ATAGS
 	help
 	  Say 'Y' here if you want your kernel to support the
 	  KuroBox Pro platform.
@@ -59,24 +62,28 @@ config MACH_KUROBOX_PRO
 config MACH_DNS323
 	bool "D-Link DNS-323"
 	select I2C_BOARDINFO if I2C
+	depends on ATAGS
 	help
 	  Say 'Y' here if you want your kernel to support the
 	  D-Link DNS-323 platform.
 
 config MACH_TS209
 	bool "QNAP TS-109/TS-209"
+	depends on ATAGS
 	help
 	  Say 'Y' here if you want your kernel to support the
 	  QNAP TS-109/TS-209 platform.
 
 config MACH_TERASTATION_PRO2
 	bool "Buffalo Terastation Pro II/Live"
+	depends on ATAGS
 	help
 	  Say 'Y' here if you want your kernel to support the
 	  Buffalo Terastation Pro II/Live platform.
 
 config MACH_LINKSTATION_PRO
 	bool "Buffalo Linkstation Pro/Live"
+	depends on ATAGS
 	select I2C_BOARDINFO if I2C
 	help
 	  Say 'Y' here if you want your kernel to support the
@@ -92,6 +99,7 @@ config MACH_LINKSTATION_MINI
 
 config MACH_LINKSTATION_LS_HGL
 	bool "Buffalo Linkstation LS-HGL"
+	depends on ATAGS && UNUSED_BOARD_FILES
 	select I2C_BOARDINFO if I2C
 	help
 	  Say 'Y' here if you want your kernel to support the
@@ -99,24 +107,28 @@ config MACH_LINKSTATION_LS_HGL
 
 config MACH_TS409
 	bool "QNAP TS-409"
+	depends on ATAGS
 	help
 	  Say 'Y' here if you want your kernel to support the
 	  QNAP TS-409 platform.
 
 config MACH_WRT350N_V2
 	bool "Linksys WRT350N v2"
+	depends on ATAGS && UNUSED_BOARD_FILES
 	help
 	  Say 'Y' here if you want your kernel to support the
 	  Linksys WRT350N v2 platform.
 
 config MACH_TS78XX
 	bool "Technologic Systems TS-78xx"
+	depends on ATAGS
 	help
 	  Say 'Y' here if you want your kernel to support the
 	  Technologic Systems TS-78xx platform.
 
 config MACH_MV2120
 	bool "HP Media Vault mv2120"
+	depends on ATAGS
 	help
 	  Say 'Y' here if you want your kernel to support the
 	  HP Media Vault mv2120 or mv5100.
@@ -130,6 +142,7 @@ config MACH_D2NET_DT
 
 config MACH_NET2BIG
 	bool "LaCie 2Big Network"
+	depends on ATAGS
 	select I2C_BOARDINFO if I2C
 	help
 	  Say 'Y' here if you want your kernel to support the
@@ -144,24 +157,28 @@ config MACH_MSS2_DT
 
 config MACH_WNR854T
 	bool "Netgear WNR854T"
+	depends on ATAGS && UNUSED_BOARD_FILES
 	help
 	  Say 'Y' here if you want your kernel to support the
 	  Netgear WNR854T platform.
 
 config MACH_RD88F5181L_GE
 	bool "Marvell Orion-VoIP GE Reference Design"
+	depends on ATAGS && UNUSED_BOARD_FILES
 	help
 	  Say 'Y' here if you want your kernel to support the
 	  Marvell Orion-VoIP GE (88F5181L) RD.
 
 config MACH_RD88F5181L_FXO
 	bool "Marvell Orion-VoIP FXO Reference Design"
+	depends on ATAGS && UNUSED_BOARD_FILES
 	help
 	  Say 'Y' here if you want your kernel to support the
 	  Marvell Orion-VoIP FXO (88F5181L) RD.
 
 config MACH_RD88F6183AP_GE
 	bool "Marvell Orion-1-90 AP GE Reference Design"
+	depends on ATAGS && UNUSED_BOARD_FILES
 	help
 	  Say 'Y' here if you want your kernel to support the
 	  Marvell Orion-1-90 (88F6183) AP GE RD.
Signature · 7 lines
2.29.2


_______________________________________________
linux-arm-kernel mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
#3 lore raw

PATCH 3/13 ARM: pxa: add Kconfig dependencies for ATAGS based boards

In reply to Arnd Bergmann

From: Arnd Bergmann <[email protected]>

Most of the traditional board files are no longer used by anyone and will be removed next year, while the DT based machine support remains.

Adding a CONFIG_ATAGS dependency around all the board files means that they now actaully get disabled when ATAGS support is left out, and the individual boards that have no known users are marked as depending on CONFIG_UNUSED_BOARD_FILES, with the plan to remove them in early 2023 unless someone else shows interest.

Laurence de Bruxelles intends to work on converting the Spitz/Akita/Borzoi family of Sharp Zaurus SL machines to DT, to make that easier those remain for the moment.

In addition, the "Gumstix" machine is the one that is supported in qemu with 256MB of RAM, which makes it particularly nice for testing, I'm leaving it in hoping that someone can take care of converting it to DT as well.

Finally, Marc Zyngier is still able to test the Zeus and Viper machines, so these could be saved as well if anyone wants to conver them to DT. This seems less likely, so I'm marking them as unused for the time being.

For the defconfig files, both the pxa3xx_defconfig and pxa_defconfig now only enable the boards that are not marked as unused, while all the other ones explicitly enable CONFIG_UNUSED_BOARD_FILES to still allow building the kernels.

Cc Robert Jarzmik <[email protected]>
Cc Daniel Mack <[email protected]>
Cc Laurence de Bruxelles <[email protected]>
Cc Marc Zyngier <[email protected]>
---
 arch/arm/configs/cm_x300_defconfig        |  1 +
 arch/arm/configs/colibri_pxa270_defconfig |  1 +
 arch/arm/configs/colibri_pxa300_defconfig |  1 +
 arch/arm/configs/corgi_defconfig          |  1 +
 arch/arm/configs/eseries_pxa_defconfig    |  1 +
 arch/arm/configs/ezx_defconfig            |  1 +
 arch/arm/configs/h5000_defconfig          |  1 +
 arch/arm/configs/lpd270_defconfig         |  1 +
 arch/arm/configs/lubbock_defconfig        |  1 +
 arch/arm/configs/magician_defconfig       |  1 +
 arch/arm/configs/mainstone_defconfig      |  1 +
 arch/arm/configs/palmz72_defconfig        |  1 +
 arch/arm/configs/pcm027_defconfig         |  1 +
 arch/arm/configs/pxa255-idp_defconfig     |  1 +
 arch/arm/configs/pxa3xx_defconfig         |  7 +--
 arch/arm/configs/pxa_defconfig            | 77 ++++-------------------
 arch/arm/configs/trizeps4_defconfig       |  1 +
 arch/arm/configs/viper_defconfig          |  1 +
 arch/arm/configs/xcep_defconfig           |  1 +
 arch/arm/configs/zeus_defconfig           |  1 +
 arch/arm/mach-pxa/Kconfig                 | 53 ++++++++++++++++
 21 files changed, 83 insertions(+), 72 deletions(-)
arch/arm/configs/cm_x300_defconfig +1 -0
index 9264f488c49f..31f41159bef2 100644
@@ -12,6 +12,7 @@ CONFIG_ARCH_PXA=y
 CONFIG_MACH_CM_X300=y
 CONFIG_AEABI=y
 CONFIG_HIGHMEM=y
+CONFIG_UNUSED_BOARD_FILES=y
 CONFIG_CMDLINE="root=/dev/mtdblock5 rootfstype=ubifs console=ttyS2,38400"
 CONFIG_CPU_FREQ=y
 CONFIG_CPU_FREQ_GOV_USERSPACE=y
arch/arm/configs/colibri_pxa270_defconfig +1 -0
index ad745f5bfbb1..8357d721c69c 100644
@@ -14,6 +14,7 @@ CONFIG_KALLSYMS_EXTRA_PASS=y
 CONFIG_ARCH_PXA=y
 CONFIG_MACH_COLIBRI=y
 CONFIG_AEABI=y
+CONFIG_UNUSED_BOARD_FILES=y
 CONFIG_MODULES=y
 CONFIG_MODULE_UNLOAD=y
 CONFIG_MODULE_FORCE_UNLOAD=y
arch/arm/configs/colibri_pxa300_defconfig +1 -0
index d63469284b0b..42adfefdb6dc 100644
@@ -2,6 +2,7 @@
 CONFIG_ARCH_PXA=y
 CONFIG_MACH_COLIBRI300=y
 CONFIG_AEABI=y
+CONFIG_UNUSED_BOARD_FILES=y
 CONFIG_CMDLINE="console=ttyS0,115200 rw"
 CONFIG_CPU_IDLE=y
 CONFIG_FPE_NWFPE=y
arch/arm/configs/corgi_defconfig +1 -0
index bd9b5a013040..1f137f74050f 100644
@@ -13,6 +13,7 @@ CONFIG_MACH_POODLE=y
 CONFIG_MACH_CORGI=y
 CONFIG_MACH_SHEPHERD=y
 CONFIG_MACH_HUSKY=y
+CONFIG_UNUSED_BOARD_FILES=y
 CONFIG_CMDLINE="console=ttyS0,115200n8 console=tty1 noinitrd root=/dev/mtdblock2 rootfstype=jffs2   debug"
 CONFIG_FPE_NWFPE=y
 CONFIG_BINFMT_AOUT=m
arch/arm/configs/eseries_pxa_defconfig +1 -0
index f76432fbc3af..b4c2e6457e04 100644
@@ -8,6 +8,7 @@ CONFIG_ARCH_PXA=y
 CONFIG_ARCH_PXA_ESERIES=y
 CONFIG_IWMMXT=y
 CONFIG_AEABI=y
+CONFIG_UNUSED_BOARD_FILES=y
 CONFIG_KEXEC=y
 CONFIG_FPE_NWFPE=y
 CONFIG_MODULES=y
arch/arm/configs/ezx_defconfig +1 -0
index 3a5eab10110f..1a41391d7367 100644
@@ -15,6 +15,7 @@ CONFIG_EXPERT=y
 CONFIG_ARCH_PXA=y
 CONFIG_PXA_EZX=y
 CONFIG_AEABI=y
+CONFIG_UNUSED_BOARD_FILES=y
 CONFIG_CMDLINE="console=tty1 root=/dev/mmcblk0p2 rootfstype=ext2 rootdelay=3 ip=192.168.0.202:192.168.0.200:192.168.0.200:255.255.255.0 debug"
 CONFIG_KEXEC=y
 CONFIG_CPU_FREQ=y
arch/arm/configs/h5000_defconfig +1 -0
index e1af11d3e632..d01f1a6bd04d 100644
@@ -10,6 +10,7 @@ CONFIG_EXPERT=y
 CONFIG_ARCH_PXA=y
 CONFIG_MACH_H5000=y
 CONFIG_AEABI=y
+CONFIG_UNUSED_BOARD_FILES=y
 CONFIG_CMDLINE="keepinitrd"
 CONFIG_KEXEC=y
 CONFIG_FPE_NWFPE=y
arch/arm/configs/lpd270_defconfig +1 -0
index fb74b0fc4761..b0c21a99a0a8 100644
@@ -3,6 +3,7 @@ CONFIG_LOG_BUF_SHIFT=14
 # CONFIG_ARCH_MULTI_V7 is not set
 CONFIG_ARCH_PXA=y
 CONFIG_MACH_LOGICPD_PXA270=y
+CONFIG_UNUSED_BOARD_FILES=y
 CONFIG_CMDLINE="root=/dev/nfs ip=bootp console=ttyS0,115200 mem=64M"
 CONFIG_FPE_NWFPE=y
 CONFIG_MODULES=y
arch/arm/configs/lubbock_defconfig +1 -0
index ca226bce5025..4fc744c96196 100644
@@ -3,6 +3,7 @@ CONFIG_LOG_BUF_SHIFT=14
 # CONFIG_ARCH_MULTI_V7 is not set
 CONFIG_ARCH_PXA=y
 CONFIG_ARCH_LUBBOCK=y
+CONFIG_UNUSED_BOARD_FILES=y
 CONFIG_CMDLINE="root=/dev/nfs ip=bootp console=ttyS0,115200 mem=64M"
 CONFIG_FPE_NWFPE=y
 CONFIG_MODULES=y
arch/arm/configs/magician_defconfig +1 -0
index b65cce921ecc..9cbb63c69436 100644
@@ -13,6 +13,7 @@ CONFIG_ARCH_PXA=y
 CONFIG_MACH_H4700=y
 CONFIG_MACH_MAGICIAN=y
 CONFIG_AEABI=y
+CONFIG_UNUSED_BOARD_FILES=y
 CONFIG_CMDLINE="keepinitrd"
 CONFIG_KEXEC=y
 CONFIG_CPU_FREQ=y
arch/arm/configs/mainstone_defconfig +1 -0
index dc1a88ed4de4..096cd7bc667a 100644
@@ -3,6 +3,7 @@ CONFIG_LOG_BUF_SHIFT=14
 # CONFIG_ARCH_MULTI_V7 is not set
 CONFIG_ARCH_PXA=y
 CONFIG_MACH_MAINSTONE=y
+CONFIG_UNUSED_BOARD_FILES=y
 CONFIG_CMDLINE="root=/dev/nfs ip=bootp console=ttyS0,115200 mem=64M"
 CONFIG_FPE_NWFPE=y
 CONFIG_MODULES=y
arch/arm/configs/palmz72_defconfig +1 -0
index 5ceed551b972..a9a808bc2f70 100644
@@ -10,6 +10,7 @@ CONFIG_ARCH_PXA=y
 CONFIG_ARCH_PXA_PALM=y
 # CONFIG_MACH_PALMTX is not set
 CONFIG_AEABI=y
+CONFIG_UNUSED_BOARD_FILES=y
 CONFIG_CMDLINE="mem=32M console=tty root=/dev/mmcblk0"
 CONFIG_FPE_NWFPE=y
 CONFIG_PM=y
arch/arm/configs/pcm027_defconfig +1 -0
index 5215a685e082..06bc9a8fef90 100644
@@ -16,6 +16,7 @@ CONFIG_MACH_PCM027=y
 CONFIG_MACH_PCM990_BASEBOARD=y
 CONFIG_AEABI=y
 # CONFIG_OABI_COMPAT is not set
+CONFIG_UNUSED_BOARD_FILES=y
 CONFIG_MODULES=y
 CONFIG_MODULE_UNLOAD=y
 CONFIG_MODULE_FORCE_UNLOAD=y
arch/arm/configs/pxa255-idp_defconfig +1 -0
index d141cc786145..ae0444949a87 100644
@@ -3,6 +3,7 @@ CONFIG_LOG_BUF_SHIFT=14
 # CONFIG_ARCH_MULTI_V7 is not set
 CONFIG_ARCH_PXA=y
 CONFIG_ARCH_PXA_IDP=y
+CONFIG_UNUSED_BOARD_FILES=y
 CONFIG_CMDLINE="root=/dev/nfs ip=dhcp console=ttyS0,115200 mem=64M"
 CONFIG_FPE_NWFPE=y
 CONFIG_MODULES=y
arch/arm/configs/pxa3xx_defconfig +1 -6
index f898af656249..d1e83b52e03a 100644
@@ -7,9 +7,7 @@ CONFIG_KALLSYMS_ALL=y
 # CONFIG_BLK_DEV_BSG is not set
 # CONFIG_ARCH_MULTI_V7 is not set
 CONFIG_ARCH_PXA=y
-CONFIG_MACH_LITTLETON=y
-CONFIG_MACH_TAVOREVB=y
-CONFIG_MACH_SAAR=y
+CONFIG_MACH_PXA3XX_DT=y
 CONFIG_AEABI=y
 CONFIG_CMDLINE="root=/dev/nfs rootfstype=nfs nfsroot=192.168.1.100:/nfsroot/ ip=192.168.1.101:192.168.1.100::255.255.255.0::eth0:on console=ttyS0,115200 mem=64M debug"
 CONFIG_FPE_NWFPE=y
@@ -43,8 +41,6 @@ CONFIG_SMC91X=y
 # CONFIG_KEYBOARD_ATKBD is not set
 CONFIG_KEYBOARD_GPIO=y
 CONFIG_KEYBOARD_PXA27x=y
-CONFIG_KEYBOARD_PXA930_ROTARY=y
-CONFIG_MOUSE_PXA930_TRKBALL=y
 CONFIG_INPUT_TOUCHSCREEN=y
 # CONFIG_LEGACY_PTYS is not set
 CONFIG_SERIAL_PXA=y
@@ -59,7 +55,6 @@ CONFIG_GPIO_MAX732X=y
 CONFIG_GPIO_PCA953X=y
 CONFIG_GPIO_PCF857X=y
 CONFIG_GPIO_MAX7301=y
-CONFIG_POWER_SUPPLY=y
 CONFIG_POWER_SUPPLY_DEBUG=y
 CONFIG_PDA_POWER=y
 CONFIG_BATTERY_DA9030=y
arch/arm/configs/pxa_defconfig +11 -66

165 lines not on this page · raw message

arch/arm/configs/trizeps4_defconfig +1 -0
index 01a0901120e8..009abe1e49ef 100644
@@ -14,6 +14,7 @@ CONFIG_ARCH_PXA=y
 CONFIG_TRIZEPS_PXA=y
 CONFIG_MACH_TRIZEPS4=y
 CONFIG_AEABI=y
+CONFIG_UNUSED_BOARD_FILES=y
 CONFIG_CMDLINE="root=fe01 console=ttyS0,38400n8 loglevel=5"
 CONFIG_FPE_NWFPE=y
 CONFIG_FPE_NWFPE_XP=y
arch/arm/configs/viper_defconfig +1 -0
index 0a2ad9ec8c89..02f9849893b2 100644
@@ -9,6 +9,7 @@ CONFIG_ARCH_PXA=y
 CONFIG_ARCH_VIPER=y
 CONFIG_IWMMXT=y
 CONFIG_AEABI=y
+CONFIG_UNUSED_BOARD_FILES=y
 CONFIG_CMDLINE="root=31:02 rootfstype=jffs2 ro console=ttyS0,115200"
 CONFIG_CPU_FREQ=y
 CONFIG_CPU_FREQ_GOV_POWERSAVE=m
arch/arm/configs/xcep_defconfig +1 -0
index 35b3689dc1c5..0453948d52ef 100644
@@ -17,6 +17,7 @@ CONFIG_ARCH_PXA=y
 CONFIG_MACH_XCEP=y
 CONFIG_IWMMXT=y
 CONFIG_AEABI=y
+CONFIG_UNUSED_BOARD_FILES=y
 CONFIG_CMDLINE="root=mtd4 rootfstype=jffs2 ro console=ttyS0,115200"
 CONFIG_FPE_NWFPE=y
 CONFIG_KPROBES=y
arch/arm/configs/zeus_defconfig +1 -0
index 37ae98a762c0..c4535315e216 100644
@@ -5,6 +5,7 @@ CONFIG_LOG_BUF_SHIFT=13
 CONFIG_ARCH_PXA=y
 CONFIG_MACH_ARCOM_ZEUS=y
 CONFIG_AEABI=y
+CONFIG_UNUSED_BOARD_FILES=y
 CONFIG_CMDLINE="root=31:02 rootfstype=jffs2 ro console=ttyS0,115200"
 CONFIG_CPU_FREQ=y
 CONFIG_CPU_FREQ_GOV_POWERSAVE=m
arch/arm/mach-pxa/Kconfig +53 -0

326 lines not on this page · raw message

Signature · 7 lines
2.29.2


_______________________________________________
linux-arm-kernel mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
#6 lore raw

PATCH 5/13 ARM: davinci: mark all ATAGS board files as unused

In reply to Arnd Bergmann

From: Arnd Bergmann <[email protected]>

From an earlier discussion, it appears that the davinci da8xx machines that are still functional have already been converted to DT, while the remaining board files are only kept because nobody has stepped up to remove them.

Mark all these boards as 'depends on UNUSED_BOARD_FILES' with the plan to remove them in early 2023 after the next longterm supported kernel is out.

Cc Sekhar Nori <[email protected]>
Cc Bartosz Golaszewski <[email protected]>
---
 arch/arm/configs/davinci_all_defconfig | 11 -----------
 arch/arm/configs/multi_v5_defconfig    |  9 ---------
 arch/arm/mach-davinci/Kconfig          |  8 ++++++++
 3 files changed, 8 insertions(+), 20 deletions(-)
arch/arm/configs/davinci_all_defconfig +0 -11
index c60c39a8b95f..fc71a03a9c8c 100644
@@ -14,17 +14,8 @@ CONFIG_ARCH_MULTIPLATFORM=y
 CONFIG_ARCH_MULTI_V5=y
 # CONFIG_ARCH_MULTI_V7 is not set
 CONFIG_ARCH_DAVINCI=y
-CONFIG_ARCH_DAVINCI_DM644x=y
-CONFIG_ARCH_DAVINCI_DM355=y
-CONFIG_ARCH_DAVINCI_DM646x=y
 CONFIG_ARCH_DAVINCI_DA830=y
 CONFIG_ARCH_DAVINCI_DA850=y
-CONFIG_ARCH_DAVINCI_DM365=y
-CONFIG_MACH_SFFSDR=y
-CONFIG_MACH_NEUROS_OSD2=y
-CONFIG_MACH_DM355_LEOPARD=y
-CONFIG_MACH_MITYOMAPL138=y
-CONFIG_MACH_OMAPL138_HAWKBOARD=y
 CONFIG_DAVINCI_MUX_DEBUG=y
 CONFIG_DAVINCI_MUX_WARNINGS=y
 CONFIG_AEABI=y
@@ -110,7 +101,6 @@ CONFIG_KEYBOARD_XTKBD=m
 CONFIG_INPUT_TOUCHSCREEN=y
 CONFIG_INPUT_MISC=y
 CONFIG_INPUT_PWM_BEEPER=m
-CONFIG_INPUT_DM355EVM=m
 CONFIG_SERIO_LIBPS2=y
 # CONFIG_VT_CONSOLE is not set
 CONFIG_SERIAL_8250=y
@@ -138,7 +128,6 @@ CONFIG_SYSCON_REBOOT_MODE=m
 CONFIG_BATTERY_LEGO_EV3=m
 CONFIG_WATCHDOG=y
 CONFIG_DAVINCI_WATCHDOG=y
-CONFIG_MFD_DM355EVM_MSP=y
 CONFIG_TPS6507X=y
 CONFIG_REGULATOR=y
 CONFIG_REGULATOR_FIXED_VOLTAGE=y
arch/arm/configs/multi_v5_defconfig +0 -9
index 794c7a177594..e0be0e0023f3 100644
@@ -12,17 +12,8 @@ CONFIG_MACH_ASPEED_G4=y
 CONFIG_ARCH_AT91=y
 CONFIG_SOC_AT91SAM9=y
 CONFIG_ARCH_DAVINCI=y
-CONFIG_ARCH_DAVINCI_DM644x=y
-CONFIG_ARCH_DAVINCI_DM355=y
-CONFIG_ARCH_DAVINCI_DM646x=y
 CONFIG_ARCH_DAVINCI_DA830=y
 CONFIG_ARCH_DAVINCI_DA850=y
-CONFIG_ARCH_DAVINCI_DM365=y
-CONFIG_MACH_SFFSDR=y
-CONFIG_MACH_NEUROS_OSD2=y
-CONFIG_MACH_DM355_LEOPARD=y
-CONFIG_MACH_MITYOMAPL138=y
-CONFIG_MACH_OMAPL138_HAWKBOARD=y
 CONFIG_ARCH_MXC=y
 CONFIG_SOC_IMX25=y
 CONFIG_SOC_IMX27=y
arch/arm/mach-davinci/Kconfig +8 -0
index 008cbc2ab867..d7b6990954f4 100644
@@ -26,6 +26,7 @@ config ARCH_DAVINCI_DM644x
 
 config ARCH_DAVINCI_DM355
 	bool "DaVinci 355 based system"
+	depends on ATAGS && UNUSED_BOARD_FILES
 	select DAVINCI_AINTC
 	select ARCH_DAVINCI_DMx
 
@@ -37,6 +38,7 @@ config ARCH_DAVINCI_DM646x
 config ARCH_DAVINCI_DA830
 	bool "DA830/OMAP-L137/AM17x based system"
 	depends on !ARCH_DAVINCI_DMx || (AUTO_ZRELADDR && ARM_PATCH_PHYS_VIRT)
+	depends on ATAGS
 	select ARCH_DAVINCI_DA8XX
 	# needed on silicon revs 1.0, 1.1:
 	select CPU_DCACHE_WRITETHROUGH if !CPU_DCACHE_DISABLE
@@ -45,6 +47,7 @@ config ARCH_DAVINCI_DA830
 config ARCH_DAVINCI_DA850
 	bool "DA850/OMAP-L138/AM18x based system"
 	depends on !ARCH_DAVINCI_DMx || (AUTO_ZRELADDR && ARM_PATCH_PHYS_VIRT)
+	depends on ATAGS
 	select ARCH_DAVINCI_DA8XX
 	select DAVINCI_CP_INTC
 
@@ -53,6 +56,7 @@ config ARCH_DAVINCI_DA8XX
 
 config ARCH_DAVINCI_DM365
 	bool "DaVinci 365 based system"
+	depends on ATAGS && UNUSED_BOARD_FILES
 	select DAVINCI_AINTC
 	select ARCH_DAVINCI_DMx
 
@@ -127,6 +131,7 @@ config MACH_DAVINCI_DM365_EVM
 config MACH_DAVINCI_DA830_EVM
 	bool "TI DA830/OMAP-L137/AM17x Reference Platform"
 	default ARCH_DAVINCI_DA830
+	depends on ATAGS && UNUSED_BOARD_FILES
 	depends on ARCH_DAVINCI_DA830
 	select GPIO_PCF857X if I2C
 	help
@@ -156,6 +161,7 @@ endchoice
 
 config MACH_DAVINCI_DA850_EVM
 	bool "TI DA850/OMAP-L138/AM18x Reference Platform"
+	depends on ATAGS && UNUSED_BOARD_FILES
 	default ARCH_DAVINCI_DA850
 	depends on ARCH_DAVINCI_DA850
 	help
@@ -197,6 +203,7 @@ endchoice
 config MACH_MITYOMAPL138
 	bool "Critical Link MityDSP-L138/MityARM-1808 SoM"
 	depends on ARCH_DAVINCI_DA850
+	depends on ATAGS && UNUSED_BOARD_FILES
 	help
 	  Say Y here to select the Critical Link MityDSP-L138/MityARM-1808
 	  System on Module.  Information on this SoM may be found at
@@ -205,6 +212,7 @@ config MACH_MITYOMAPL138
 config MACH_OMAPL138_HAWKBOARD
 	bool "TI AM1808 / OMAPL-138 Hawkboard platform"
 	depends on ARCH_DAVINCI_DA850
+	depends on ATAGS && UNUSED_BOARD_FILES
 	help
 	  Say Y here to select the TI AM1808 / OMAPL-138 Hawkboard platform .
 
Signature · 7 lines
2.29.2


_______________________________________________
linux-arm-kernel mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
#8 lore raw

PATCH 6/13 ARM: ep93xx: mark most board files as unused

In reply to Arnd Bergmann

From: Arnd Bergmann <[email protected]>

Most of the remaining ARM board files in the kernel have no known users, and we plan to remove those in early 2023.

For ep93xx, Alexander Sverdlin still has access to the edb93xx family of reference boards, while Nikita Shubin has a ts7250 and is working on a device tree conversion for those.

This is a total of nine machine definitions that we will keep around, but these are all similar machines and are defined in only two board files. The other six board files now have a dependency on CONFIG_UNUSED_BOARD_FILES to indicate that they are likely going away.

Cc Nikita Shubin <[email protected]>
Cc Alexander Sverdlin <[email protected]>
Cc Hartley Sweeten <[email protected]>
Cc Lukasz Majewski <[email protected]>
---
 arch/arm/configs/ep93xx_defconfig | 9 ---------
 arch/arm/mach-ep93xx/Kconfig      | 9 +++++++++
 2 files changed, 9 insertions(+), 9 deletions(-)
arch/arm/configs/ep93xx_defconfig +0 -9
index dd390f3b19d2..afa4f789da1f 100644
@@ -8,7 +8,6 @@ CONFIG_EXPERT=y
 CONFIG_ARCH_MULTI_V4T=y
 # CONFIG_ARCH_MULTI_V7 is not set
 CONFIG_ARCH_EP93XX=y
-CONFIG_MACH_ADSSPHERE=y
 CONFIG_MACH_EDB9301=y
 CONFIG_MACH_EDB9302=y
 CONFIG_MACH_EDB9302A=y
@@ -17,15 +16,7 @@ CONFIG_MACH_EDB9307A=y
 CONFIG_MACH_EDB9312=y
 CONFIG_MACH_EDB9315=y
 CONFIG_MACH_EDB9315A=y
-CONFIG_MACH_GESBC9312=y
-CONFIG_MACH_MICRO9H=y
-CONFIG_MACH_MICRO9M=y
-CONFIG_MACH_MICRO9L=y
-CONFIG_MACH_MICRO9S=y
-CONFIG_MACH_SIM_ONE=y
-CONFIG_MACH_SNAPPER_CL15=y
 CONFIG_MACH_TS72XX=y
-CONFIG_MACH_VISION_EP9307=y
 CONFIG_AEABI=y
 CONFIG_CMDLINE="console=ttyAM0,115200 root=/dev/nfs ip=bootp"
 CONFIG_MODULES=y
arch/arm/mach-ep93xx/Kconfig +9 -0
index ecac8b487dae..f96d14073b91 100644
@@ -27,6 +27,7 @@ comment "EP93xx Platforms"
 
 config MACH_ADSSPHERE
 	bool "Support ADS Sphere"
+	depends on UNUSED_BOARD_FILES
 	help
 	  Say 'Y' here if you want your kernel to support the ADS
 	  Sphere board.
@@ -99,6 +100,7 @@ config MACH_EDB9315A
 
 config MACH_GESBC9312
 	bool "Support Glomation GESBC-9312-sx"
+	depends on UNUSED_BOARD_FILES
 	help
 	  Say 'Y' here if you want your kernel to support the Glomation
 	  GESBC-9312-sx board.
@@ -109,6 +111,7 @@ config MACH_MICRO9
 config MACH_MICRO9H
 	bool "Support Contec Micro9-High"
 	select MACH_MICRO9
+	depends on UNUSED_BOARD_FILES
 	help
 	  Say 'Y' here if you want your kernel to support the
 	  Contec Micro9-High board.
@@ -116,6 +119,7 @@ config MACH_MICRO9H
 config MACH_MICRO9M
 	bool "Support Contec Micro9-Mid"
 	select MACH_MICRO9
+	depends on UNUSED_BOARD_FILES
 	help
 	  Say 'Y' here if you want your kernel to support the
 	  Contec Micro9-Mid board.
@@ -123,6 +127,7 @@ config MACH_MICRO9M
 config MACH_MICRO9L
 	bool "Support Contec Micro9-Lite"
 	select MACH_MICRO9
+	depends on UNUSED_BOARD_FILES
 	help
 	  Say 'Y' here if you want your kernel to support the
 	  Contec Micro9-Lite board.
@@ -130,18 +135,21 @@ config MACH_MICRO9L
 config MACH_MICRO9S
 	bool "Support Contec Micro9-Slim"
 	select MACH_MICRO9
+	depends on UNUSED_BOARD_FILES
 	help
 	  Say 'Y' here if you want your kernel to support the
 	  Contec Micro9-Slim board.
 
 config MACH_SIM_ONE
         bool "Support Simplemachines Sim.One board"
+	depends on UNUSED_BOARD_FILES
         help
           Say 'Y' here if you want your kernel to support the
           Simplemachines Sim.One board.
 
 config MACH_SNAPPER_CL15
 	bool "Support Bluewater Systems Snapper CL15 Module"
+	depends on UNUSED_BOARD_FILES
 	help
 	  Say 'Y' here if you want your kernel to support the Bluewater
 	  Systems Snapper CL15 Module.
@@ -154,6 +162,7 @@ config MACH_TS72XX
 
 config MACH_VISION_EP9307
 	bool "Support Vision Engraving Systems EP9307 SoM"
+	depends on UNUSED_BOARD_FILES
 	help
 	  Say 'Y' here if you want your kernel to support the
 	  Vision Engraving Systems EP9307 SoM.
Signature · 7 lines
2.29.2


_______________________________________________
linux-arm-kernel mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
#21 lore raw

PATCH 8/13 ARM: footbridge: mark cats board for removal

In reply to Arnd Bergmann

From: Arnd Bergmann <[email protected]>

There are three remaining footbridge boards, as the CO285 and the HP personal server got removed already over the years.

Russell still uses his ebsa285, while both Linus and Marc have a NetWinder that they use for testing. Nobody so far replied that they are using cats, so it goes on the long list of machines to be removed in early 2023 if it stays like this.

Cc Russell King <[email protected]>
Cc Linus Walleij <[email protected]>
Cc Marc Zyngier <[email protected]>
---
 arch/arm/configs/footbridge_defconfig | 1 -
 arch/arm/mach-footbridge/Kconfig      | 1 +
 2 files changed, 1 insertion(+), 1 deletion(-)
arch/arm/configs/footbridge_defconfig +0 -1
index 5c0c88ce9bc5..504070812ad0 100644
@@ -5,7 +5,6 @@ CONFIG_BLK_DEV_INITRD=y
 CONFIG_EXPERT=y
 # CONFIG_HOTPLUG is not set
 CONFIG_ARCH_FOOTBRIDGE=y
-CONFIG_ARCH_CATS=y
 CONFIG_ARCH_EBSA285_HOST=y
 CONFIG_ARCH_NETWINDER=y
 CONFIG_FPE_NWFPE=y
arch/arm/mach-footbridge/Kconfig +1 -0
index 728aff93fba9..bcd4e4ca34f7 100644
@@ -5,6 +5,7 @@ menu "Footbridge Implementations"
 
 config ARCH_CATS
 	bool "CATS"
+	depends on UNUSED_BOARD_FILES
 	select CLKEVT_I8253
 	select CLKSRC_I8253
 	select FOOTBRIDGE_HOST
Signature · 7 lines
2.29.2


_______________________________________________
linux-arm-kernel mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
#20 lore raw

PATCH 7/13 ARM: mmp: mark all board files for removal

In reply to Arnd Bergmann

From: Arnd Bergmann <[email protected]>

The mmp platform supports both ATAGS based board files and DT booting, but it appears that nobody has been interested in board files for a long time.

Mark all of them for removal in early 2023 with a dependency on CONFIG_UNUSED_BOARD_FILES, leaving only the DT support for the future, unless someone pops up who uses them.

Cc Lubomir Rintel <[email protected]>
Cc Haojian Zhuang <[email protected]>
---
 arch/arm/configs/mmp2_defconfig | 5 ++---
 arch/arm/mach-mmp/Kconfig       | 9 +++++++++
 2 files changed, 11 insertions(+), 3 deletions(-)
arch/arm/configs/mmp2_defconfig +2 -3
index 1b6b41a36888..4d39c615117b 100644
@@ -5,10 +5,8 @@ CONFIG_LOG_BUF_SHIFT=14
 CONFIG_SYSFS_DEPRECATED_V2=y
 # CONFIG_BLK_DEV_BSG is not set
 CONFIG_ARCH_MMP=y
-CONFIG_MACH_BROWNSTONE=y
-CONFIG_MACH_FLINT=y
-CONFIG_MACH_MARVELL_JASPER=y
 CONFIG_AEABI=y
+CONFIG_MACH_MMP2_DT=y
 CONFIG_CMDLINE="root=/dev/nfs rootfstype=nfs nfsroot=192.168.1.100:/nfsroot/ ip=192.168.1.101:192.168.1.100::255.255.255.0::eth0:on console=ttyS2,38400 mem=128M user_debug=255 earlyprintk"
 CONFIG_VFP=y
 CONFIG_MODULES=y
@@ -56,6 +54,7 @@ CONFIG_BACKLIGHT_MAX8925=y
 CONFIG_MMC=y
 CONFIG_RTC_CLASS=y
 CONFIG_RTC_DRV_MAX8925=y
+# CONFIG_RESET_CONTROLLER is not set
 CONFIG_EXT2_FS=y
 CONFIG_EXT3_FS=y
 CONFIG_EXT4_FS=y
arch/arm/mach-mmp/Kconfig +9 -0
index 333229c65b28..d71417d57961 100644
@@ -18,6 +18,7 @@ if ATAGS
 config MACH_ASPENITE
 	bool "Marvell's PXA168 Aspenite Development Board"
 	depends on ARCH_MULTI_V5
+	depends on UNUSED_BOARD_FILES
 	select CPU_PXA168
 	help
 	  Say 'Y' here if you want to support the Marvell PXA168-based
@@ -26,6 +27,7 @@ config MACH_ASPENITE
 config MACH_ZYLONITE2
 	bool "Marvell's PXA168 Zylonite2 Development Board"
 	depends on ARCH_MULTI_V5
+	depends on UNUSED_BOARD_FILES
 	select CPU_PXA168
 	help
 	  Say 'Y' here if you want to support the Marvell PXA168-based
@@ -34,6 +36,7 @@ config MACH_ZYLONITE2
 config MACH_AVENGERS_LITE
 	bool "Marvell's PXA168 Avengers Lite Development Board"
 	depends on ARCH_MULTI_V5
+	depends on UNUSED_BOARD_FILES
 	select CPU_PXA168
 	help
 	  Say 'Y' here if you want to support the Marvell PXA168-based
@@ -42,6 +45,7 @@ config MACH_AVENGERS_LITE
 config MACH_TTC_DKB
 	bool "Marvell's PXA910 TavorEVB/TTC_DKB Development Board"
 	depends on ARCH_MULTI_V5
+	depends on UNUSED_BOARD_FILES
 	select CPU_PXA910
 	help
 	  Say 'Y' here if you want to support the Marvell PXA910-based
@@ -50,6 +54,7 @@ config MACH_TTC_DKB
 config MACH_BROWNSTONE
 	bool "Marvell's Brownstone Development Platform"
 	depends on ARCH_MULTI_V7
+	depends on UNUSED_BOARD_FILES
 	select CPU_MMP2
 	help
 	  Say 'Y' here if you want to support the Marvell MMP2-based
@@ -61,6 +66,7 @@ config MACH_BROWNSTONE
 config MACH_FLINT
 	bool "Marvell's Flint Development Platform"
 	depends on ARCH_MULTI_V7
+	depends on UNUSED_BOARD_FILES
 	select CPU_MMP2
 	help
 	  Say 'Y' here if you want to support the Marvell MMP2-based
@@ -72,6 +78,7 @@ config MACH_FLINT
 config MACH_MARVELL_JASPER
 	bool "Marvell's Jasper Development Platform"
 	depends on ARCH_MULTI_V7
+	depends on UNUSED_BOARD_FILES
 	select CPU_MMP2
 	help
 	  Say 'Y' here if you want to support the Marvell MMP2-base
@@ -83,6 +90,7 @@ config MACH_MARVELL_JASPER
 config MACH_TETON_BGA
 	bool "Marvell's PXA168 Teton BGA Development Board"
 	depends on ARCH_MULTI_V5
+	depends on UNUSED_BOARD_FILES
 	select CPU_PXA168
 	help
 	  Say 'Y' here if you want to support the Marvell PXA168-based
@@ -91,6 +99,7 @@ config MACH_TETON_BGA
 config MACH_GPLUGD
 	bool "Marvell's PXA168 GuruPlug Display (gplugD) Board"
 	depends on ARCH_MULTI_V5
+	depends on UNUSED_BOARD_FILES
 	select CPU_PXA168
 	help
 	  Say 'Y' here if you want to support the Marvell PXA168-based
Signature · 7 lines
2.29.2


_______________________________________________
linux-arm-kernel mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
#22 lore raw

PATCH 9/13 ARM: sa1100: mark most boards as unused

In reply to Arnd Bergmann

From: Arnd Bergmann <[email protected]>

Most Arm board files are unused and will be removed in early 2023 if no remaining users show up. For the sa1100 platform, the machines that are still in use are:

- Russell's Assabet development board
- Linus' H3600 iPaq PocketPC
- Collie as the only qemu-supported board, to allow testing by others

All remaining sa1100 boards are marked to depend on CONFIG_UNUSED_BOARD_FILES to give potential users a last chance to speak up.

Cc Kristoffer Ericson <[email protected]>
Cc Russell King <[email protected]>
Cc Linus Walleij <[email protected]>
---
 arch/arm/configs/badge4_defconfig     |  1 +
 arch/arm/configs/cerfcube_defconfig   |  1 +
 arch/arm/configs/hackkit_defconfig    |  1 +
 arch/arm/configs/jornada720_defconfig |  1 +
 arch/arm/configs/lart_defconfig       |  1 +
 arch/arm/configs/pleb_defconfig       |  1 +
 arch/arm/configs/shannon_defconfig    |  1 +
 arch/arm/configs/simpad_defconfig     |  1 +
 arch/arm/mach-sa1100/Kconfig          | 11 +++++++++++
 9 files changed, 19 insertions(+)
arch/arm/configs/badge4_defconfig +1 -0
index 179788073afd..506f3378da07 100644
@@ -2,6 +2,7 @@ CONFIG_LOG_BUF_SHIFT=14
 CONFIG_EXPERT=y
 CONFIG_ARCH_SA1100=y
 CONFIG_SA1100_BADGE4=y
+CONFIG_UNUSED_BOARD_FILES=y
 CONFIG_CMDLINE="init=/linuxrc root=/dev/mtdblock3"
 CONFIG_CPU_FREQ_GOV_PERFORMANCE=y
 CONFIG_FPE_NWFPE=y
arch/arm/configs/cerfcube_defconfig +1 -0
index d4f3f9a8cd97..7e6f7dfa3023 100644
@@ -4,6 +4,7 @@ CONFIG_LOG_BUF_SHIFT=14
 CONFIG_ARCH_SA1100=y
 CONFIG_SA1100_CERF=y
 CONFIG_SA1100_CERF_FLASH_16MB=y
+CONFIG_UNUSED_BOARD_FILES=y
 CONFIG_CMDLINE="console=ttySA0,38400 root=/dev/mtdblock3 rootfstype=jffs2 rw mem=32M init=/linuxrc"
 CONFIG_CPU_FREQ_DEFAULT_GOV_PERFORMANCE=y
 CONFIG_CPU_FREQ_GOV_USERSPACE=m
arch/arm/configs/hackkit_defconfig +1 -0
index 19bc294c2767..b9327b2eacd3 100644
@@ -3,6 +3,7 @@ CONFIG_LOG_BUF_SHIFT=14
 CONFIG_BLK_DEV_INITRD=y
 CONFIG_ARCH_SA1100=y
 CONFIG_SA1100_HACKKIT=y
+CONFIG_UNUSED_BOARD_FILES=y
 CONFIG_CMDLINE="console=ttySA0,115200 root=/dev/ram0 initrd=0xc0400000,8M init=/rootshell"
 CONFIG_CPU_FREQ_GOV_PERFORMANCE=y
 CONFIG_FPE_NWFPE=y
arch/arm/configs/jornada720_defconfig +1 -0
index d9e2551ac31d..3dcf89d3e1f1 100644
@@ -4,6 +4,7 @@ CONFIG_SYSFS_DEPRECATED_V2=y
 CONFIG_ARCH_SA1100=y
 CONFIG_SA1100_JORNADA720=y
 CONFIG_SA1100_JORNADA720_SSP=y
+CONFIG_UNUSED_BOARD_FILES=y
 CONFIG_FPE_NWFPE=y
 CONFIG_BINFMT_AOUT=y
 CONFIG_PM=y
arch/arm/configs/lart_defconfig +1 -0
index 3dad6adabb43..0c2f19d756c0 100644
@@ -3,6 +3,7 @@ CONFIG_LOG_BUF_SHIFT=14
 CONFIG_BLK_DEV_INITRD=y
 CONFIG_ARCH_SA1100=y
 CONFIG_SA1100_LART=y
+CONFIG_UNUSED_BOARD_FILES=y
 CONFIG_CMDLINE="console=ttySA0,9600 root=/dev/ram"
 CONFIG_CPU_FREQ_DEFAULT_GOV_PERFORMANCE=y
 CONFIG_CPU_FREQ_GOV_USERSPACE=y
arch/arm/configs/pleb_defconfig +1 -0
index e109d8784b10..d87263336cb2 100644
@@ -6,6 +6,7 @@ CONFIG_EXPERT=y
 # CONFIG_SHMEM is not set
 CONFIG_ARCH_SA1100=y
 CONFIG_SA1100_PLEB=y
+CONFIG_UNUSED_BOARD_FILES=y
 CONFIG_CMDLINE="console=ttySA0,9600 mem=16M@0xc0000000 mem=16M@0xc8000000 root=/dev/ram initrd=0xc0400000,4M"
 CONFIG_CPU_FREQ_DEFAULT_GOV_PERFORMANCE=y
 CONFIG_CPU_FREQ_GOV_ONDEMAND=y
arch/arm/configs/shannon_defconfig +1 -0
index feaec5405576..42252e85ee49 100644
@@ -3,6 +3,7 @@ CONFIG_LOG_BUF_SHIFT=14
 CONFIG_BLK_DEV_INITRD=y
 CONFIG_ARCH_SA1100=y
 CONFIG_SA1100_SHANNON=y
+CONFIG_UNUSED_BOARD_FILES=y
 CONFIG_CMDLINE="console=ttySA0,9600 console=tty1 root=/dev/mtdblock2 init=/linuxrc"
 CONFIG_FPE_NWFPE=y
 CONFIG_MODULES=y
arch/arm/configs/simpad_defconfig +1 -0
index 7956f0da0bf9..cc451728f6d9 100644
@@ -7,6 +7,7 @@ CONFIG_KALLSYMS_ALL=y
 CONFIG_KALLSYMS_EXTRA_PASS=y
 CONFIG_ARCH_SA1100=y
 CONFIG_SA1100_SIMPAD=y
+CONFIG_UNUSED_BOARD_FILES=y
 CONFIG_CMDLINE="mtdparts=sa1100:512k(boot),1m(kernel),-(root) console=ttySA0 root=1f02 noinitrd mem=64M jffs2_orphaned_inodes=delete rootfstype=jffs2"
 CONFIG_FPE_NWFPE=y
 CONFIG_MODULES=y
arch/arm/mach-sa1100/Kconfig +11 -0
index 66e79fa9ba2b..7e0161cb1c1f 100644
@@ -25,6 +25,7 @@ config ASSABET_NEPONSET
 
 config SA1100_CERF
 	bool "CerfBoard"
+	depends on UNUSED_BOARD_FILES
 	select ARM_SA1110_CPUFREQ
 	select LEDS_GPIO_REGISTER
 	help
@@ -62,6 +63,7 @@ config SA1100_COLLIE
 
 config SA1100_H3100
 	bool "Compaq iPAQ H3100"
+	depends on UNUSED_BOARD_FILES
 	select ARM_SA1110_CPUFREQ
 	select HTC_EGPIO
 	select MFD_IPAQ_MICRO
@@ -80,6 +82,7 @@ config SA1100_H3600
 
 config SA1100_BADGE4
 	bool "HP Labs BadgePAD 4"
+	depends on UNUSED_BOARD_FILES
 	select ARM_SA1100_CPUFREQ
 	select SA1111
 	help
@@ -88,6 +91,7 @@ config SA1100_BADGE4
 
 config SA1100_JORNADA720
 	bool "HP Jornada 720"
+	depends on UNUSED_BOARD_FILES
 	# FIXME: select ARM_SA11x0_CPUFREQ
 	select SA1111
 	help
@@ -107,6 +111,7 @@ config SA1100_JORNADA720_SSP
 
 config SA1100_HACKKIT
 	bool "HackKit Core CPU Board"
+	depends on UNUSED_BOARD_FILES
 	select ARM_SA1100_CPUFREQ
 	help
 	  Say Y here to support the HackKit Core CPU Board
@@ -114,6 +119,7 @@ config SA1100_HACKKIT
 
 config SA1100_LART
 	bool "LART"
+	depends on UNUSED_BOARD_FILES
 	select ARM_SA1100_CPUFREQ
 	help
 	  Say Y here if you are using the Linux Advanced Radio Terminal
@@ -122,6 +128,7 @@ config SA1100_LART
 
 config SA1100_NANOENGINE
 	bool "nanoEngine"
+	depends on UNUSED_BOARD_FILES
 	select ARM_SA1110_CPUFREQ
 	select FORCE_PCI
 	select PCI_NANOENGINE
@@ -132,6 +139,7 @@ config SA1100_NANOENGINE
 
 config SA1100_PLEB
 	bool "PLEB"
+	depends on UNUSED_BOARD_FILES
 	select ARM_SA1100_CPUFREQ
 	help
 	  Say Y here if you are using version 1 of the Portable Linux
@@ -141,6 +149,7 @@ config SA1100_PLEB
 
 config SA1100_SHANNON
 	bool "Shannon"
+	depends on UNUSED_BOARD_FILES
 	select ARM_SA1100_CPUFREQ
 	select REGULATOR
 	select REGULATOR_FIXED_VOLTAGE
@@ -152,6 +161,7 @@ config SA1100_SHANNON
 
 config SA1100_SIMPAD
 	bool "Simpad"
+	depends on UNUSED_BOARD_FILES
 	select ARM_SA1110_CPUFREQ
 	help
 	  The SIEMENS webpad SIMpad is based on the StrongARM 1110. There
@@ -163,6 +173,7 @@ config SA1100_SIMPAD
 
 config SA1100_SSP
 	tristate "Generic PIO SSP"
+	depends on UNUSED_BOARD_FILES
 	help
 	  Say Y here to enable support for the generic PIO SSP driver.
 	  This isn't for audio support, but for attached sensors and
Signature · 7 lines
2.29.2


_______________________________________________
linux-arm-kernel mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
#28 lore raw

PATCH 12/13 ARM: iop32x: mark as unused

In reply to Arnd Bergmann

From: Arnd Bergmann <[email protected]>

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 <[email protected]>
Cc Lennert Buytenhek <[email protected]>
---
 arch/arm/configs/iop32x_defconfig | 1 +
 arch/arm/mach-iop32x/Kconfig      | 2 +-
 2 files changed, 2 insertions(+), 1 deletion(-)
arch/arm/configs/iop32x_defconfig +1 -0
index 3bc51fb4ebc9..c16e92cdfd00 100644
@@ -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
arch/arm/mach-iop32x/Kconfig +1 -1
index 142c6374543c..761fbb04faa1 100644
@@ -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
Signature · 7 lines
2.29.2


_______________________________________________
linux-arm-kernel mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
#30 lore raw

PATCH 13/13 ARM: cns3xxx: add CONFIG_UNUSED_BOARD_FILES dependency

In reply to Arnd Bergmann

From: Arnd Bergmann <[email protected]>

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.

---
 arch/arm/configs/cns3420vb_defconfig | 1 +
 arch/arm/mach-cns3xxx/Kconfig        | 2 +-
 2 files changed, 2 insertions(+), 1 deletion(-)
arch/arm/configs/cns3420vb_defconfig +1 -0
index 53f601bbe647..b3aab97c0728 100644
@@ -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
arch/arm/mach-cns3xxx/Kconfig +1 -1
index 622f3cf28c68..1f85deff2486 100644
@@ -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.
Signature · 7 lines
2.29.2


_______________________________________________
linux-arm-kernel mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
Acked-by on v1 3/13
#4 lore raw

Re: [PATCH 03/13] ARM: pxa: add Kconfig dependencies for ATAGS based boards

In reply to Arnd Bergmann
Quoted 16 lines · Arnd Bergmann

From: Arnd Bergmann <[email protected]>

Most of the traditional board files are no longer used by anyone and will be removed next year, while the DT based machine support remains.

Adding a CONFIG_ATAGS dependency around all the board files means that they now actaully get disabled when ATAGS support is left out, and the individual boards that have no known users are marked as depending on CONFIG_UNUSED_BOARD_FILES, with the plan to remove them in early 2023 unless someone else shows interest.

Laurence de Bruxelles intends to work on converting the Spitz/Akita/Borzoi family of Sharp Zaurus SL machines to DT, to make that easier those remain for the moment.

Quoted 8 lines

In addition, the "Gumstix" machine is the one that is supported in qemu with 256MB of RAM, which makes it particularly nice for testing, I'm leaving it in hoping that someone can take care of converting it to DT as well.

Finally, Marc Zyngier is still able to test the Zeus and Viper machines, so these could be saved as well if anyone wants to conver them to DT. This seems less likely, so I'm marking them as unused for the time being.

Note that although I have the machines (I do remember which side of the attic they are stored), I don't have much bandwidth to actually revive them (assuming I could remember the RedBoot runes to kick them into action).

I can only renew my offer to unload them on a willing victim, but I have the feeling that there are no takers.

Quoted 11 lines

For the defconfig files, both the pxa3xx_defconfig and pxa_defconfig now only enable the boards that are not marked as unused, while all the other ones explicitly enable CONFIG_UNUSED_BOARD_FILES to still allow building the kernels.

Cc Robert Jarzmik <[email protected]>
Cc Daniel Mack <[email protected]>
Cc Laurence de Bruxelles <[email protected]>
Cc Marc Zyngier <[email protected]>
	M.
Signature · 6 lines
Without deviation from the norm, progress is not possible.

_______________________________________________
linux-arm-kernel mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
maintainer Acked-by on v1 6/13
#9 lore raw

Re: [PATCH 06/13] ARM: ep93xx: mark most board files as unused

In reply to Arnd Bergmann

Hi Arnd!

Quoted 12 lines · Arnd Bergmann

Most of the remaining ARM board files in the kernel have no known users, and we plan to remove those in early 2023.

For ep93xx, Alexander Sverdlin still has access to the edb93xx family of reference boards, while Nikita Shubin has a ts7250 and is working on a device tree conversion for those.

This is a total of nine machine definitions that we will keep around, but these are all similar machines and are defined in only two board files. The other six board files now have a dependency on CONFIG_UNUSED_BOARD_FILES to indicate that they are likely going away.

Quoted 5 lines
Cc Nikita Shubin <[email protected]>
Cc Alexander Sverdlin <[email protected]>
Cc Hartley Sweeten <[email protected]>
Cc Lukasz Majewski <[email protected]>
Quoted 107 lines

---
 arch/arm/configs/ep93xx_defconfig | 9 ---------
 arch/arm/mach-ep93xx/Kconfig      | 9 +++++++++

 2 files changed, 9 insertions(+), 9 deletions(-)
arch/arm/configs/ep93xx_defconfig +0 -0
index dd390f3b19d2..afa4f789da1f 100644
@@ -8,7 +8,6 @@ CONFIG_EXPERT=y

 CONFIG_ARCH_MULTI_V4T=y
 # CONFIG_ARCH_MULTI_V7 is not set
 CONFIG_ARCH_EP93XX=y
-CONFIG_MACH_ADSSPHERE=y
 CONFIG_MACH_EDB9301=y
 CONFIG_MACH_EDB9302=y
 CONFIG_MACH_EDB9302A=y

arch/arm/configs/ep93xx_defconfig +0 -0
@@ -17,15 +16,7 @@ CONFIG_MACH_EDB9307A=y

 CONFIG_MACH_EDB9312=y
 CONFIG_MACH_EDB9315=y
 CONFIG_MACH_EDB9315A=y

arch/arm/configs/ep93xx_defconfig +0 -7
-CONFIG_MACH_GESBC9312=y
-CONFIG_MACH_MICRO9H=y
-CONFIG_MACH_MICRO9M=y
-CONFIG_MACH_MICRO9L=y
-CONFIG_MACH_MICRO9S=y
-CONFIG_MACH_SIM_ONE=y
-CONFIG_MACH_SNAPPER_CL15=y

 CONFIG_MACH_TS72XX=y
-CONFIG_MACH_VISION_EP9307=y
 CONFIG_AEABI=y CONFIG_CMDLINE="console=ttyAM0,115200 root=/dev/nfs ip=bootp" CONFIG_MODULES=y

arch/arm/mach-ep93xx/Kconfig +0 -0
index ecac8b487dae..f96d14073b91 100644
@@ -27,6 +27,7 @@ comment "EP93xx Platforms"


 config MACH_ADSSPHERE
        bool "Support ADS Sphere"
+       depends on UNUSED_BOARD_FILES
        help
          Say 'Y' here if you want your kernel to support the ADS Sphere board.

arch/arm/mach-ep93xx/Kconfig +0 -0
@@ -99,6 +100,7 @@ config MACH_EDB9315A


 config MACH_GESBC9312
        bool "Support Glomation GESBC-9312-sx"
+       depends on UNUSED_BOARD_FILES
        help
          Say 'Y' here if you want your kernel to support the Glomation GESBC-9312-sx board.

arch/arm/mach-ep93xx/Kconfig +0 -0
@@ -109,6 +111,7 @@ config MACH_MICRO9

 config MACH_MICRO9H
        bool "Support Contec Micro9-High"
        select MACH_MICRO9
+       depends on UNUSED_BOARD_FILES
        help
          Say 'Y' here if you want your kernel to support the Contec Micro9-High board.

arch/arm/mach-ep93xx/Kconfig +0 -0
@@ -116,6 +119,7 @@ config MACH_MICRO9H

 config MACH_MICRO9M
        bool "Support Contec Micro9-Mid"
        select MACH_MICRO9
+       depends on UNUSED_BOARD_FILES
        help
          Say 'Y' here if you want your kernel to support the Contec Micro9-Mid board.

arch/arm/mach-ep93xx/Kconfig +0 -0
@@ -123,6 +127,7 @@ config MACH_MICRO9M

 config MACH_MICRO9L
        bool "Support Contec Micro9-Lite"
        select MACH_MICRO9
+       depends on UNUSED_BOARD_FILES
        help
          Say 'Y' here if you want your kernel to support the Contec Micro9-Lite board.

arch/arm/mach-ep93xx/Kconfig +0 -0
@@ -130,18 +135,21 @@ config MACH_MICRO9L

 config MACH_MICRO9S
        bool "Support Contec Micro9-Slim"
        select MACH_MICRO9
+       depends on UNUSED_BOARD_FILES
        help
          Say 'Y' here if you want your kernel to support the Contec Micro9-Slim board.

 config MACH_SIM_ONE
         bool "Support Simplemachines Sim.One board"
+       depends on UNUSED_BOARD_FILES
         help
           Say 'Y' here if you want your kernel to support the Simplemachines Sim.One board.

 config MACH_SNAPPER_CL15
        bool "Support Bluewater Systems Snapper CL15 Module" +       depends on UNUSED_BOARD_FILES
        help
          Say 'Y' here if you want your kernel to support the Bluewater Systems Snapper CL15 Module.

arch/arm/mach-ep93xx/Kconfig +0 -0
@@ -154,6 +162,7 @@ config MACH_TS72XX


 config MACH_VISION_EP9307
        bool "Support Vision Engraving Systems EP9307 SoM" +       depends on UNUSED_BOARD_FILES
        help
          Say 'Y' here if you want your kernel to support the Vision Engraving Systems EP9307 SoM.

Signature · 7 lines
Alexander Sverdlin.


_______________________________________________
linux-arm-kernel mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
maintainer Acked-by on v1 10/13
#25 lore raw

Re: [PATCH 10/13] ARM: omap1: add Kconfig dependencies for unused boards

In reply to Arnd Bergmann

Hi,

Quoted 9 lines · Arnd Bergmann

From: Arnd Bergmann <[email protected]>

Legacy board files with no known users are planned to get removed in early 2023, and this covers the majority of the omap1 boards as well.

According to Tony, the actual users are all on OSK, Nokia770, and AMS-Delta. Additionally, the sx1 and palmte boards are supported by qemu, which is convenient for testing, so all five stay around past the initial board removal.

Actually also Palm TE gets tested with real hardware, I haven't got the kernel working on QEMU.

Quoted 5 lines

As omap1 is now part of the multiplatform build and uses the common-clk framework, it has become easier to convert these to use devicetree based booting in the future.

Cc Aaro Koskinen <[email protected]>
Quoted 118 lines
Cc Janusz Krzysztofik <[email protected]>
Cc Tony Lindgren <[email protected]>
---
 arch/arm/configs/omap1_defconfig |  9 ---------
 arch/arm/mach-omap1/Kconfig      | 10 ++++++++++
 2 files changed, 10 insertions(+), 9 deletions(-)
arch/arm/configs/omap1_defconfig +0 -9
index 3f72d2ff7644..54a9f50122af 100644
@@ -25,17 +25,8 @@ CONFIG_ARCH_OMAP850=y
 CONFIG_ARCH_OMAP16XX=y
 # CONFIG_OMAP_MUX is not set
 CONFIG_OMAP_RESET_CLOCKS=y
-CONFIG_MACH_OMAP_INNOVATOR=y
-CONFIG_MACH_OMAP_H2=y
-CONFIG_MACH_OMAP_H3=y
-CONFIG_MACH_HERALD=y
 CONFIG_MACH_OMAP_OSK=y
-CONFIG_MACH_OMAP_PERSEUS2=y
-CONFIG_MACH_OMAP_FSAMPLE=y
-CONFIG_MACH_VOICEBLUE=y
 CONFIG_MACH_OMAP_PALMTE=y
-CONFIG_MACH_OMAP_PALMZ71=y
-CONFIG_MACH_OMAP_PALMTT=y
 CONFIG_MACH_SX1=y
 CONFIG_MACH_NOKIA770=y
 CONFIG_MACH_AMS_DELTA=y
arch/arm/mach-omap1/Kconfig +10 -0
index cbeb2b3ba86e..538a960257cc 100644
@@ -132,6 +132,7 @@ comment "OMAP Board Type"
 config MACH_OMAP_INNOVATOR
 	bool "TI Innovator"
 	depends on ARCH_OMAP15XX || ARCH_OMAP16XX
+	depends on UNUSED_BOARD_FILES
 	help
           TI OMAP 1510 or 1610 Innovator board support. Say Y here if you
           have such a board.
@@ -139,6 +140,7 @@ config MACH_OMAP_INNOVATOR
 config MACH_OMAP_H2
 	bool "TI H2 Support"
 	depends on ARCH_OMAP16XX
+	depends on UNUSED_BOARD_FILES
 	help
 	  TI OMAP 1610/1611B H2 board support. Say Y here if you have such
 	  a board.
@@ -146,6 +148,7 @@ config MACH_OMAP_H2
 config MACH_OMAP_H3
 	bool "TI H3 Support"
 	depends on ARCH_OMAP16XX
+	depends on UNUSED_BOARD_FILES
 	help
 	  TI OMAP 1710 H3 board support. Say Y here if you have such
 	  a board.
@@ -153,6 +156,7 @@ config MACH_OMAP_H3
 config MACH_HERALD
 	bool "HTC Herald"
 	depends on ARCH_OMAP850
+	depends on UNUSED_BOARD_FILES
 	help
 	  HTC Herald smartphone support (AKA T-Mobile Wing, ...)
 
@@ -166,6 +170,7 @@ config MACH_OMAP_OSK
 config OMAP_OSK_MISTRAL
 	bool "Mistral QVGA board Support"
 	depends on MACH_OMAP_OSK
+	depends on UNUSED_BOARD_FILES
 	help
 	  The OSK supports an optional add-on board with a Quarter-VGA
 	  touchscreen, PDA-ish buttons, a resume button, bicolor LED,
@@ -174,6 +179,7 @@ config OMAP_OSK_MISTRAL
 config MACH_OMAP_PERSEUS2
 	bool "TI Perseus2"
 	depends on ARCH_OMAP730
+	depends on UNUSED_BOARD_FILES
 	help
 	  Support for TI OMAP 730 Perseus2 board. Say Y here if you have such
 	  a board.
@@ -181,6 +187,7 @@ config MACH_OMAP_PERSEUS2
 config MACH_OMAP_FSAMPLE
 	bool "TI F-Sample"
 	depends on ARCH_OMAP730
+	depends on UNUSED_BOARD_FILES
 	help
 	  Support for TI OMAP 850 F-Sample board. Say Y here if you have such
 	  a board.
@@ -197,6 +204,7 @@ config MACH_OMAP_PALMTE
 config MACH_OMAP_PALMZ71
 	bool "Palm Zire71"
 	depends on ARCH_OMAP15XX
+	depends on UNUSED_BOARD_FILES
 	help
 	 Support for the Palm Zire71 PDA. To boot the kernel,
 	 you'll need a PalmOS compatible bootloader; check out
@@ -206,6 +214,7 @@ config MACH_OMAP_PALMZ71
 config MACH_OMAP_PALMTT
 	bool "Palm Tungsten|T"
 	depends on ARCH_OMAP15XX
+	depends on UNUSED_BOARD_FILES
 	help
 	  Support for the Palm Tungsten|T PDA. To boot the kernel, you'll
 	  need a PalmOS compatible bootloader (Garux); check out
@@ -246,6 +255,7 @@ config MACH_AMS_DELTA
 config MACH_OMAP_GENERIC
 	bool "Generic OMAP board"
 	depends on ARCH_OMAP15XX || ARCH_OMAP16XX
+	depends on UNUSED_BOARD_FILES
 	help
           Support for generic OMAP-1510, 1610 or 1710 board with
           no FPGA. Can be used as template for porting Linux to
Signature · 1 line
2.29.2

A.

Acked-by Alexander Sverdlin
#10 lore raw

RE: [PATCH 06/13] ARM: ep93xx: mark most board files as unused

In reply to Alexander Sverdlin

Hello,

I still have some Vision EP9302 boards that I use.

Hartley

-----Original Message-----
From: Alexander Sverdlin <[email protected]>
Sent: Thursday, July 21, 2022 7:30 AM
To: Arnd Bergmann <[email protected]>; [email protected]
Cc: Arnd Bergmann <[email protected]>; Nikita Shubin <[email protected]>; Hartley Sweeten <[email protected]>; Lukasz Majewski <[email protected]>
Subject: Re: [PATCH 06/13] ARM: ep93xx: mark most board files as unused

Hi Arnd!

Quoted 12 lines · Arnd Bergmann

Most of the remaining ARM board files in the kernel have no known users, and we plan to remove those in early 2023.

For ep93xx, Alexander Sverdlin still has access to the edb93xx family of reference boards, while Nikita Shubin has a ts7250 and is working on a device tree conversion for those.

This is a total of nine machine definitions that we will keep around, but these are all similar machines and are defined in only two board files. The other six board files now have a dependency on CONFIG_UNUSED_BOARD_FILES to indicate that they are likely going away.

Quoted 5 lines
Cc Nikita Shubin <[email protected]>
Cc Alexander Sverdlin <[email protected]>
Cc Hartley Sweeten <[email protected]>
Cc Lukasz Majewski <[email protected]>
Quoted 89 lines
---
 arch/arm/configs/ep93xx_defconfig | 9 ---------
 arch/arm/mach-ep93xx/Kconfig      | 9 +++++++++
 2 files changed, 9 insertions(+), 9 deletions(-)
arch/arm/configs/ep93xx_defconfig +0 -1
index dd390f3b19d2..afa4f789da1f 100644
@@ -8,7 +8,6 @@ CONFIG_EXPERT=y
 CONFIG_ARCH_MULTI_V4T=y
 # CONFIG_ARCH_MULTI_V7 is not set
 CONFIG_ARCH_EP93XX=y
-CONFIG_MACH_ADSSPHERE=y
 CONFIG_MACH_EDB9301=y
 CONFIG_MACH_EDB9302=y
 CONFIG_MACH_EDB9302A=y
@@ -17,15 +16,7 @@ CONFIG_MACH_EDB9307A=y  CONFIG_MACH_EDB9312=y  

CONFIG_MACH_EDB9315=y CONFIG_MACH_EDB9315A=y -CONFIG_MACH_GESBC9312=y

arch/arm/configs/ep93xx_defconfig +0 -4
-CONFIG_MACH_MICRO9H=y -CONFIG_MACH_MICRO9M=y -CONFIG_MACH_MICRO9L=y 
-CONFIG_MACH_MICRO9S=y -CONFIG_MACH_SIM_ONE=y 
-CONFIG_MACH_SNAPPER_CL15=y  CONFIG_MACH_TS72XX=y 
-CONFIG_MACH_VISION_EP9307=y  CONFIG_AEABI=y
 CONFIG_CMDLINE="console=ttyAM0,115200 root=/dev/nfs ip=bootp"
 CONFIG_MODULES=y
(quoted diff) +0 -0

b/arch/arm/mach-ep93xx/Kconfig index ecac8b487dae..f96d14073b91 100644

arch/arm/mach-ep93xx/Kconfig +8 -0
@@ -27,6 +27,7 @@ comment "EP93xx Platforms"
 
 config MACH_ADSSPHERE
        bool "Support ADS Sphere"
+       depends on UNUSED_BOARD_FILES
        help
          Say 'Y' here if you want your kernel to support the ADS
          Sphere board.
@@ -99,6 +100,7 @@ config MACH_EDB9315A
 
 config MACH_GESBC9312
        bool "Support Glomation GESBC-9312-sx"
+       depends on UNUSED_BOARD_FILES
        help
          Say 'Y' here if you want your kernel to support the Glomation
          GESBC-9312-sx board.
@@ -109,6 +111,7 @@ config MACH_MICRO9  config MACH_MICRO9H
        bool "Support Contec Micro9-High"
        select MACH_MICRO9
+       depends on UNUSED_BOARD_FILES
        help
          Say 'Y' here if you want your kernel to support the
          Contec Micro9-High board.
@@ -116,6 +119,7 @@ config MACH_MICRO9H  config MACH_MICRO9M
        bool "Support Contec Micro9-Mid"
        select MACH_MICRO9
+       depends on UNUSED_BOARD_FILES
        help
          Say 'Y' here if you want your kernel to support the
          Contec Micro9-Mid board.
@@ -123,6 +127,7 @@ config MACH_MICRO9M  config MACH_MICRO9L
        bool "Support Contec Micro9-Lite"
        select MACH_MICRO9
+       depends on UNUSED_BOARD_FILES
        help
          Say 'Y' here if you want your kernel to support the
          Contec Micro9-Lite board.
@@ -130,18 +135,21 @@ config MACH_MICRO9L  config MACH_MICRO9S
        bool "Support Contec Micro9-Slim"
        select MACH_MICRO9
+       depends on UNUSED_BOARD_FILES
        help
          Say 'Y' here if you want your kernel to support the
          Contec Micro9-Slim board.
 
 config MACH_SIM_ONE
         bool "Support Simplemachines Sim.One board"
+       depends on UNUSED_BOARD_FILES
         help
           Say 'Y' here if you want your kernel to support the
           Simplemachines Sim.One board.
 
 config MACH_SNAPPER_CL15
        bool "Support Bluewater Systems Snapper CL15 Module"
+       depends on UNUSED_BOARD_FILES
        help
          Say 'Y' here if you want your kernel to support the Bluewater
          Systems Snapper CL15 Module.

arch/arm/mach-ep93xx/Kconfig config MACH_TS72XX · line 168

Quoted 7 lines
arch/arm/mach-ep93xx/Kconfig +1 -0
@@ -154,6 +162,7 @@ config MACH_TS72XX
 
 config MACH_VISION_EP9307
        bool "Support Vision Engraving Systems EP9307 SoM"
+       depends on UNUSED_BOARD_FILES
        help
          Say 'Y' here if you want your kernel to support the
          Vision Engraving Systems EP9307 SoM.

--
Alexander Sverdlin.

_______________________________________________
linux-arm-kernel mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

#11 lore raw

Re: [PATCH 06/13] ARM: ep93xx: mark most board files as unused

Hi Hartley!

Quoted 1 line · Hartley Sweeten

I still have some Vision EP9302 boards that I use.

Which Kconfig entry is it?
Is it MACH_VISION_EP9307 or MACH_EDB9302?

Signature · 7 lines
Alexander Sverdlin.


_______________________________________________
linux-arm-kernel mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
#12 lore raw

RE: [PATCH 06/13] ARM: ep93xx: mark most board files as unused

Alexander,

MACH_VISION_EP9307

I also have a EDB9302 eval boad, a Sim.One board and a Contec Micro9 board. But I have not powered those on for quite a while. They did work last time I used them.

MACH_SIM_ONE
MACH_MICRO9

Hartley

-----Original Message-----
From: Alexander Sverdlin <[email protected]>
Sent: Thursday, July 21, 2022 9:01 AM
To: Hartley Sweeten <[email protected]>; Arnd Bergmann <[email protected]>; [email protected]
Cc: Arnd Bergmann <[email protected]>; Nikita Shubin <[email protected]>; Lukasz Majewski <[email protected]>
Subject: Re: [PATCH 06/13] ARM: ep93xx: mark most board files as unused

CAUTION: This email originated from outside of the organization. Do not click links or open attachments unless you recognize the sender and know the content is safe.

Hi Hartley!

Quoted 1 line · Hartley Sweeten

I still have some Vision EP9302 boards that I use.

Which Kconfig entry is it?
Is it MACH_VISION_EP9307 or MACH_EDB9302?

--
Alexander Sverdlin.

_______________________________________________
linux-arm-kernel mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

#13 lore raw

Re: [PATCH 06/13] ARM: ep93xx: mark most board files as unused

Quoted 4 lines · Hartley Sweeten

Alexander,

MACH_VISION_EP9307

Ok, marked as still in use.

Quoted 5 lines

I also have a EDB9302 eval boad, a Sim.One board and a Contec Micro9 board. But I have not powered those on for quite a while. They did work last time I used them.

MACH_SIM_ONE
MACH_MICRO9

That sounds to me like it fits in the 'unused' category, so I left it marked that way.
Let me know if you think we should keep them for now.

Also, do you have any additional thoughts on longterm viability of ep93xx, especially
plans for how long Vision EP9302 kernel updates will get distributed to users, and
whether it makes sense to convert it to DT?

Arnd

_______________________________________________
linux-arm-kernel mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

Acked-by on v1 12/13
#29 lore raw

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

In reply to Arnd Bergmann
Quoted 9 lines · Arnd Bergmann

From: Arnd Bergmann <[email protected]>

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/

Quoted 5 lines

with the intention of removing it in early 2023.

If any users remain, please speak up now.

Cc Dan Williams <[email protected]>
Quoted 35 lines
Cc Lennert Buytenhek <[email protected]>
---
 arch/arm/configs/iop32x_defconfig | 1 +
 arch/arm/mach-iop32x/Kconfig      | 2 +-
 2 files changed, 2 insertions(+), 1 deletion(-)
arch/arm/configs/iop32x_defconfig +1 -0
index 3bc51fb4ebc9..c16e92cdfd00 100644
@@ -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
arch/arm/mach-iop32x/Kconfig +1 -1
index 142c6374543c..761fbb04faa1 100644
@@ -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
Signature · 1 line
2.29.2

_______________________________________________
linux-arm-kernel mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

#14 lore raw

Re: [PATCH 06/13] ARM: ep93xx: mark most board files as unused

In reply to Arnd Bergmann

Hi Arnd,

Quoted 8 lines

From: Arnd Bergmann <[email protected]>

Most of the remaining ARM board files in the kernel have no known users, and we plan to remove those in early 2023.

For ep93xx, Alexander Sverdlin still has access to the edb93xx family of reference boards, while Nikita Shubin has a ts7250 and is working on a device tree conversion for those.

I do know about one actively used TS7250 based board. It is going to be still used for some time. However, I don't have the HW with me, but may be available when the BSP will be refurbished.

Quoted 111 lines

This is a total of nine machine definitions that we will keep around, but these are all similar machines and are defined in only two board files. The other six board files now have a dependency on CONFIG_UNUSED_BOARD_FILES to indicate that they are likely going away.

Cc Nikita Shubin <[email protected]>
Cc Alexander Sverdlin <[email protected]>
Cc Hartley Sweeten <[email protected]>
Cc Lukasz Majewski <[email protected]>
---
 arch/arm/configs/ep93xx_defconfig | 9 ---------
 arch/arm/mach-ep93xx/Kconfig      | 9 +++++++++
 2 files changed, 9 insertions(+), 9 deletions(-)
(quoted diff) +0 -0

b/arch/arm/configs/ep93xx_defconfig index dd390f3b19d2..afa4f789da1f 100644 --- a/arch/arm/configs/ep93xx_defconfig
+++ b/arch/arm/configs/ep93xx_defconfig

arch/arm/configs/ep93xx_defconfig +0 -9
@@ -8,7 +8,6 @@ CONFIG_EXPERT=y
 CONFIG_ARCH_MULTI_V4T=y
 # CONFIG_ARCH_MULTI_V7 is not set
 CONFIG_ARCH_EP93XX=y
-CONFIG_MACH_ADSSPHERE=y
 CONFIG_MACH_EDB9301=y
 CONFIG_MACH_EDB9302=y
 CONFIG_MACH_EDB9302A=y
@@ -17,15 +16,7 @@ CONFIG_MACH_EDB9307A=y
 CONFIG_MACH_EDB9312=y
 CONFIG_MACH_EDB9315=y
 CONFIG_MACH_EDB9315A=y
-CONFIG_MACH_GESBC9312=y
-CONFIG_MACH_MICRO9H=y
-CONFIG_MACH_MICRO9M=y
-CONFIG_MACH_MICRO9L=y
-CONFIG_MACH_MICRO9S=y
-CONFIG_MACH_SIM_ONE=y
-CONFIG_MACH_SNAPPER_CL15=y
 CONFIG_MACH_TS72XX=y
-CONFIG_MACH_VISION_EP9307=y
 CONFIG_AEABI=y
 CONFIG_CMDLINE="console=ttyAM0,115200 root=/dev/nfs ip=bootp"
 CONFIG_MODULES=y
(quoted diff) +0 -0

b/arch/arm/mach-ep93xx/Kconfig index ecac8b487dae..f96d14073b91 100644

arch/arm/mach-ep93xx/Kconfig +2 -0
@@ -27,6 +27,7 @@ comment "EP93xx Platforms"
 
 config MACH_ADSSPHERE
 	bool "Support ADS Sphere"
+	depends on UNUSED_BOARD_FILES
 	help
 	  Say 'Y' here if you want your kernel to support the ADS
 	  Sphere board.
@@ -99,6 +100,7 @@ config MACH_EDB9315A
 
 config MACH_GESBC9312
 	bool "Support Glomation GESBC-9312-sx"
+	depends on UNUSED_BOARD_FILES
 	help
 	  Say 'Y' here if you want your kernel to support the

Glomation GESBC-9312-sx board.

arch/arm/mach-ep93xx/Kconfig +6 -0
@@ -109,6 +111,7 @@ config MACH_MICRO9
 config MACH_MICRO9H
 	bool "Support Contec Micro9-High"
 	select MACH_MICRO9
+	depends on UNUSED_BOARD_FILES
 	help
 	  Say 'Y' here if you want your kernel to support the
 	  Contec Micro9-High board.
@@ -116,6 +119,7 @@ config MACH_MICRO9H
 config MACH_MICRO9M
 	bool "Support Contec Micro9-Mid"
 	select MACH_MICRO9
+	depends on UNUSED_BOARD_FILES
 	help
 	  Say 'Y' here if you want your kernel to support the
 	  Contec Micro9-Mid board.
@@ -123,6 +127,7 @@ config MACH_MICRO9M
 config MACH_MICRO9L
 	bool "Support Contec Micro9-Lite"
 	select MACH_MICRO9
+	depends on UNUSED_BOARD_FILES
 	help
 	  Say 'Y' here if you want your kernel to support the
 	  Contec Micro9-Lite board.
@@ -130,18 +135,21 @@ config MACH_MICRO9L
 config MACH_MICRO9S
 	bool "Support Contec Micro9-Slim"
 	select MACH_MICRO9
+	depends on UNUSED_BOARD_FILES
 	help
 	  Say 'Y' here if you want your kernel to support the
 	  Contec Micro9-Slim board.
 
 config MACH_SIM_ONE
         bool "Support Simplemachines Sim.One board"
+	depends on UNUSED_BOARD_FILES
         help
           Say 'Y' here if you want your kernel to support the
           Simplemachines Sim.One board.
 
 config MACH_SNAPPER_CL15
 	bool "Support Bluewater Systems Snapper CL15 Module"
+	depends on UNUSED_BOARD_FILES
 	help
 	  Say 'Y' here if you want your kernel to support the

Bluewater Systems Snapper CL15 Module.

arch/arm/mach-ep93xx/Kconfig config MACH_TS72XX · line 168

Quoted 7 lines
arch/arm/mach-ep93xx/Kconfig +1 -0
@@ -154,6 +162,7 @@ config MACH_TS72XX
 
 config MACH_VISION_EP9307
 	bool "Support Vision Engraving Systems EP9307 SoM"
+	depends on UNUSED_BOARD_FILES
 	help
 	  Say 'Y' here if you want your kernel to support the
 	  Vision Engraving Systems EP9307 SoM.

Best regards,

Lukasz Majewski

--

DENX Software Engineering GmbH, Managing Director: Wolfgang Denk
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-59 Fax: (+49)-8142-66989-80 Email: [email protected]

_______________________________________________
linux-arm-kernel mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

#15 lore raw

Re: [PATCH 06/13] ARM: ep93xx: mark most board files as unused

Quoted 5 lines · Lukasz Majewski
Quoted 5 lines

From: Arnd Bergmann <[email protected]>

Most of the remaining ARM board files in the kernel have no known users, and we plan to remove those in early 2023.

Quoted 7 lines
Quoted 3 lines

For ep93xx, Alexander Sverdlin still has access to the edb93xx family of reference boards, while Nikita Shubin has a ts7250 and is working on a device tree conversion for those.

I do know about one actively used TS7250 based board. It is going to be still used for some time. However, I don't have the HW with me, but may be available when the BSP will be refurbished.

Ok, thanks for the information. It sounds like an increasing argument for doing a DT conversion after all. How often does the BSP get a new kernel? I think Nikita's DT conversion for ts7250 (see [1]) shouldn't be too hard to port from 5.11 to 5.20+, as most of the patches just introduce driver support. The multiplatform conversion in 5.19 hopefully made things a bit easier but likely also requires a few extra changes.

Arnd

https://lore.kernel.org/linux-arm-kernel/[email protected]/

_______________________________________________
linux-arm-kernel mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

#16 lore raw

Re: [PATCH 06/13] ARM: ep93xx: mark most board files as unused

Hi Arnd,

Quoted 11 lines
Quoted 9 lines · Lukasz Majewski
Quoted 8 lines

From: Arnd Bergmann <[email protected]>

Most of the remaining ARM board files in the kernel have no known users, and we plan to remove those in early 2023.

For ep93xx, Alexander Sverdlin still has access to the edb93xx family of reference boards, while Nikita Shubin has a ts7250 and is working on a device tree conversion for those.

Quoted 7 lines
Quoted 3 lines

I do know about one actively used TS7250 based board. It is going to be still used for some time. However, I don't have the HW with me, but may be available when the BSP will be refurbished.

Ok, thanks for the information. It sounds like an increasing argument for doing a DT conversion after all. How often does the BSP get a new kernel?

Last time it was from 2.6.2X to 4.14 LTS ...

Quoted 5 lines

I think Nikita's DT conversion for ts7250 (see [1]) shouldn't be too hard to port from 5.11 to 5.20+, as most of the patches just introduce driver support. The multiplatform conversion in 5.19 hopefully made things a bit easier but likely also requires a few extra changes.

I could easily get updated the customer's board to the DT if at least one ep93xx is in tree (as it is based on TS7250).

However, I cannot predict when the new BSP (with new Kernel) will be required ....

Quoted 4 lines

Arnd

https://lore.kernel.org/linux-arm-kernel/[email protected]/

Best regards,

Lukasz Majewski

--

DENX Software Engineering GmbH, Managing Director: Wolfgang Denk
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-59 Fax: (+49)-8142-66989-80 Email: [email protected]

_______________________________________________
linux-arm-kernel mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

Reviewed-by on v1 9/13
#23 lore raw

Re: [PATCH 09/13] ARM: sa1100: mark most boards as unused

In reply to Arnd Bergmann
Quoted 11 lines · Arnd Bergmann

From: Arnd Bergmann <[email protected]>

Most Arm board files are unused and will be removed in early 2023 if no remaining users show up. For the sa1100 platform, the machines that are still in use are:

- Russell's Assabet development board
- Linus' H3600 iPaq PocketPC
- Collie as the only qemu-supported board, to allow testing by others

Quoted 8 lines

All remaining sa1100 boards are marked to depend on CONFIG_UNUSED_BOARD_FILES to give potential users a last chance to speak up.

Cc Kristoffer Ericson <[email protected]>
Cc Russell King <[email protected]>
Cc Linus Walleij <[email protected]>

I'm happy with this, because with these other boards gone it might actually be viable to transition this to DT.

Yours,
Linus Walleij

_______________________________________________
linux-arm-kernel mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

#17 lore raw

Re: [PATCH 06/13] ARM: ep93xx: mark most board files as unused

In reply to Lukasz Majewski
Quoted 4 lines · Lukasz Majewski
Quoted 2 lines · Lukasz Majewski
Quoted 1 line
Quoted 1 line

From: Arnd Bergmann <[email protected]>

Last time it was from 2.6.2X to 4.14 LTS ...

Ok.

Quoted 8 lines
Quoted 5 lines

I think Nikita's DT conversion for ts7250 (see [1]) shouldn't be too hard to port from 5.11 to 5.20+, as most of the patches just introduce driver support. The multiplatform conversion in 5.19 hopefully made things a bit easier but likely also requires a few extra changes.

I could easily get updated the customer's board to the DT if at least one ep93xx is in tree (as it is based on TS7250).

Both the ts7250/bk3 and the edb93xx variants are going to stay for the moment, based on the feedback I got from Alexander and Nikita, so this part is fine.

Quoted 2 lines

However, I cannot predict when the new BSP (with new Kernel) will be required ....

I see that 4.14-lts will stop getting updates in early 2024, so I guess this is the latest point to upgrade in order to still receive security fixes (assuming that you actually update the production kernel periodically for updated 4.14.y releases).

This still gives us the choice between two approaches that let us retire the ep93xx board files in 2024:

a) do the DT conversion over the next 18 months (hopefully quicker) and let you update to that when the 4.14 release ends, with the option of further updates later.

b) do nothing until the LTS release in late 2023 and retire all of ep93xx in early 2024, leaving users with LTS kernel fixes until at least 2027 (depending on how long this release gets maintained).

If everyone is fine with the limitations of b), that is obviously the easier path, otherwise a) should not be that hard either.

Arnd

_______________________________________________
linux-arm-kernel mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

maintainer
#18 lore raw

Re: [PATCH 06/13] ARM: ep93xx: mark most board files as unused

Hello Arnd!

Quoted 37 lines · On Fri, 22 Jul 2022 14:16:20 +0200 Arnd Bergmann <[email protected]> wrote:
Quoted 5 lines · Lukasz Majewski
Quoted 3 lines
Quoted 1 line · Lukasz Majewski
Quoted 1 line

From: Arnd Bergmann <[email protected]>

Last time it was from 2.6.2X to 4.14 LTS ...

Ok.

Quoted 8 lines
Quoted 5 lines

I think Nikita's DT conversion for ts7250 (see [1]) shouldn't be too hard to port from 5.11 to 5.20+, as most of the patches just introduce driver support. The multiplatform conversion in 5.19 hopefully made things a bit easier but likely also requires a few extra changes.

I could easily get updated the customer's board to the DT if at least one ep93xx is in tree (as it is based on TS7250).

Both the ts7250/bk3 and the edb93xx variants are going to stay for the moment, based on the feedback I got from Alexander and Nikita, so this part is fine.

Quoted 2 lines

However, I cannot predict when the new BSP (with new Kernel) will be required ....

I see that 4.14-lts will stop getting updates in early 2024, so I guess this is the latest point to upgrade in order to still receive security fixes (assuming that you actually update the production kernel periodically for updated 4.14.y releases).

This still gives us the choice between two approaches that let us retire the ep93xx board files in 2024:

a) do the DT conversion over the next 18 months (hopefully quicker) and let you update to that when the 4.14 release ends, with the option of further updates later.

Quoted 7 lines

b) do nothing until the LTS release in late 2023 and retire all of ep93xx in early 2024, leaving users with LTS kernel fixes until at least 2027 (depending on how long this release gets maintained).

If everyone is fine with the limitations of b), that is obviously the easier path, otherwise a) should not be that hard either.

I feel a bit nostalgic about ts7250, as it was my very first "embedded" Linux board, so i think it needs a proper retirement.

So let me finish the full conversion on the top of 5.20+ and then we can think if it's suitable for plan "a". It won't take long, as i have a bootable BSP on branch [2].

Quoted 2 lines

Arnd

_______________________________________________
linux-arm-kernel mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

#19 lore raw

Re: [PATCH 06/13] ARM: ep93xx: mark most board files as unused

Quoted 17 lines · Nikita Shubin
Quoted 8 lines · On Fri, 22 Jul 2022 14:16:20 +0200 Arnd Bergmann <[email protected]> wrote:

This still gives us the choice between two approaches that let us retire the ep93xx board files in 2024:

a) do the DT conversion over the next 18 months (hopefully quicker) and let you update to that when the 4.14 release ends, with the option of further updates later.

Quoted 7 lines

b) do nothing until the LTS release in late 2023 and retire all of ep93xx in early 2024, leaving users with LTS kernel fixes until at least 2027 (depending on how long this release gets maintained).

If everyone is fine with the limitations of b), that is obviously the easier path, otherwise a) should not be that hard either.

Quoted 6 lines

I feel a bit nostalgic about ts7250, as it was my very first "embedded" Linux board, so i think it needs a proper retirement.

So let me finish the full conversion on the top of 5.20+ and then we can think if it's suitable for plan "a". It won't take long, as i have a bootable BSP on branch [2].

That is perfect, thanks a lot!

Arnd

_______________________________________________
linux-arm-kernel mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

Reviewed-by on v1 11/13
#27 lore raw

Re: [PATCH 11/13] ARM: s3c: mark most board files as unused

In reply to Arnd Bergmann
Quoted 11 lines · Arnd Bergmann

From: Arnd Bergmann <[email protected]>

The s3c24xx platform is already scheduled for removal in early 2023, with s3c64xx meeting the same fate a year later.

Most of the s3c64xx board files appear to be unused, as the better maintained ones already got converted to DT. The main exception is the Wolfson Cragganmore board, which remains in use as the reference design for Wolfson/Cirrus devices. As the other boards get removed, this one stays around along with the DT based machines.

Quoted 4 lines

The s3c6400_defconfig file now disables the unused boards, while the s3c24xx defconfig files all turn on CONFIG_UNUSED_BOARD_FILES to remain usable.

Best regards,
Krzysztof

Acked-by on v1 5/13
#7 lore raw

Re: [PATCH 05/13] ARM: davinci: mark all ATAGS board files as unused

In reply to Arnd Bergmann
Quoted 150 lines · Arnd Bergmann

From: Arnd Bergmann <[email protected]>

From an earlier discussion, it appears that the davinci da8xx machines that are still functional have already been converted to DT, while the remaining board files are only kept because nobody has stepped up to remove them.

Mark all these boards as 'depends on UNUSED_BOARD_FILES' with the plan to remove them in early 2023 after the next longterm supported kernel is out.

Cc Sekhar Nori <[email protected]>
Cc Bartosz Golaszewski <[email protected]>
---
 arch/arm/configs/davinci_all_defconfig | 11 -----------
 arch/arm/configs/multi_v5_defconfig    |  9 ---------
 arch/arm/mach-davinci/Kconfig          |  8 ++++++++
 3 files changed, 8 insertions(+), 20 deletions(-)
arch/arm/configs/davinci_all_defconfig +0 -11
index c60c39a8b95f..fc71a03a9c8c 100644
@@ -14,17 +14,8 @@ CONFIG_ARCH_MULTIPLATFORM=y
 CONFIG_ARCH_MULTI_V5=y
 # CONFIG_ARCH_MULTI_V7 is not set
 CONFIG_ARCH_DAVINCI=y
-CONFIG_ARCH_DAVINCI_DM644x=y
-CONFIG_ARCH_DAVINCI_DM355=y
-CONFIG_ARCH_DAVINCI_DM646x=y
 CONFIG_ARCH_DAVINCI_DA830=y
 CONFIG_ARCH_DAVINCI_DA850=y
-CONFIG_ARCH_DAVINCI_DM365=y
-CONFIG_MACH_SFFSDR=y
-CONFIG_MACH_NEUROS_OSD2=y
-CONFIG_MACH_DM355_LEOPARD=y
-CONFIG_MACH_MITYOMAPL138=y
-CONFIG_MACH_OMAPL138_HAWKBOARD=y
 CONFIG_DAVINCI_MUX_DEBUG=y
 CONFIG_DAVINCI_MUX_WARNINGS=y
 CONFIG_AEABI=y
@@ -110,7 +101,6 @@ CONFIG_KEYBOARD_XTKBD=m
 CONFIG_INPUT_TOUCHSCREEN=y
 CONFIG_INPUT_MISC=y
 CONFIG_INPUT_PWM_BEEPER=m
-CONFIG_INPUT_DM355EVM=m
 CONFIG_SERIO_LIBPS2=y
 # CONFIG_VT_CONSOLE is not set
 CONFIG_SERIAL_8250=y
@@ -138,7 +128,6 @@ CONFIG_SYSCON_REBOOT_MODE=m
 CONFIG_BATTERY_LEGO_EV3=m
 CONFIG_WATCHDOG=y
 CONFIG_DAVINCI_WATCHDOG=y
-CONFIG_MFD_DM355EVM_MSP=y
 CONFIG_TPS6507X=y
 CONFIG_REGULATOR=y
 CONFIG_REGULATOR_FIXED_VOLTAGE=y
arch/arm/configs/multi_v5_defconfig +0 -9
index 794c7a177594..e0be0e0023f3 100644
@@ -12,17 +12,8 @@ CONFIG_MACH_ASPEED_G4=y
 CONFIG_ARCH_AT91=y
 CONFIG_SOC_AT91SAM9=y
 CONFIG_ARCH_DAVINCI=y
-CONFIG_ARCH_DAVINCI_DM644x=y
-CONFIG_ARCH_DAVINCI_DM355=y
-CONFIG_ARCH_DAVINCI_DM646x=y
 CONFIG_ARCH_DAVINCI_DA830=y
 CONFIG_ARCH_DAVINCI_DA850=y
-CONFIG_ARCH_DAVINCI_DM365=y
-CONFIG_MACH_SFFSDR=y
-CONFIG_MACH_NEUROS_OSD2=y
-CONFIG_MACH_DM355_LEOPARD=y
-CONFIG_MACH_MITYOMAPL138=y
-CONFIG_MACH_OMAPL138_HAWKBOARD=y
 CONFIG_ARCH_MXC=y
 CONFIG_SOC_IMX25=y
 CONFIG_SOC_IMX27=y
arch/arm/mach-davinci/Kconfig +8 -1
index 008cbc2ab867..d7b6990954f4 100644
@@ -26,6 +26,7 @@ config ARCH_DAVINCI_DM644x
 
 config ARCH_DAVINCI_DM355
        bool "DaVinci 355 based system"
+       depends on ATAGS && UNUSED_BOARD_FILES
        select DAVINCI_AINTC
        select ARCH_DAVINCI_DMx
 
@@ -37,6 +38,7 @@ config ARCH_DAVINCI_DM646x
 config ARCH_DAVINCI_DA830
        bool "DA830/OMAP-L137/AM17x based system"
        depends on !ARCH_DAVINCI_DMx || (AUTO_ZRELADDR && ARM_PATCH_PHYS_VIRT)
+       depends on ATAGS
        select ARCH_DAVINCI_DA8XX
        # needed on silicon revs 1.0, 1.1:
        select CPU_DCACHE_WRITETHROUGH if !CPU_DCACHE_DISABLE
@@ -45,6 +47,7 @@ config ARCH_DAVINCI_DA830
 config ARCH_DAVINCI_DA850
        bool "DA850/OMAP-L138/AM18x based system"
        depends on !ARCH_DAVINCI_DMx || (AUTO_ZRELADDR && ARM_PATCH_PHYS_VIRT)
+       depends on ATAGS
        select ARCH_DAVINCI_DA8XX
        select DAVINCI_CP_INTC
 
@@ -53,6 +56,7 @@ config ARCH_DAVINCI_DA8XX
 
 config ARCH_DAVINCI_DM365
        bool "DaVinci 365 based system"
+       depends on ATAGS && UNUSED_BOARD_FILES
        select DAVINCI_AINTC
        select ARCH_DAVINCI_DMx
 
@@ -127,6 +131,7 @@ config MACH_DAVINCI_DM365_EVM
 config MACH_DAVINCI_DA830_EVM
        bool "TI DA830/OMAP-L137/AM17x Reference Platform"
        default ARCH_DAVINCI_DA830
+       depends on ATAGS && UNUSED_BOARD_FILES
        depends on ARCH_DAVINCI_DA830
        select GPIO_PCF857X if I2C
        help
@@ -156,6 +161,7 @@ endchoice
 
 config MACH_DAVINCI_DA850_EVM
        bool "TI DA850/OMAP-L138/AM18x Reference Platform"
+       depends on ATAGS && UNUSED_BOARD_FILES
        default ARCH_DAVINCI_DA850
        depends on ARCH_DAVINCI_DA850
        help
@@ -197,6 +203,7 @@ endchoice
 config MACH_MITYOMAPL138
        bool "Critical Link MityDSP-L138/MityARM-1808 SoM"
        depends on ARCH_DAVINCI_DA850
+       depends on ATAGS && UNUSED_BOARD_FILES
        help
          Say Y here to select the Critical Link MityDSP-L138/MityARM-1808
          System on Module.  Information on this SoM may be found at
@@ -205,6 +212,7 @@ config MACH_MITYOMAPL138
 config MACH_OMAPL138_HAWKBOARD
        bool "TI AM1808 / OMAPL-138 Hawkboard platform"
        depends on ARCH_DAVINCI_DA850
+       depends on ATAGS && UNUSED_BOARD_FILES
        help
          Say Y here to select the TI AM1808 / OMAPL-138 Hawkboard platform .
 
--
Quoted 2 lines

2.29.2

_______________________________________________
linux-arm-kernel mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel