summaryrefslogtreecommitdiff
path: root/arch/mips
diff options
context:
space:
mode:
authorYoichi Yuasa <yoichi_yuasa@tripeaks.co.jp>2008-07-18 23:03:15 +0900
committerRalf Baechle <ralf@linux-mips.org>2008-07-20 14:38:20 +0100
commitb5d5accc7a2eb41f43ef346f3b258ba2f6342a1c (patch)
tree82c20f65b6d8f220db48d31434e7fc66223518dd /arch/mips
parent5f15d378763e88c361364c0d0ad256d523f2d72f (diff)
downloadlinux-3.10-b5d5accc7a2eb41f43ef346f3b258ba2f6342a1c.tar.gz
linux-3.10-b5d5accc7a2eb41f43ef346f3b258ba2f6342a1c.tar.bz2
linux-3.10-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')
-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 dd23beb8604..b5164422724 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++)