summaryrefslogtreecommitdiff
path: root/drivers/serial
diff options
context:
space:
mode:
authorDavid Müller (ELSOFT AG) <d.mueller@elsoft.ch>2016-02-06 07:57:25 +0100
committerTom Rini <trini@konsulko.com>2016-02-08 10:22:44 -0500
commit928f6054555618c9700bc5ebc16b9a661fd3ead7 (patch)
treeabe98f6afbeebe8fd52b663d47617fb1f61e49ef /drivers/serial
parent89ca1000caefcfaeb06fdb9fcc8fdc09c318d26a (diff)
downloadu-boot-imx-928f6054555618c9700bc5ebc16b9a661fd3ead7.zip
u-boot-imx-928f6054555618c9700bc5ebc16b9a661fd3ead7.tar.gz
u-boot-imx-928f6054555618c9700bc5ebc16b9a661fd3ead7.tar.bz2
Remove unused CONFIG_MODEM_SUPPORT option and associated dead code.
Signed-off-by: David Müller <d.mueller@elsoft.ch>
Diffstat (limited to 'drivers/serial')
-rw-r--r--drivers/serial/serial_s3c24x0.c18
1 files changed, 0 insertions, 18 deletions
diff --git a/drivers/serial/serial_s3c24x0.c b/drivers/serial/serial_s3c24x0.c
index 7afc504..4cc94d9 100644
--- a/drivers/serial/serial_s3c24x0.c
+++ b/drivers/serial/serial_s3c24x0.c
@@ -164,30 +164,12 @@ int hwflow_onoff(int on)
}
#endif
-#ifdef CONFIG_MODEM_SUPPORT
-static int be_quiet = 0;
-void disable_putc(void)
-{
- be_quiet = 1;
-}
-
-void enable_putc(void)
-{
- be_quiet = 0;
-}
-#endif
-
-
/*
* Output a single byte to the serial port.
*/
static void _serial_putc(const char c, const int dev_index)
{
struct s3c24x0_uart *uart = s3c24x0_get_base_uart(dev_index);
-#ifdef CONFIG_MODEM_SUPPORT
- if (be_quiet)
- return;
-#endif
while (!(readl(&uart->utrstat) & 0x2))
/* wait for room in the tx FIFO */ ;