diff options
author | Guennadi Liakhovetski <lg@denx.de> | 2008-08-31 00:39:47 +0200 |
---|---|---|
committer | Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> | 2008-08-31 00:39:47 +0200 |
commit | 3fe7b589f9c7463df39056f8872006a67f56a91c (patch) | |
tree | c8191de9fde618fc0eafefed1a287984d2766832 /drivers/serial/s3c64xx.c | |
parent | 2fb28dcf82048045e1bf5014e938e486fa6c2383 (diff) | |
download | u-boot-imx-3fe7b589f9c7463df39056f8872006a67f56a91c.zip u-boot-imx-3fe7b589f9c7463df39056f8872006a67f56a91c.tar.gz u-boot-imx-3fe7b589f9c7463df39056f8872006a67f56a91c.tar.bz2 |
S3C64XX: remove broken HWFLOW support from the serial driver
As noted by Harald Welte, HWFLOW support in the S3C64XX serial driver is
broken and currently unused. Remove it.
Signed-off-by: Guennadi Liakhovetski <lg@denx.de>
Diffstat (limited to 'drivers/serial/s3c64xx.c')
-rw-r--r-- | drivers/serial/s3c64xx.c | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/drivers/serial/s3c64xx.c b/drivers/serial/s3c64xx.c index ea6eb4b..9d8fcb9 100644 --- a/drivers/serial/s3c64xx.c +++ b/drivers/serial/s3c64xx.c @@ -119,22 +119,6 @@ int serial_getc(void) return uart->URXH & 0xff; } -#ifdef CONFIG_HWFLOW -static int hwflow; /* turned off by default */ -int hwflow_onoff(int on) -{ - switch (on) { - case 1: - hwflow = 1; /* turn on */ - break; - case -1: - hwflow = 0; /* turn off */ - break; - } - return hwflow; -} -#endif - #ifdef CONFIG_MODEM_SUPPORT static int be_quiet; void disable_putc(void) @@ -164,11 +148,6 @@ void serial_putc(const char c) /* wait for room in the tx FIFO */ while (!(uart->UTRSTAT & 0x2)); -#ifdef CONFIG_HWFLOW - /* Wait for CTS up */ - while (hwflow && !(uart->UMSTAT & 0x1)); -#endif - uart->UTXH = c; /* If \n, also do \r */ |