aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/s3c24xx/patches-2.6.30/110-serial.patch
diff options
context:
space:
mode:
authorGabor Juhos <juhosg@openwrt.org>2012-12-18 17:54:02 +0000
committerGabor Juhos <juhosg@openwrt.org>2012-12-18 17:54:02 +0000
commitb86e82e5cc54f03f9207411197e15f431d2173ff (patch)
tree4dd3c3dbab10b500f140c685de43ee19057b2d5f /target/linux/s3c24xx/patches-2.6.30/110-serial.patch
parentdb831511d2091907eef52519ebcc47f54cfd6d33 (diff)
downloadupstream-b86e82e5cc54f03f9207411197e15f431d2173ff.tar.gz
upstream-b86e82e5cc54f03f9207411197e15f431d2173ff.tar.bz2
upstream-b86e82e5cc54f03f9207411197e15f431d2173ff.zip
s3c2442: R.I.P.
It is broken and it is not maintained by anyone since long time. Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 34767
Diffstat (limited to 'target/linux/s3c24xx/patches-2.6.30/110-serial.patch')
-rw-r--r--target/linux/s3c24xx/patches-2.6.30/110-serial.patch38
1 files changed, 0 insertions, 38 deletions
diff --git a/target/linux/s3c24xx/patches-2.6.30/110-serial.patch b/target/linux/s3c24xx/patches-2.6.30/110-serial.patch
deleted file mode 100644
index e01394b6ff..0000000000
--- a/target/linux/s3c24xx/patches-2.6.30/110-serial.patch
+++ /dev/null
@@ -1,38 +0,0 @@
---- 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