diff mbox

tty/serial: Kconfig: remove AVR32

Message ID 20170613203509.32026-1-alexandre.belloni@free-electrons.com (mailing list archive)
State New, archived
Headers show

Commit Message

Alexandre Belloni June 13, 2017, 8:35 p.m. UTC
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 <alexandre.belloni@free-electrons.com>
---
 drivers/tty/serial/Kconfig | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

Comments

Richard Genoud June 14, 2017, 7:48 a.m. UTC | #1
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 <alexandre.belloni@free-electrons.com>

Acked-by: Richard Genoud <richard.genoud@gmail.com>

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

Thanks !
Nicolas Ferre June 14, 2017, 9:29 a.m. UTC | #2
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 <alexandre.belloni@free-electrons.com>
> ---
>  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 ^ ?

>
Greg Kroah-Hartman June 14, 2017, 10:49 a.m. UTC | #3
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 <alexandre.belloni@free-electrons.com>
> ---
>  drivers/tty/serial/Kconfig | 6 +++---
>  1 file changed, 3 insertions(+), 3 deletions(-)

Does not apply to tty-next at all :(
diff mbox

Patch

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"