From: Sascha Hauer Date: Thu, 17 Apr 2008 07:48:37 +0000 (+0100) Subject: [ARM] 4999/1: : fix membase X-Git-Tag: firefly_0821_release~21567^2~6^7 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=3a8daaa49fb71d90e45d1e86d7f9f9e298bda05c;p=firefly-linux-kernel-4.4.55.git [ARM] 4999/1: : fix membase The membase field in struct uart_port should be the the physical address. This patch fixes it. Signed-off-by: Sascha Hauer Signed-off-by: Russell King --- 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[] = { .type = PORT_IMX, .iotype = UPIO_MEM, .membase = (void *)IMX_UART1_BASE, - .mapbase = IMX_UART1_BASE, /* FIXME */ + .mapbase = 0x00206000, .irq = UART1_MINT_RX, .uartclk = 16000000, .fifosize = 32, @@ -826,7 +826,7 @@ static struct imx_port imx_ports[] = { .type = PORT_IMX, .iotype = UPIO_MEM, .membase = (void *)IMX_UART2_BASE, - .mapbase = IMX_UART2_BASE, /* FIXME */ + .mapbase = 0x00207000, .irq = UART2_MINT_RX, .uartclk = 16000000, .fifosize = 32,