soc/intel/skylake: Align soc_pch_pirq_init() with CNL

This patch replaces pch_interrupt_routing[] with PCH_IRQx macro.

Change-Id: I9645b0e185bcde7b27da35863564dbcf73850e8c
Signed-off-by: Subrata Banik <subrata.banik@intel.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/45788
Reviewed-by: Tim Wawrzynczak <twawrzynczak@chromium.org>
Reviewed-by: Angel Pons <th3fanbus@gmail.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
This commit is contained in:
Subrata Banik 2020-09-28 16:11:56 +05:30
parent 02d5faa992
commit e37e668e5a
1 changed files with 4 additions and 4 deletions

View File

@ -264,16 +264,16 @@ void soc_pch_pirq_init(const struct device *dev)
switch (int_pin) { switch (int_pin) {
case 1: /* INTA# */ case 1: /* INTA# */
int_line = pch_interrupt_routing[0]; int_line = PCH_IRQ11;
break; break;
case 2: /* INTB# */ case 2: /* INTB# */
int_line = pch_interrupt_routing[1]; int_line = PCH_IRQ10;
break; break;
case 3: /* INTC# */ case 3: /* INTC# */
int_line = pch_interrupt_routing[2]; int_line = PCH_IRQ11;
break; break;
case 4: /* INTD# */ case 4: /* INTD# */
int_line = pch_interrupt_routing[3]; int_line = PCH_IRQ11;
break; break;
} }