diff options
author | Subrata Banik <subrata.banik@intel.com> | 2020-09-28 16:11:56 +0530 |
---|---|---|
committer | Subrata Banik <subrata.banik@intel.com> | 2020-09-30 03:52:23 +0000 |
commit | e37e668e5a189e3344f9d6f1f89dce29f4fcd5f7 (patch) | |
tree | 201423b5dae8c14288073bbf2aa8e8eda4ec1b9a /src/soc/intel | |
parent | 02d5faa992ffdd73e6ae63c8e65bfb62a1aa659d (diff) | |
download | coreboot-e37e668e5a189e3344f9d6f1f89dce29f4fcd5f7.tar.xz |
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>
Diffstat (limited to 'src/soc/intel')
-rw-r--r-- | src/soc/intel/skylake/irq.c | 8 |
1 files changed, 4 insertions, 4 deletions
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; } |