MIPS: EMMA2RH: Set UART mapbase
authorShinya Kuribayashi <skuribay@ruby.dti.ne.jp>
Sat, 21 Mar 2009 13:11:49 +0000 (22:11 +0900)
committerRalf Baechle <ralf@linux-mips.org>
Mon, 30 Mar 2009 12:49:43 +0000 (14:49 +0200)
Signed-off-by: Shinya Kuribayashi <shinya.kuribayashi@necel.com>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/emma/markeins/platform.c

index d5f47e4f0d1831cdea4adf0bbdb3dad7c084f0eb..80ae12ef87db8d31d4b2a2df247a4ca4507801ba 100644 (file)
@@ -110,6 +110,7 @@ struct platform_device i2c_emma_devices[] = {
 static struct  plat_serial8250_port platform_serial_ports[] = {
        [0] = {
                .membase= (void __iomem*)KSEG1ADDR(EMMA2RH_PFUR0_BASE + 3),
+               .mapbase = EMMA2RH_PFUR0_BASE + 3,
                .irq = EMMA2RH_IRQ_PFUR0,
                .uartclk = EMMA2RH_SERIAL_CLOCK,
                .regshift = 4,
@@ -117,6 +118,7 @@ static struct  plat_serial8250_port platform_serial_ports[] = {
                .flags = EMMA2RH_SERIAL_FLAGS,
        }, [1] = {
                .membase = (void __iomem*)KSEG1ADDR(EMMA2RH_PFUR1_BASE + 3),
+               .mapbase = EMMA2RH_PFUR1_BASE + 3,
                .irq = EMMA2RH_IRQ_PFUR1,
                .uartclk = EMMA2RH_SERIAL_CLOCK,
                .regshift = 4,
@@ -124,6 +126,7 @@ static struct  plat_serial8250_port platform_serial_ports[] = {
                .flags = EMMA2RH_SERIAL_FLAGS,
        }, [2] = {
                .membase = (void __iomem*)KSEG1ADDR(EMMA2RH_PFUR2_BASE + 3),
+               .mapbase = EMMA2RH_PFUR2_BASE + 3,
                .irq = EMMA2RH_IRQ_PFUR2,
                .uartclk = EMMA2RH_SERIAL_CLOCK,
                .regshift = 4,