aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/serial/imx.c
diff options
context:
space:
mode:
authorSascha Hauer <sascha@saschahauer.de>2008-04-17 03:48:37 -0400
committerRussell King <rmk+kernel@arm.linux.org.uk>2008-04-17 11:22:22 -0400
commit3a8daaa49fb71d90e45d1e86d7f9f9e298bda05c (patch)
tree1c41bfb54e9d5afaf85b378033d8ed4e771bbbe4 /drivers/serial/imx.c
parent3d454446e2b83b4e1e2997b2c6e689c85ab61868 (diff)
[ARM] 4999/1: <IMX UART>: fix membase
The membase field in struct uart_port should be the the physical address. This patch fixes it. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de> Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'drivers/serial/imx.c')
-rw-r--r--drivers/serial/imx.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/serial/imx.c b/drivers/serial/imx.c
index 0ce2b4a45e6d..cf29a2d0ba4c 100644
--- a/drivers/serial/imx.c
+++ b/drivers/serial/imx.c
@@ -810,7 +810,7 @@ static struct imx_port imx_ports[] = {
810 .type = PORT_IMX, 810 .type = PORT_IMX,
811 .iotype = UPIO_MEM, 811 .iotype = UPIO_MEM,
812 .membase = (void *)IMX_UART1_BASE, 812 .membase = (void *)IMX_UART1_BASE,
813 .mapbase = IMX_UART1_BASE, /* FIXME */ 813 .mapbase = 0x00206000,
814 .irq = UART1_MINT_RX, 814 .irq = UART1_MINT_RX,
815 .uartclk = 16000000, 815 .uartclk = 16000000,
816 .fifosize = 32, 816 .fifosize = 32,
@@ -826,7 +826,7 @@ static struct imx_port imx_ports[] = {
826 .type = PORT_IMX, 826 .type = PORT_IMX,
827 .iotype = UPIO_MEM, 827 .iotype = UPIO_MEM,
828 .membase = (void *)IMX_UART2_BASE, 828 .membase = (void *)IMX_UART2_BASE,
829 .mapbase = IMX_UART2_BASE, /* FIXME */ 829 .mapbase = 0x00207000,
830 .irq = UART2_MINT_RX, 830 .irq = UART2_MINT_RX,
831 .uartclk = 16000000, 831 .uartclk = 16000000,
832 .fifosize = 32, 832 .fifosize = 32,