From 6a2ea35b7998d44a3b8f5938c5a7603fef220a99 Mon Sep 17 00:00:00 2001 From: Lars-Peter Clausen Date: Mon, 7 Dec 2009 10:13:32 +0000 Subject: Remove 2.6.31 support. SVN-Revision: 18673 --- .../linux/s3c24xx/patches-2.6.31/110-serial.patch | 52 ---------------------- 1 file changed, 52 deletions(-) delete mode 100644 target/linux/s3c24xx/patches-2.6.31/110-serial.patch (limited to 'target/linux/s3c24xx/patches-2.6.31/110-serial.patch') diff --git a/target/linux/s3c24xx/patches-2.6.31/110-serial.patch b/target/linux/s3c24xx/patches-2.6.31/110-serial.patch deleted file mode 100644 index a5a4ab5ba7..0000000000 --- a/target/linux/s3c24xx/patches-2.6.31/110-serial.patch +++ /dev/null @@ -1,52 +0,0 @@ -From 15f219822a30534756518cd8c4dfade95c4959c2 Mon Sep 17 00:00:00 2001 -From: Lars-Peter Clausen -Date: Tue, 21 Jul 2009 12:51:57 +0200 -Subject: [PATCH] 110-serial.patch - ---- - drivers/serial/samsung.c | 19 +++++++++++++++++++ - 1 files changed, 19 insertions(+), 0 deletions(-) - -diff --git a/drivers/serial/samsung.c b/drivers/serial/samsung.c -index bf0af79..64c35d1 100644 ---- a/drivers/serial/samsung.c -+++ b/drivers/serial/samsung.c -@@ -1263,6 +1263,13 @@ module_exit(s3c24xx_serial_modexit); - #ifdef CONFIG_SERIAL_SAMSUNG_CONSOLE - - static struct uart_port *cons_uart; -+static int cons_silenced; -+ -+void s3c24xx_serial_console_set_silence(int silenced) -+{ -+ cons_silenced = silenced; -+} -+EXPORT_SYMBOL(s3c24xx_serial_console_set_silence); - - static int - s3c24xx_serial_console_txrdy(struct uart_port *port, unsigned int ufcon) -@@ -1287,9 +1294,21 @@ static void - s3c24xx_serial_console_putchar(struct uart_port *port, int ch) - { - unsigned int ufcon = rd_regl(cons_uart, S3C2410_UFCON); -+ unsigned int umcon = rd_regl(cons_uart, S3C2410_UMCON); -+ -+ if (cons_silenced) -+ return; -+ -+ /* If auto HW flow control enabled, temporarily turn it off */ -+ if (umcon & S3C2410_UMCOM_AFC) -+ wr_regl(port, S3C2410_UMCON, (umcon & !S3C2410_UMCOM_AFC)); -+ - while (!s3c24xx_serial_console_txrdy(port, ufcon)) - barrier(); - wr_regb(cons_uart, S3C2410_UTXH, ch); -+ -+ if (umcon & S3C2410_UMCOM_AFC) -+ wr_regl(port, S3C2410_UMCON, umcon); - } - - static void --- -1.5.6.5 - -- cgit v1.2.3