mb/emulation/qemu-i440fx: Select IOAPIC
For SMP operation IOAPIC needs to be configured. For a build with MAX_CPUS=1 emulation might still decode the IOAPIC MMIO window, it does not really matter to have it always reserved. Change-Id: Ia340fc418cd9ceda56a2a10972e130d9f289c589 Signed-off-by: Kyösti Mälkki <kyosti.malkki@gmail.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/55290 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Arthur Heymans <arthur@aheymans.xyz> Reviewed-by: Angel Pons <th3fanbus@gmail.com>
This commit is contained in:
parent
682613f065
commit
4bab5691cc
|
@ -16,6 +16,7 @@ config BOARD_SPECIFIC_OPTIONS
|
||||||
select HAVE_ASAN_IN_ROMSTAGE
|
select HAVE_ASAN_IN_ROMSTAGE
|
||||||
select NO_SMM
|
select NO_SMM
|
||||||
select BOOT_DEVICE_NOT_SPI_FLASH
|
select BOOT_DEVICE_NOT_SPI_FLASH
|
||||||
|
select IOAPIC
|
||||||
|
|
||||||
config VBOOT
|
config VBOOT
|
||||||
select VBOOT_MUST_REQUEST_DISPLAY
|
select VBOOT_MUST_REQUEST_DISPLAY
|
||||||
|
|
|
@ -85,13 +85,11 @@ static void sb_read_resources(struct device *dev)
|
||||||
res->flags = IORESOURCE_MEM | IORESOURCE_ASSIGNED | IORESOURCE_FIXED |
|
res->flags = IORESOURCE_MEM | IORESOURCE_ASSIGNED | IORESOURCE_FIXED |
|
||||||
IORESOURCE_RESERVE;
|
IORESOURCE_RESERVE;
|
||||||
|
|
||||||
#if CONFIG(IOAPIC)
|
|
||||||
res = new_resource(dev, 3); /* IOAPIC */
|
res = new_resource(dev, 3); /* IOAPIC */
|
||||||
res->base = IO_APIC_ADDR;
|
res->base = IO_APIC_ADDR;
|
||||||
res->size = 0x00001000;
|
res->size = 0x00001000;
|
||||||
res->flags = IORESOURCE_MEM | IORESOURCE_ASSIGNED | IORESOURCE_FIXED |
|
res->flags = IORESOURCE_MEM | IORESOURCE_ASSIGNED | IORESOURCE_FIXED |
|
||||||
IORESOURCE_RESERVE;
|
IORESOURCE_RESERVE;
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
static const struct device_operations isa_ops = {
|
static const struct device_operations isa_ops = {
|
||||||
|
|
Loading…
Reference in New Issue