Re: [PATCH v9 2/9] ARM: at91: select ARCH_MICROCHIP

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 13/08/2025 at 19:44, Robert Marko wrote:
Like with the ARM64 Microchip platforms, lets add a generic ARCH_MICROCHIP
symbol and select it so that drivers that are reused for multiple product
generation or lines, can just depend on it instead of adding each SoC
symbol as their dependencies.

Signed-off-by: Robert Marko <robert.marko@xxxxxxxxxx>

Acked-by: Nicolas Ferre <nicolas.ferre@xxxxxxxxxxxxx>

---
  arch/arm/mach-at91/Kconfig | 4 ++++
  1 file changed, 4 insertions(+)

diff --git a/arch/arm/mach-at91/Kconfig b/arch/arm/mach-at91/Kconfig
index 04bd91c72521..c5ef27e3cd8f 100644
--- a/arch/arm/mach-at91/Kconfig
+++ b/arch/arm/mach-at91/Kconfig
@@ -1,4 +1,7 @@
  # SPDX-License-Identifier: GPL-2.0-only
+config ARCH_MICROCHIP
+       bool
+
  menuconfig ARCH_AT91
         bool "AT91/Microchip SoCs"
         depends on (CPU_LITTLE_ENDIAN && (ARCH_MULTI_V4T || ARCH_MULTI_V5)) || \
@@ -8,6 +11,7 @@ menuconfig ARCH_AT91
         select GPIOLIB
         select PINCTRL
         select SOC_BUS
+       select ARCH_MICROCHIP

  if ARCH_AT91
  config SOC_SAMV7
--
2.50.1






[Index of Archives]     [Kernel]     [Gnu Classpath]     [Gnu Crypto]     [DM Crypt]     [Netfilter]     [Bugtraq]
  Powered by Linux