summaryrefslogtreecommitdiff
path: root/src/acpi/acpi.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/acpi/acpi.c')
-rw-r--r--src/acpi/acpi.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/acpi/acpi.c b/src/acpi/acpi.c
index a2865cbf7e..c357e2bd23 100644
--- a/src/acpi/acpi.c
+++ b/src/acpi/acpi.c
@@ -226,7 +226,7 @@ int acpi_create_madt_ioapic_from_hw(acpi_madt_ioapic_t *ioapic, u32 addr)
}
#endif
-u16 acpi_sci_int(void)
+static u16 acpi_sci_int(void)
{
#if ENV_X86
u8 gsi, irq, flags;
@@ -1736,6 +1736,8 @@ static void acpi_create_fadt(acpi_fadt_t *fadt, acpi_facs_t *facs, void *dsdt)
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);