2017-06-13 20:35:15

by Alexandre Belloni

[permalink] [raw]
Subject: [PATCH] tty/serial: Kconfig: remove AVR32

AVR32 is now removed from the kernel, removed the config symbol that
doesn't exist anymore. Also take the opportunity to reword the help to
include sama5.

Signed-off-by: Alexandre Belloni <[email protected]>
---
drivers/tty/serial/Kconfig | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/drivers/tty/serial/Kconfig b/drivers/tty/serial/Kconfig
index 5c8850f7a2a0..063c71e8de41 100644
--- a/drivers/tty/serial/Kconfig
+++ b/drivers/tty/serial/Kconfig
@@ -114,14 +114,14 @@ config SERIAL_SB1250_DUART_CONSOLE
If unsure, say Y.

config SERIAL_ATMEL
- bool "AT91 / AT32 on-chip serial port support"
+ bool "Atmel on-chip serial port support"
depends on HAS_DMA
- depends on ARCH_AT91 || AVR32 || COMPILE_TEST
+ depends on ARCH_AT91 || COMPILE_TEST
select SERIAL_CORE
select SERIAL_MCTRL_GPIO if GPIOLIB
help
This enables the driver for the on-chip UARTs of the Atmel
- AT91 and AT32 processors.
+ ARM processors.

config SERIAL_ATMEL_CONSOLE
bool "Support for console on AT91 / AT32 serial port"
--
2.11.0


2017-06-14 07:48:38

by Richard Genoud

[permalink] [raw]
Subject: Re: [PATCH] tty/serial: Kconfig: remove AVR32

On 13/06/2017 22:35, Alexandre Belloni wrote:
> AVR32 is now removed from the kernel, removed the config symbol that
> doesn't exist anymore. Also take the opportunity to reword the help to
> include sama5.
>
> Signed-off-by: Alexandre Belloni <[email protected]>

Acked-by: Richard Genoud <[email protected]>

100 lines removed with the 4 patches, that's nice !

Thanks !

2017-06-14 09:30:52

by Nicolas Ferre

[permalink] [raw]
Subject: Re: [PATCH] tty/serial: Kconfig: remove AVR32

Le 13/06/2017 à 22:35, Alexandre Belloni a écrit :
> AVR32 is now removed from the kernel, removed the config symbol that
> doesn't exist anymore. Also take the opportunity to reword the help to
> include sama5.
>
> Signed-off-by: Alexandre Belloni <[email protected]>
> ---
> drivers/tty/serial/Kconfig | 6 +++---
> 1 file changed, 3 insertions(+), 3 deletions(-)
>
> diff --git a/drivers/tty/serial/Kconfig b/drivers/tty/serial/Kconfig
> index 5c8850f7a2a0..063c71e8de41 100644
> --- a/drivers/tty/serial/Kconfig
> +++ b/drivers/tty/serial/Kconfig
> @@ -114,14 +114,14 @@ config SERIAL_SB1250_DUART_CONSOLE
> If unsure, say Y.
>
> config SERIAL_ATMEL
> - bool "AT91 / AT32 on-chip serial port support"
> + bool "Atmel on-chip serial port support"

Now, I would add something like "Microchip/Atmel", it's more future-proof.

> depends on HAS_DMA
> - depends on ARCH_AT91 || AVR32 || COMPILE_TEST
> + depends on ARCH_AT91 || COMPILE_TEST
> select SERIAL_CORE
> select SERIAL_MCTRL_GPIO if GPIOLIB
> help
> This enables the driver for the on-chip UARTs of the Atmel

Here as well...

> - AT91 and AT32 processors.
> + ARM processors.
>
> config SERIAL_ATMEL_CONSOLE
> bool "Support for console on AT91 / AT32 serial port"

What about removing AT32 here as well ^ ?

>


--
Nicolas Ferre

2017-06-14 10:49:55

by Greg Kroah-Hartman

[permalink] [raw]
Subject: Re: [PATCH] tty/serial: Kconfig: remove AVR32

On Tue, Jun 13, 2017 at 10:35:09PM +0200, Alexandre Belloni wrote:
> AVR32 is now removed from the kernel, removed the config symbol that
> doesn't exist anymore. Also take the opportunity to reword the help to
> include sama5.
>
> Signed-off-by: Alexandre Belloni <[email protected]>
> ---
> drivers/tty/serial/Kconfig | 6 +++---
> 1 file changed, 3 insertions(+), 3 deletions(-)

Does not apply to tty-next at all :(