projects
/
oweals
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0c2b6df
)
s3c24xx: serial: Remove dead code
author
David Müller (ELSOFT AG)
<d.mueller@elsoft.ch>
Sat, 6 Feb 2016 06:57:29 +0000
(07:57 +0100)
committer
Tom Rini
<trini@konsulko.com>
Mon, 8 Feb 2016 15:24:18 +0000
(10:24 -0500)
Signed-off-by: David Müller <d.mueller@elsoft.ch>
drivers/serial/serial_s3c24x0.c
patch
|
blob
|
history
diff --git
a/drivers/serial/serial_s3c24x0.c
b/drivers/serial/serial_s3c24x0.c
index fb895fd32646c33cb68233c24a65f2b39fc6e357..d4e7df27be1ffe98e2f6ab5ec17e290cb765b6d1 100644
(file)
--- a/
drivers/serial/serial_s3c24x0.c
+++ b/
drivers/serial/serial_s3c24x0.c
@@
-103,12
+103,6
@@
static int serial_init_dev(const int dev_index)
*/
writel(0x245, &uart->ucon);
- /* FIXME: This is sooooooooooooooooooo ugly */
-#if defined(CONFIG_ARCH_GTA02_v1) || defined(CONFIG_ARCH_GTA02_v2)
- /* we need auto hw flow control on the gsm and gps port */
- if (dev_index == 0 || dev_index == 1)
- writel(0x10, &uart->umcon);
-#endif
_serial_setbrg(dev_index);
return (0);