mirror of
git://git.openwrt.org/openwrt/openwrt.git
synced 2025-12-06 12:44:00 -05:00
Add a new microchipsw target aimed add supporting Microchip switch SoC-s. Start by supporting LAN969x SoC-s as the first subtarget. Signed-off-by: Robert Marko <robert.marko@sartura.hr>
30 lines
1.1 KiB
Diff
30 lines
1.1 KiB
Diff
From 67a4c049056d6de07460d576e785c2fdbf64bc7c Mon Sep 17 00:00:00 2001
|
|
From: Robert Marko <robert.marko@sartura.hr>
|
|
Date: Wed, 13 Aug 2025 19:44:41 +0200
|
|
Subject: [PATCH 21/25] tty: serial: atmel: make it selectable for
|
|
ARCH_MICROCHIP
|
|
|
|
LAN969x uses the Atmel USART serial, so make it selectable for
|
|
ARCH_MICROCHIP to avoid needing to update depends in future if other
|
|
Microchip SoC-s use it as well.
|
|
|
|
Signed-off-by: Robert Marko <robert.marko@sartura.hr>
|
|
Acked-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
|
|
Acked-by: Daniel Machon <daniel.machon@microchip.com>
|
|
Signed-off-by: Nicolas Ferre <nicolas.ferre@microchip.com>
|
|
---
|
|
drivers/tty/serial/Kconfig | 2 +-
|
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
|
--- a/drivers/tty/serial/Kconfig
|
|
+++ b/drivers/tty/serial/Kconfig
|
|
@@ -128,7 +128,7 @@ config SERIAL_SB1250_DUART_CONSOLE
|
|
config SERIAL_ATMEL
|
|
bool "AT91 on-chip serial port support"
|
|
depends on COMMON_CLK
|
|
- depends on ARCH_AT91 || ARCH_LAN969X || COMPILE_TEST
|
|
+ depends on ARCH_MICROCHIP || COMPILE_TEST
|
|
select SERIAL_CORE
|
|
select SERIAL_MCTRL_GPIO if GPIOLIB
|
|
select MFD_AT91_USART
|