[LEDE-DEV,6/9] cns3xxx: remove deprecated uart flags

Message ID 1515683081-31607-7-git-send-email-koen.vandeputte@ncentric.com
State Accepted
Delegated to: John Crispin
Headers show
Series
  • cns3xxx, update to kernel 4.14
Related show

Commit Message

Koen Vandeputte Jan. 11, 2018, 3:04 p.m.
Flag UPF_NO_TXEN_TEST is deprecated.

Remove it.

Signed-off-by: Koen Vandeputte <koen.vandeputte@ncentric.com>
---
 .../150-laguna-delete-deprecated-uart-flags.patch  | 29 ++++++++++++++++++++++
 1 file changed, 29 insertions(+)
 create mode 100644 target/linux/cns3xxx/patches-4.14/150-laguna-delete-deprecated-uart-flags.patch

Patch

diff --git a/target/linux/cns3xxx/patches-4.14/150-laguna-delete-deprecated-uart-flags.patch b/target/linux/cns3xxx/patches-4.14/150-laguna-delete-deprecated-uart-flags.patch
new file mode 100644
index 000000000000..11a630e502ff
--- /dev/null
+++ b/target/linux/cns3xxx/patches-4.14/150-laguna-delete-deprecated-uart-flags.patch
@@ -0,0 +1,29 @@ 
+--- a/arch/arm/mach-cns3xxx/laguna.c
++++ b/arch/arm/mach-cns3xxx/laguna.c
+@@ -389,7 +389,7 @@ static struct plat_serial8250_port lagun
+ 		.mapbase        = (CNS3XXX_UART0_BASE),
+ 		.irq            = IRQ_CNS3XXX_UART0,
+ 		.iotype         = UPIO_MEM,
+-		.flags          = UPF_BOOT_AUTOCONF | UPF_FIXED_TYPE | UPF_NO_TXEN_TEST | UPF_IOREMAP,
++		.flags          = UPF_BOOT_AUTOCONF | UPF_FIXED_TYPE | UPF_IOREMAP,
+ 		.regshift       = 2,
+ 		.uartclk        = 24000000,
+ 		.type           = PORT_16550A,
+@@ -397,7 +397,7 @@ static struct plat_serial8250_port lagun
+ 		.mapbase        = (CNS3XXX_UART1_BASE),
+ 		.irq            = IRQ_CNS3XXX_UART1,
+ 		.iotype         = UPIO_MEM,
+-		.flags          = UPF_BOOT_AUTOCONF | UPF_FIXED_TYPE | UPF_NO_TXEN_TEST | UPF_IOREMAP,
++		.flags          = UPF_BOOT_AUTOCONF | UPF_FIXED_TYPE | UPF_IOREMAP,
+ 		.regshift       = 2,
+ 		.uartclk        = 24000000,
+ 		.type           = PORT_16550A,
+@@ -405,7 +405,7 @@ static struct plat_serial8250_port lagun
+ 		.mapbase        = (CNS3XXX_UART2_BASE),
+ 		.irq            = IRQ_CNS3XXX_UART2,
+ 		.iotype         = UPIO_MEM,
+-		.flags          = UPF_BOOT_AUTOCONF | UPF_FIXED_TYPE | UPF_NO_TXEN_TEST | UPF_IOREMAP,
++		.flags          = UPF_BOOT_AUTOCONF | UPF_FIXED_TYPE | UPF_IOREMAP,
+ 		.regshift       = 2,
+ 		.uartclk        = 24000000,
+ 		.type           = PORT_16550A,