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

From
Hartley Sweeten <hidden>
Date
2022-07-21 15:53:12
Reply to
Alexander Sverdlin, 2022-07-21
Hello,

I still have some Vision EP9302 boards that I use.

Hartley

-----Original Message-----
From: Alexander Sverdlin <alexander.sverdlin@gmail.com> 
Sent: Thursday, July 21, 2022 7:30 AM
To: Arnd Bergmann <arnd@kernel.org>; <redacted>
Cc: Arnd Bergmann <arnd@arndb.de>; Nikita Shubin <nikita.shubin@maquefel.me>; Hartley Sweeten <redacted>; Lukasz Majewski <lukma@denx.de>
Subject: Re: [PATCH 06/13] ARM: ep93xx: mark most board files as unused


Hi Arnd!

On Thu, 2022-07-21 at 16:17 +0200, Arnd Bergmann wrote:
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 <nikita.shubin@maquefel.me>
Cc: Alexander Sverdlin <alexander.sverdlin@gmail.com>
Cc: Hartley Sweeten <hsweeten@visionengravers.com>
Cc: Lukasz Majewski <lukma@denx.de>
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Acked-by: Alexander Sverdlin <alexander.sverdlin@gmail.com>
quoted hunk ↗ jump to hunk
---
 arch/arm/configs/ep93xx_defconfig | 9 ---------
 arch/arm/mach-ep93xx/Kconfig      | 9 +++++++++
 2 files changed, 9 insertions(+), 9 deletions(-)
diff --git a/arch/arm/configs/ep93xx_defconfig 
b/arch/arm/configs/ep93xx_defconfig
index dd390f3b19d2..afa4f789da1f 100644
--- a/arch/arm/configs/ep93xx_defconfig
+++ b/arch/arm/configs/ep93xx_defconfig
@@ -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
diff --git a/arch/arm/mach-ep93xx/Kconfig 
b/arch/arm/mach-ep93xx/Kconfig index ecac8b487dae..f96d14073b91 100644
--- a/arch/arm/mach-ep93xx/Kconfig
+++ b/arch/arm/mach-ep93xx/Kconfig
@@ -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.
--
Alexander Sverdlin.

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
Thread (31 messages) 31 messages, 11 authors, last reply 2022-07-28
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help