Skip to content

Commit b5d5acc

Browse files
Yoichi Yuasaralfbaechle
authored andcommitted
[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>
1 parent 5f15d37 commit b5d5acc

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

‎arch/mips/cobalt/setup.c‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -81,8 +81,8 @@ void __init plat_mem_setup(void)
8181

8282
set_io_port_base(CKSEG1ADDR(GT_DEF_PCI0_IO_BASE));
8383

84-
/* I/O port resource must include LCD/buttons */
85-
ioport_resource.end = 0x0fffffff;
84+
/* I/O port resource */
85+
ioport_resource.end = 0x01ffffff;
8686

8787
/* These resources have been reserved by VIA SuperI/O chip. */
8888
for (i = 0; i < ARRAY_SIZE(cobalt_reserved_resources); i++)

0 commit comments

Comments
 (0)