From e37e668e5a189e3344f9d6f1f89dce29f4fcd5f7 Mon Sep 17 00:00:00 2001 From: Subrata Banik Date: Mon, 28 Sep 2020 16:11:56 +0530 Subject: 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 Reviewed-on: https://review.coreboot.org/c/coreboot/+/45788 Reviewed-by: Tim Wawrzynczak Reviewed-by: Angel Pons Tested-by: build bot (Jenkins) --- src/soc/intel/skylake/irq.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src') diff --git a/src/soc/intel/skylake/irq.c b/src/soc/intel/skylake/irq.c index 129f132643..62050c9782 100644 --- a/src/soc/intel/skylake/irq.c +++ b/src/soc/intel/skylake/irq.c @@ -264,16 +264,16 @@ void soc_pch_pirq_init(const struct device *dev) switch (int_pin) { case 1: /* INTA# */ - int_line = pch_interrupt_routing[0]; + int_line = PCH_IRQ11; break; case 2: /* INTB# */ - int_line = pch_interrupt_routing[1]; + int_line = PCH_IRQ10; break; case 3: /* INTC# */ - int_line = pch_interrupt_routing[2]; + int_line = PCH_IRQ11; break; case 4: /* INTD# */ - int_line = pch_interrupt_routing[3]; + int_line = PCH_IRQ11; break; } -- cgit v1.2.3