[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>
This commit is contained in:
committed by
Ralf Baechle
parent
5f15d37876
commit
b5d5accc7a
@@ -81,8 +81,8 @@ void __init plat_mem_setup(void)
|
|||||||
|
|
||||||
set_io_port_base(CKSEG1ADDR(GT_DEF_PCI0_IO_BASE));
|
set_io_port_base(CKSEG1ADDR(GT_DEF_PCI0_IO_BASE));
|
||||||
|
|
||||||
/* I/O port resource must include LCD/buttons */
|
/* I/O port resource */
|
||||||
ioport_resource.end = 0x0fffffff;
|
ioport_resource.end = 0x01ffffff;
|
||||||
|
|
||||||
/* These resources have been reserved by VIA SuperI/O chip. */
|
/* These resources have been reserved by VIA SuperI/O chip. */
|
||||||
for (i = 0; i < ARRAY_SIZE(cobalt_reserved_resources); i++)
|
for (i = 0; i < ARRAY_SIZE(cobalt_reserved_resources); i++)
|
||||||
|
Reference in New Issue
Block a user