[MIPS] Cobalt: Fix I/O port resource range
authorYoichi Yuasa <yoichi_yuasa@tripeaks.co.jp>
Fri, 18 Jul 2008 14:03:15 +0000 (23:03 +0900)
committerRalf Baechle <ralf@linux-mips.org>
Sun, 20 Jul 2008 13:38:20 +0000 (14:38 +0100)
LCD and buttons don't use I/O port space.

Signed-off-by: Yoichi Yuasa <yoichi_yuasa@tripeaks.co.jp>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/cobalt/setup.c

index dd23beb8604f43a4c0bbef4aefa667fd8dd55e69..b5164422724174da7bf6c409cdae69819c3b17d1 100644 (file)
@@ -81,8 +81,8 @@ void __init plat_mem_setup(void)
 
        set_io_port_base(CKSEG1ADDR(GT_DEF_PCI0_IO_BASE));
 
-       /* I/O port resource must include LCD/buttons */
-       ioport_resource.end = 0x0fffffff;
+       /* I/O port resource */
+       ioport_resource.end = 0x01ffffff;
 
        /* These resources have been reserved by VIA SuperI/O chip. */
        for (i = 0; i < ARRAY_SIZE(cobalt_reserved_resources); i++)