arch/x86/ioapic: Promote ioapic_get_sci_pin()

Platform needs to implement this to provide information about SCI IRQ
pin and polarity, to be used for filling in ACPI FADT and MADT entries.

Change-Id: Icea7e9ca4abf3997c01617d2f78f25036d85a52f
Signed-off-by: Kyösti Mälkki <kyosti.malkki@gmail.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/74337
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Arthur Heymans <arthur@aheymans.xyz>
diff --git a/src/acpi/acpi.c b/src/acpi/acpi.c
index a2865cb..c357e2b 100644
--- a/src/acpi/acpi.c
+++ b/src/acpi/acpi.c
@@ -226,7 +226,7 @@
 }
 #endif
 
-u16 acpi_sci_int(void)
+static u16 acpi_sci_int(void)
 {
 #if ENV_X86
 	u8 gsi, irq, flags;
@@ -1736,6 +1736,8 @@
 	if (CONFIG(USE_PC_CMOS_ALTCENTURY))
 		fadt->century = RTC_CLK_ALTCENTURY;
 
+	fadt->sci_int = acpi_sci_int();
+
 	arch_fill_fadt(fadt);
 
 	acpi_fill_fadt(fadt);