提交 c5de50da 编写于 作者: S Steven J. Hill 提交者: Ralf Baechle

MIPS: Malta: Change start address to avoid conflicts.

There are ACPI and SMB devices in the 0x1000..0x1fff address range.
Signed-off-by: NSteven J. Hill <sjhill@mips.com>
Cc: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/3581/Signed-off-by: NRalf Baechle <ralf@linux-mips.org>
上级 2dd17030
...@@ -241,8 +241,9 @@ void __init mips_pcibios_init(void) ...@@ -241,8 +241,9 @@ void __init mips_pcibios_init(void)
return; return;
} }
if (controller->io_resource->start < 0x00001000UL) /* FIXME */ /* Change start address to avoid conflicts with ACPI and SMB devices */
controller->io_resource->start = 0x00001000UL; if (controller->io_resource->start < 0x00002000UL)
controller->io_resource->start = 0x00002000UL;
iomem_resource.end &= 0xfffffffffULL; /* 64 GB */ iomem_resource.end &= 0xfffffffffULL; /* 64 GB */
ioport_resource.end = controller->io_resource->end; ioport_resource.end = controller->io_resource->end;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册