summaryrefslogtreecommitdiffstats
path: root/arch/mips/cobalt/setup.c
diff options
context:
space:
mode:
authorYoichi Yuasa <yoichi_yuasa@tripeaks.co.jp>2008-07-18 16:03:15 +0200
committerRalf Baechle <ralf@linux-mips.org>2008-07-20 15:38:20 +0200
commitb5d5accc7a2eb41f43ef346f3b258ba2f6342a1c (patch)
tree82c20f65b6d8f220db48d31434e7fc66223518dd /arch/mips/cobalt/setup.c
parent[MIPS] don't leak setup_early_printk() in userspace header (diff)
downloadlinux-b5d5accc7a2eb41f43ef346f3b258ba2f6342a1c.tar.xz
linux-b5d5accc7a2eb41f43ef346f3b258ba2f6342a1c.zip
[MIPS] Cobalt: Fix I/O port resource range
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>
Diffstat (limited to 'arch/mips/cobalt/setup.c')
-rw-r--r--arch/mips/cobalt/setup.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/mips/cobalt/setup.c b/arch/mips/cobalt/setup.c
index dd23beb8604f..b51644227241 100644
--- a/arch/mips/cobalt/setup.c
+++ b/arch/mips/cobalt/setup.c
@@ -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++)