summaryrefslogtreecommitdiffstats
path: root/drivers/serial/sh-sci.c
diff options
context:
space:
mode:
authorPaul Mundt <lethal@linux-sh.org>2011-01-19 14:18:06 +0900
committerPaul Mundt <lethal@linux-sh.org>2011-01-19 14:18:06 +0900
commite735038f3848a720f84a819c8191ed2f6a1beed8 (patch)
tree0c2d05ef4c22067467a9a7ef56ef377912ba55d8 /drivers/serial/sh-sci.c
parent7c86ad4a50ece39305b1be900df9a58645716602 (diff)
serial: sh-sci: Kill off unused membase kludge.
All users of the platform port data specify a mapbase where the driver later derives the membase from. Now that UPF flags are taken in to account for generic ioremapping we can kill off the port-specific membase clobbering and simply use the generic paths. This derives from a time when sh64 was not capable of using the generic ioremap implementation and had employed early bolted DTLB mappings for port access, which is no longer an issue. Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'drivers/serial/sh-sci.c')
-rw-r--r--drivers/serial/sh-sci.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/drivers/serial/sh-sci.c b/drivers/serial/sh-sci.c
index 92c91c83edd..1d1e700c7a4 100644
--- a/drivers/serial/sh-sci.c
+++ b/drivers/serial/sh-sci.c
@@ -1619,9 +1619,6 @@ static void sci_config_port(struct uart_port *port, int flags)
port->type = s->type;
- if (port->membase)
- return;
-
if (port->flags & UPF_IOREMAP) {
port->membase = ioremap_nocache(port->mapbase, 0x40);
@@ -1727,7 +1724,6 @@ static int __devinit sci_init_single(struct platform_device *dev,
init_timer(&sci_port->break_timer);
port->mapbase = p->mapbase;
- port->membase = p->membase;
port->irq = p->irqs[SCIx_TXI_IRQ];
port->flags = p->flags;