From 8a3ebb9519ea40769dcc1ddfcd6fd4c6c91bd6d6 Mon Sep 17 00:00:00 2001 From: Ricardo Martins Date: Thu, 7 Jan 2016 14:17:40 +0000 Subject: [PATCH] lctr-a6xx: decreased ST16654 FIFO trigger to 8 bytes. --- systems/lctr-a6xx/cfg/linux-3.14.58.cfg | 6 +++--- .../patches/linux/3.14.58/90-st16654-fifo-trigger-16.patch | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/systems/lctr-a6xx/cfg/linux-3.14.58.cfg b/systems/lctr-a6xx/cfg/linux-3.14.58.cfg index 59c4f14..66f69b3 100644 --- a/systems/lctr-a6xx/cfg/linux-3.14.58.cfg +++ b/systems/lctr-a6xx/cfg/linux-3.14.58.cfg @@ -1,6 +1,6 @@ # # Automatically generated file; DO NOT EDIT. -# Linux/x86 3.14.57 Kernel Configuration +# Linux/x86 3.14.58 Kernel Configuration # # CONFIG_64BIT is not set CONFIG_X86_32=y @@ -1008,8 +1008,8 @@ CONFIG_SERIAL_8250_DEPRECATED_OPTIONS=y CONFIG_SERIAL_8250_CONSOLE=y CONFIG_FIX_EARLYCON_MEM=y # CONFIG_SERIAL_8250_PCI is not set -CONFIG_SERIAL_8250_NR_UARTS=24 -CONFIG_SERIAL_8250_RUNTIME_UARTS=24 +CONFIG_SERIAL_8250_NR_UARTS=16 +CONFIG_SERIAL_8250_RUNTIME_UARTS=16 CONFIG_SERIAL_8250_EXTENDED=y CONFIG_SERIAL_8250_MANY_PORTS=y # CONFIG_SERIAL_8250_FOURPORT is not set diff --git a/systems/lctr-a6xx/patches/linux/3.14.58/90-st16654-fifo-trigger-16.patch b/systems/lctr-a6xx/patches/linux/3.14.58/90-st16654-fifo-trigger-16.patch index f105ccc..238944c 100644 --- a/systems/lctr-a6xx/patches/linux/3.14.58/90-st16654-fifo-trigger-16.patch +++ b/systems/lctr-a6xx/patches/linux/3.14.58/90-st16654-fifo-trigger-16.patch @@ -7,7 +7,7 @@ diff -Nru linux-3.14.57/drivers/tty/serial/8250/8250_core.c linux-3.14.57.rasm/d .tx_loadsz = 32, - .fcr = UART_FCR_ENABLE_FIFO | UART_FCR_R_TRIG_01 | - UART_FCR_T_TRIG_10, -+ .fcr = UART_FCR_ENABLE_FIFO | UART_FCR_R_TRIG_01, ++ .fcr = UART_FCR_ENABLE_FIFO | UART_FCR_R_TRIG_00, .flags = UART_CAP_FIFO | UART_CAP_EFR | UART_CAP_SLEEP, }, [PORT_16850] = {