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>
This commit is contained in:
@@ -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;
|
||||
|
@@ -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)
|
||||
|
Reference in New Issue
Block a user