Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit c5de50da authored by Steven J. Hill's avatar Steven J. Hill Committed by Ralf Baechle
Browse files

MIPS: Malta: Change start address to avoid conflicts.



There are ACPI and SMB devices in the 0x1000..0x1fff address range.

Signed-off-by: default avatarSteven J. Hill <sjhill@mips.com>
Cc: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/3581/


Signed-off-by: default avatarRalf Baechle <ralf@linux-mips.org>
parent 2dd17030
Loading
Loading
Loading
Loading
+3 −2
Original line number Diff line number Diff line
@@ -241,8 +241,9 @@ void __init mips_pcibios_init(void)
		return;
	}

	if (controller->io_resource->start < 0x00001000UL)	/* FIXME */
		controller->io_resource->start = 0x00001000UL;
	/* Change start address to avoid conflicts with ACPI and SMB devices */
	if (controller->io_resource->start < 0x00002000UL)
		controller->io_resource->start = 0x00002000UL;

	iomem_resource.end &= 0xfffffffffULL;			/* 64 GB */
	ioport_resource.end = controller->io_resource->end;