soc/amd: Use ioapic helper functions
commit2e65e9cb69de5a0e8bfae1ab79016af8c5c5316f
authorKyösti Mälkki <kyosti.malkki@gmail.com>
Wed, 16 Jun 2021 08:00:40 +0000 (16 11:00 +0300)
committerFelix Held <felix-coreboot@felixheld.de>
Thu, 17 Nov 2022 23:31:59 +0000 (17 23:31 +0000)
treecf52847a6328e7eb3a72f04926dbb793d2ab8b81
parent87d4f114a24d713c7ce965a52b83974f7b089557
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>
13 files changed:
src/soc/amd/cezanne/acpi.c
src/soc/amd/cezanne/root_complex.c
src/soc/amd/common/block/lpc/lpc.c
src/soc/amd/glinda/acpi.c
src/soc/amd/glinda/root_complex.c
src/soc/amd/mendocino/acpi.c
src/soc/amd/mendocino/root_complex.c
src/soc/amd/morgana/acpi.c
src/soc/amd/morgana/root_complex.c
src/soc/amd/picasso/acpi.c
src/soc/amd/picasso/root_complex.c
src/soc/amd/stoneyridge/acpi.c
src/soc/amd/stoneyridge/northbridge.c