summaryrefslogtreecommitdiff
path: root/src/soc/intel
diff options
context:
space:
mode:
Diffstat (limited to 'src/soc/intel')
-rw-r--r--src/soc/intel/xeon_sp/acpi.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/soc/intel/xeon_sp/acpi.c b/src/soc/intel/xeon_sp/acpi.c
index de63ced7b6..9ee8d6a59b 100644
--- a/src/soc/intel/xeon_sp/acpi.c
+++ b/src/soc/intel/xeon_sp/acpi.c
@@ -90,6 +90,7 @@ const acpi_cstate_t *soc_get_cstate_map(size_t *entries)
return map;
}
+#if CONFIG(XEON_SP_HAVE_IIO_IOAPIC)
static uintptr_t xeonsp_ioapic_bases[CONFIG(XEON_SP_HAVE_IIO_IOAPIC) * 8 + 1];
size_t soc_get_ioapic_info(const uintptr_t *ioapic_bases[])
@@ -126,6 +127,7 @@ size_t soc_get_ioapic_info(const uintptr_t *ioapic_bases[])
return index;
}
+#endif
void iio_domain_set_acpi_name(struct device *dev, const char *prefix)
{