Skip to content

Commit

Permalink
[MIPS] Cobalt: Fix I/O port resource range
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Yoichi Yuasa authored and Ralf Baechle committed Jul 20, 2008
1 parent 5f15d37 commit b5d5acc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions arch/mips/cobalt/setup.c
Original file line number Diff line number Diff line change
Expand Up @@ -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++)
Expand Down

0 comments on commit b5d5acc

Please sign in to comment.