Commit 3a8daaa4 authored by Sascha Hauer's avatar Sascha Hauer Committed by Russell King

[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: default avatarSascha Hauer <s.hauer@pengutronix.de>
Signed-off-by: default avatarRussell King <rmk+kernel@arm.linux.org.uk>
parent 3d454446
...@@ -810,7 +810,7 @@ static struct imx_port imx_ports[] = { ...@@ -810,7 +810,7 @@ static struct imx_port imx_ports[] = {
.type = PORT_IMX, .type = PORT_IMX,
.iotype = UPIO_MEM, .iotype = UPIO_MEM,
.membase = (void *)IMX_UART1_BASE, .membase = (void *)IMX_UART1_BASE,
.mapbase = IMX_UART1_BASE, /* FIXME */ .mapbase = 0x00206000,
.irq = UART1_MINT_RX, .irq = UART1_MINT_RX,
.uartclk = 16000000, .uartclk = 16000000,
.fifosize = 32, .fifosize = 32,
...@@ -826,7 +826,7 @@ static struct imx_port imx_ports[] = { ...@@ -826,7 +826,7 @@ static struct imx_port imx_ports[] = {
.type = PORT_IMX, .type = PORT_IMX,
.iotype = UPIO_MEM, .iotype = UPIO_MEM,
.membase = (void *)IMX_UART2_BASE, .membase = (void *)IMX_UART2_BASE,
.mapbase = IMX_UART2_BASE, /* FIXME */ .mapbase = 0x00207000,
.irq = UART2_MINT_RX, .irq = UART2_MINT_RX,
.uartclk = 16000000, .uartclk = 16000000,
.fifosize = 32, .fifosize = 32,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment