summaryrefslogtreecommitdiff
path: root/src/soc
diff options
context:
space:
mode:
Diffstat (limited to 'src/soc')
-rw-r--r--src/soc/intel/broadwell/pch/lpc.c2
-rw-r--r--src/soc/intel/common/block/lpc/lpc_lib.c2
-rw-r--r--src/soc/intel/denverton_ns/lpc.c2
3 files changed, 3 insertions, 3 deletions
diff --git a/src/soc/intel/broadwell/pch/lpc.c b/src/soc/intel/broadwell/pch/lpc.c
index 5a1623f341..1ddee34122 100644
--- a/src/soc/intel/broadwell/pch/lpc.c
+++ b/src/soc/intel/broadwell/pch/lpc.c
@@ -33,7 +33,7 @@ static void pch_enable_ioapic(struct device *dev)
/* PCH-LP has 40 redirection entries */
ioapic_set_max_vectors(VIO_APIC_VADDR, 40);
- setup_ioapic(VIO_APIC_VADDR, 0x02);
+ register_new_ioapic_gsi0(VIO_APIC_VADDR);
}
static void enable_hpet(struct device *dev)
diff --git a/src/soc/intel/common/block/lpc/lpc_lib.c b/src/soc/intel/common/block/lpc/lpc_lib.c
index d499918570..c820203d6d 100644
--- a/src/soc/intel/common/block/lpc/lpc_lib.c
+++ b/src/soc/intel/common/block/lpc/lpc_lib.c
@@ -387,7 +387,7 @@ void pch_enable_ioapic(void)
/* affirm full set of redirection table entries ("write once") */
ioapic_set_max_vectors(VIO_APIC_VADDR, PCH_REDIR_ETR);
- setup_ioapic((void *)IO_APIC_ADDR, 0x02);
+ register_new_ioapic_gsi0((void *)IO_APIC_ADDR);
}
static const uint8_t pch_interrupt_routing[PIRQ_COUNT] = {
diff --git a/src/soc/intel/denverton_ns/lpc.c b/src/soc/intel/denverton_ns/lpc.c
index 5d1eda5e23..7ebca1eb94 100644
--- a/src/soc/intel/denverton_ns/lpc.c
+++ b/src/soc/intel/denverton_ns/lpc.c
@@ -34,7 +34,7 @@ static void pch_enable_ioapic(struct device *dev)
/* affirm full set of redirection table entries ("write once") */
ioapic_set_max_vectors(VIO_APIC_VADDR, PCH_REDIR_ETR);
- setup_ioapic((void *)IO_APIC_ADDR, IO_APIC0);
+ register_new_ioapic_gsi0((void *)IO_APIC_ADDR);
}
/* interrupt router lookup for internal devices */