aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/cns3xxx/patches-4.14/150-laguna-delete-deprecated-uart-flags.patch
diff options
context:
space:
mode:
authorKoen Vandeputte <koen.vandeputte@ncentric.com>2018-01-11 16:04:38 +0100
committerJohn Crispin <john@phrozen.org>2018-01-17 11:07:17 +0100
commit7f93624d5f545408333120c2b30e13bf3b97ef0b (patch)
tree0e34aaec811ab8889dc5180e70599d4306b7bb39 /target/linux/cns3xxx/patches-4.14/150-laguna-delete-deprecated-uart-flags.patch
parentf3dec4452043a9ba3ea828f6bb3a38196fc46bbb (diff)
downloadupstream-7f93624d5f545408333120c2b30e13bf3b97ef0b.tar.gz
upstream-7f93624d5f545408333120c2b30e13bf3b97ef0b.tar.bz2
upstream-7f93624d5f545408333120c2b30e13bf3b97ef0b.zip
cns3xxx: remove deprecated uart flags
Flag UPF_NO_TXEN_TEST is deprecated. Remove it. Signed-off-by: Koen Vandeputte <koen.vandeputte@ncentric.com>
Diffstat (limited to 'target/linux/cns3xxx/patches-4.14/150-laguna-delete-deprecated-uart-flags.patch')
-rw-r--r--target/linux/cns3xxx/patches-4.14/150-laguna-delete-deprecated-uart-flags.patch29
1 files changed, 29 insertions, 0 deletions
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 0000000000..11a630e502
--- /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,