diff options
author | Kyösti Mälkki <kyosti.malkki@gmail.com> | 2021-06-08 11:31:19 +0300 |
---|---|---|
committer | Kyösti Mälkki <kyosti.malkki@gmail.com> | 2022-11-10 19:10:42 +0000 |
commit | d165357ec37ce89ff4ee05f6d0bcfac6e766c1df (patch) | |
tree | 70e3d2bcc856b7ec458b98561d485de538293da5 /src/soc | |
parent | c0457358f6ac47f8a771af474bb1987c74fb0cd6 (diff) |
sb,soc/intel: Use register_new_ioapic_gsi0()
Change-Id: I6b0e4021595fb160ae3bf798468f4505b460266f
Signed-off-by: Kyösti Mälkki <kyosti.malkki@gmail.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/55314
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Arthur Heymans <arthur@aheymans.xyz>
Diffstat (limited to 'src/soc')
-rw-r--r-- | src/soc/intel/broadwell/pch/lpc.c | 2 | ||||
-rw-r--r-- | src/soc/intel/common/block/lpc/lpc_lib.c | 2 | ||||
-rw-r--r-- | src/soc/intel/denverton_ns/lpc.c | 2 |
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 */ |