soc/amd: Use ioapic helper functions
Calling setup_ioapic() was only correct for the IOAPIC routing GSI 0..15 that mimic legacy PIC IRQs. Change-Id: Ifdacc61b72f461ec6bea334fa06651c09a9695d6 Signed-off-by: Kyösti Mälkki <kyosti.malkki@gmail.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/55571 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Angel Pons <th3fanbus@gmail.com> Reviewed-by: Felix Held <felix-coreboot@felixheld.de>
This commit is contained in:
committed by
Felix Held
parent
87d4f114a2
commit
2e65e9cb69
@ -187,7 +187,7 @@ static void read_resources(struct device *dev)
|
||||
|
||||
static void root_complex_init(struct device *dev)
|
||||
{
|
||||
setup_ioapic((u8 *)GNB_IO_APIC_ADDR, GNB_IOAPIC_ID);
|
||||
register_new_ioapic((u8 *)GNB_IO_APIC_ADDR);
|
||||
}
|
||||
|
||||
static void acipgen_dptci(void)
|
||||
|
Reference in New Issue
Block a user