From 2a1638a9cead257115ff82b18862d506015378b2 Mon Sep 17 00:00:00 2001 From: Raul E Rangel Date: Tue, 12 Jan 2021 15:10:39 -0700 Subject: [PATCH] mb/amd/mandolin: Clean up IRQ numbers We no longer need the IO-APIC assignments since we use the GNB IO-APIC. We were also missing the E-H IRQ mapping. I also renumbered them since IRQ 8 is used by the rtc. TEST=none BRANCH=zork Signed-off-by: Raul E Rangel Change-Id: Ia956ae457669aeda6fa49e127373aad3807f7b9b Reviewed-on: https://review.coreboot.org/c/coreboot/+/49368 Tested-by: build bot (Jenkins) Reviewed-by: Felix Held --- src/mainboard/amd/mandolin/mainboard.c | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/src/mainboard/amd/mandolin/mainboard.c b/src/mainboard/amd/mandolin/mainboard.c index 0d208da348..6718d656a6 100644 --- a/src/mainboard/amd/mandolin/mainboard.c +++ b/src/mainboard/amd/mandolin/mainboard.c @@ -34,10 +34,14 @@ static const struct fch_irq_routing { uint8_t pic_irq_num; uint8_t apic_irq_num; } mandolin_fch[] = { - { PIRQ_A, 8, 16 }, - { PIRQ_B, 10, 17 }, - { PIRQ_C, 11, 18 }, - { PIRQ_D, 12, 19 }, + { PIRQ_A, 10, PIRQ_NC }, + { PIRQ_B, 11, PIRQ_NC }, + { PIRQ_C, 12, PIRQ_NC }, + { PIRQ_D, 13, PIRQ_NC }, + { PIRQ_E, 13, PIRQ_NC }, + { PIRQ_F, 12, PIRQ_NC }, + { PIRQ_G, 11, PIRQ_NC }, + { PIRQ_H, 10, PIRQ_NC }, { PIRQ_SCI, 9, 9 }, { PIRQ_SD, PIRQ_NC, 16 }, { PIRQ_SDIO, PIRQ_NC, 16 },