diff options
author | Paul Mundt <lethal@linux-sh.org> | 2009-05-07 18:10:27 +0900 |
---|---|---|
committer | Paul Mundt <lethal@linux-sh.org> | 2009-05-07 18:10:27 +0900 |
commit | 0fb849b9d743a20056f2418cd955e5c650658663 (patch) | |
tree | dd2d44103536ae83f8db483a8657bdcc36ad5c14 /drivers/serial/sh-sci.c | |
parent | ae318a148e4d255dfbc87d963fdd6031c2af9c46 (diff) | |
download | op-kernel-dev-0fb849b9d743a20056f2418cd955e5c650658663.zip op-kernel-dev-0fb849b9d743a20056f2418cd955e5c650658663.tar.gz |
sh: Integrate the SH-5 onchip_remap() more coherently.
Presently this is special-cased for early initialization. While there are
situations where these static early initializations are still necessary,
with minor changes it is possible to use this for the regular ioremap
implementation as well. This allows us to kill off the special-casing for
the remap completely and to start tidying up all of the SH-5
special-casing in drivers.
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'drivers/serial/sh-sci.c')
-rw-r--r-- | drivers/serial/sh-sci.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/drivers/serial/sh-sci.c b/drivers/serial/sh-sci.c index dbf5357..728d6a0 100644 --- a/drivers/serial/sh-sci.c +++ b/drivers/serial/sh-sci.c @@ -985,13 +985,7 @@ static void sci_config_port(struct uart_port *port, int flags) port->type = s->type; if (port->flags & UPF_IOREMAP && !port->membase) { -#if defined(CONFIG_SUPERH64) - port->mapbase = onchip_remap(SCIF_ADDR_SH5, 1024, "SCIF"); - port->membase = (void __iomem *)port->mapbase; -#else port->membase = ioremap_nocache(port->mapbase, 0x40); -#endif - dev_err(port->dev, "can't remap port#%d\n", port->line); } } |