diff options
author | Kyösti Mälkki <kyosti.malkki@gmail.com> | 2021-06-16 11:00:40 +0300 |
---|---|---|
committer | Felix Held <felix-coreboot@felixheld.de> | 2022-11-17 23:31:59 +0000 |
commit | 2e65e9cb69de5a0e8bfae1ab79016af8c5c5316f (patch) | |
tree | cf52847a6328e7eb3a72f04926dbb793d2ab8b81 /src/soc/amd/mendocino/root_complex.c | |
parent | 87d4f114a24d713c7ce965a52b83974f7b089557 (diff) |
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>
Diffstat (limited to 'src/soc/amd/mendocino/root_complex.c')
-rw-r--r-- | src/soc/amd/mendocino/root_complex.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/soc/amd/mendocino/root_complex.c b/src/soc/amd/mendocino/root_complex.c index abc49cfe05..0d24a25700 100644 --- a/src/soc/amd/mendocino/root_complex.c +++ b/src/soc/amd/mendocino/root_complex.c @@ -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) |