diff options
author | Kyösti Mälkki <kyosti.malkki@gmail.com> | 2021-06-06 08:10:05 +0300 |
---|---|---|
committer | Kyösti Mälkki <kyosti.malkki@gmail.com> | 2021-10-17 18:09:01 +0000 |
commit | 6644d7c508a1a15d5a0c79f47cdf09585c99192f (patch) | |
tree | 2847a562ebffd653a0d95d62fafade88ba443ae4 /src/drivers/generic | |
parent | f6611a2ea8d9288e57ce08b9190b3e401c18edd5 (diff) |
drivers/generic/ioapic: Drop enable_virtual_wire
All boards with DRIVERS_GENERIC_IOAPIC select it.
Presumably the related configuration of routing IRQ0 when
IOAPIC is enabled should be always done to provide i8259
legacy compatibility for payloads.
Change-Id: Ie87816271fa63bba892c8615aa5e72ee68f6ba93
Signed-off-by: Kyösti Mälkki <kyosti.malkki@gmail.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/55287
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Angel Pons <th3fanbus@gmail.com>
Reviewed-by: Nico Huber <nico.h@gmx.de>
Diffstat (limited to 'src/drivers/generic')
-rw-r--r-- | src/drivers/generic/ioapic/chip.h | 1 | ||||
-rw-r--r-- | src/drivers/generic/ioapic/ioapic.c | 2 |
2 files changed, 1 insertions, 2 deletions
diff --git a/src/drivers/generic/ioapic/chip.h b/src/drivers/generic/ioapic/chip.h index 9a9395f714..a5fbeab5d4 100644 --- a/src/drivers/generic/ioapic/chip.h +++ b/src/drivers/generic/ioapic/chip.h @@ -6,7 +6,6 @@ typedef struct drivers_generic_ioapic_config { u32 version; u8 apicid; - u8 enable_virtual_wire; u8 have_isa_interrupts; void *base; } ioapic_config_t; diff --git a/src/drivers/generic/ioapic/ioapic.c b/src/drivers/generic/ioapic/ioapic.c index 4a8bcf8177..b286af3c14 100644 --- a/src/drivers/generic/ioapic/ioapic.c +++ b/src/drivers/generic/ioapic/ioapic.c @@ -13,7 +13,7 @@ static void ioapic_init(struct device *dev) if (!dev->enabled || !config) return; - setup_ioapic_helper(config->base, config->apicid, config->enable_virtual_wire); + setup_ioapic(config->base, config->apicid); } static void ioapic_read_resources(struct device *dev) |