summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/soc/intel/meteorlake/acpi.c1
-rw-r--r--src/soc/intel/meteorlake/chip.c1
-rw-r--r--src/soc/intel/meteorlake/cpu.c1
-rw-r--r--src/soc/intel/meteorlake/espi.c1
-rw-r--r--src/soc/intel/meteorlake/fsp_params.c1
-rw-r--r--src/soc/intel/meteorlake/pmc.c1
-rw-r--r--src/soc/intel/meteorlake/pmutil.c1
-rw-r--r--src/soc/intel/meteorlake/romstage/fsp_params.c1
-rw-r--r--src/soc/intel/meteorlake/systemagent.c1
-rw-r--r--src/soc/intel/meteorlake/tcss.c1
-rw-r--r--src/soc/intel/pantherlake/acpi.c1
-rw-r--r--src/soc/intel/pantherlake/chip.c1
-rw-r--r--src/soc/intel/pantherlake/cpu.c1
-rw-r--r--src/soc/intel/pantherlake/espi.c1
-rw-r--r--src/soc/intel/pantherlake/fsp_params.c1
-rw-r--r--src/soc/intel/pantherlake/pmc.c1
-rw-r--r--src/soc/intel/pantherlake/pmutil.c1
-rw-r--r--src/soc/intel/pantherlake/romstage/fsp_params.c1
-rw-r--r--src/soc/intel/pantherlake/systemagent.c1
-rw-r--r--src/soc/intel/skylake/acpi.c1
-rw-r--r--src/soc/intel/skylake/bootblock/pch.c1
-rw-r--r--src/soc/intel/skylake/chip.c1
-rw-r--r--src/soc/intel/skylake/cpu.c1
-rw-r--r--src/soc/intel/skylake/fadt.c1
-rw-r--r--src/soc/intel/skylake/lpc.c1
-rw-r--r--src/soc/intel/skylake/pmc.c1
-rw-r--r--src/soc/intel/skylake/pmutil.c1
-rw-r--r--src/soc/intel/skylake/romstage/fsp_params.c1
-rw-r--r--src/soc/intel/skylake/systemagent.c1
-rw-r--r--src/soc/intel/tigerlake/acpi.c1
-rw-r--r--src/soc/intel/tigerlake/bootblock/pch.c1
-rw-r--r--src/soc/intel/tigerlake/chip.c1
-rw-r--r--src/soc/intel/tigerlake/cpu.c1
-rw-r--r--src/soc/intel/tigerlake/espi.c1
-rw-r--r--src/soc/intel/tigerlake/fsp_params.c1
-rw-r--r--src/soc/intel/tigerlake/pmc.c1
-rw-r--r--src/soc/intel/tigerlake/pmutil.c1
-rw-r--r--src/soc/intel/tigerlake/romstage/fsp_params.c1
-rw-r--r--src/soc/intel/tigerlake/systemagent.c1
-rw-r--r--src/soc/intel/xeon_sp/acpi.c1
-rw-r--r--src/soc/intel/xeon_sp/cpx/romstage.c1
-rw-r--r--src/soc/intel/xeon_sp/lpc.c1
-rw-r--r--src/soc/intel/xeon_sp/skx/romstage.c1
-rw-r--r--src/soc/intel/xeon_sp/spr/romstage.c1
44 files changed, 44 insertions, 0 deletions
diff --git a/src/soc/intel/meteorlake/acpi.c b/src/soc/intel/meteorlake/acpi.c
index a3ee198303..e3aa44e02d 100644
--- a/src/soc/intel/meteorlake/acpi.c
+++ b/src/soc/intel/meteorlake/acpi.c
@@ -20,6 +20,7 @@
#include <soc/pm.h>
#include <soc/soc_chip.h>
#include <soc/systemagent.h>
+#include <static.h>
#include <types.h>
/*
diff --git a/src/soc/intel/meteorlake/chip.c b/src/soc/intel/meteorlake/chip.c
index d2011f9899..a0a13997cb 100644
--- a/src/soc/intel/meteorlake/chip.c
+++ b/src/soc/intel/meteorlake/chip.c
@@ -24,6 +24,7 @@
#include <soc/ramstage.h>
#include <soc/soc_chip.h>
#include <soc/tcss.h>
+#include <static.h>
#if CONFIG(HAVE_ACPI_TABLES)
const char *soc_acpi_name(const struct device *dev)
diff --git a/src/soc/intel/meteorlake/cpu.c b/src/soc/intel/meteorlake/cpu.c
index e990ae39d7..4a74be0d63 100644
--- a/src/soc/intel/meteorlake/cpu.c
+++ b/src/soc/intel/meteorlake/cpu.c
@@ -21,6 +21,7 @@
#include <soc/pci_devs.h>
#include <soc/soc_chip.h>
#include <soc/soc_info.h>
+#include <static.h>
bool cpu_soc_is_in_untrusted_mode(void)
{
diff --git a/src/soc/intel/meteorlake/espi.c b/src/soc/intel/meteorlake/espi.c
index a3952a31aa..98fd9fc045 100644
--- a/src/soc/intel/meteorlake/espi.c
+++ b/src/soc/intel/meteorlake/espi.c
@@ -13,6 +13,7 @@
#include <soc/pci_devs.h>
#include <soc/pcr_ids.h>
#include <soc/soc_chip.h>
+#include <static.h>
void soc_get_gen_io_dec_range(uint32_t gen_io_dec[LPC_NUM_GENERIC_IO_RANGES])
{
diff --git a/src/soc/intel/meteorlake/fsp_params.c b/src/soc/intel/meteorlake/fsp_params.c
index 0ae36e6997..5bd28aad2c 100644
--- a/src/soc/intel/meteorlake/fsp_params.c
+++ b/src/soc/intel/meteorlake/fsp_params.c
@@ -32,6 +32,7 @@
#include <soc/ramstage.h>
#include <soc/soc_chip.h>
#include <soc/soc_info.h>
+#include <static.h>
#include <stdlib.h>
#include <string.h>
#include <types.h>
diff --git a/src/soc/intel/meteorlake/pmc.c b/src/soc/intel/meteorlake/pmc.c
index 5c4fa2c115..837a8f34ce 100644
--- a/src/soc/intel/meteorlake/pmc.c
+++ b/src/soc/intel/meteorlake/pmc.c
@@ -15,6 +15,7 @@
#include <soc/pci_devs.h>
#include <soc/pm.h>
#include <soc/soc_chip.h>
+#include <static.h>
#include <stdint.h>
#include <bootstate.h>
diff --git a/src/soc/intel/meteorlake/pmutil.c b/src/soc/intel/meteorlake/pmutil.c
index 09fb46be1e..8e91b2778a 100644
--- a/src/soc/intel/meteorlake/pmutil.c
+++ b/src/soc/intel/meteorlake/pmutil.c
@@ -24,6 +24,7 @@
#include <soc/pm.h>
#include <soc/smbus.h>
#include <soc/soc_chip.h>
+#include <static.h>
#include <types.h>
/*
diff --git a/src/soc/intel/meteorlake/romstage/fsp_params.c b/src/soc/intel/meteorlake/romstage/fsp_params.c
index 917503ed98..bc7c20b8bc 100644
--- a/src/soc/intel/meteorlake/romstage/fsp_params.c
+++ b/src/soc/intel/meteorlake/romstage/fsp_params.c
@@ -26,6 +26,7 @@
#include <soc/romstage.h>
#include <soc/soc_chip.h>
#include <soc/soc_info.h>
+#include <static.h>
#include <string.h>
#include <ux_locales.h>
diff --git a/src/soc/intel/meteorlake/systemagent.c b/src/soc/intel/meteorlake/systemagent.c
index 774a99f2c2..bb841aa60b 100644
--- a/src/soc/intel/meteorlake/systemagent.c
+++ b/src/soc/intel/meteorlake/systemagent.c
@@ -12,6 +12,7 @@
#include <soc/iomap.h>
#include <soc/soc_chip.h>
#include <soc/systemagent.h>
+#include <static.h>
/*
* SoC implementation
diff --git a/src/soc/intel/meteorlake/tcss.c b/src/soc/intel/meteorlake/tcss.c
index 7509504eea..3d46f0ac2d 100644
--- a/src/soc/intel/meteorlake/tcss.c
+++ b/src/soc/intel/meteorlake/tcss.c
@@ -2,6 +2,7 @@
#include <intelblocks/tcss.h>
#include <soc/soc_chip.h>
+#include <static.h>
const struct soc_tcss_ops tcss_ops = {
.configure_aux_bias_pads = ioe_tcss_configure_aux_bias_pads_sbi,
diff --git a/src/soc/intel/pantherlake/acpi.c b/src/soc/intel/pantherlake/acpi.c
index c49555bebc..5df3ef928d 100644
--- a/src/soc/intel/pantherlake/acpi.c
+++ b/src/soc/intel/pantherlake/acpi.c
@@ -20,6 +20,7 @@
#include <soc/pm.h>
#include <soc/soc_chip.h>
#include <soc/systemagent.h>
+#include <static.h>
#include <types.h>
/*
diff --git a/src/soc/intel/pantherlake/chip.c b/src/soc/intel/pantherlake/chip.c
index 2202878549..61e00fa342 100644
--- a/src/soc/intel/pantherlake/chip.c
+++ b/src/soc/intel/pantherlake/chip.c
@@ -24,6 +24,7 @@
#include <soc/ramstage.h>
#include <soc/soc_chip.h>
#include <soc/tcss.h>
+#include <static.h>
#if CONFIG(HAVE_ACPI_TABLES)
const char *soc_acpi_name(const struct device *dev)
diff --git a/src/soc/intel/pantherlake/cpu.c b/src/soc/intel/pantherlake/cpu.c
index 1b81856afc..9109263528 100644
--- a/src/soc/intel/pantherlake/cpu.c
+++ b/src/soc/intel/pantherlake/cpu.c
@@ -20,6 +20,7 @@
#include <soc/msr.h>
#include <soc/pci_devs.h>
#include <soc/soc_chip.h>
+#include <static.h>
bool cpu_soc_is_in_untrusted_mode(void)
{
diff --git a/src/soc/intel/pantherlake/espi.c b/src/soc/intel/pantherlake/espi.c
index 02bec6f197..d5b5cf93c9 100644
--- a/src/soc/intel/pantherlake/espi.c
+++ b/src/soc/intel/pantherlake/espi.c
@@ -13,6 +13,7 @@
#include <soc/pci_devs.h>
#include <soc/pcr_ids.h>
#include <soc/soc_chip.h>
+#include <static.h>
void soc_get_gen_io_dec_range(uint32_t gen_io_dec[LPC_NUM_GENERIC_IO_RANGES])
{
diff --git a/src/soc/intel/pantherlake/fsp_params.c b/src/soc/intel/pantherlake/fsp_params.c
index 1c764fa6e8..eaef582f46 100644
--- a/src/soc/intel/pantherlake/fsp_params.c
+++ b/src/soc/intel/pantherlake/fsp_params.c
@@ -16,6 +16,7 @@
#include <soc/intel/common/vbt.h>
#include <soc/pcie.h>
#include <soc/ramstage.h>
+#include <static.h>
#define MAX_ONBOARD_PCIE_DEVICES 256
diff --git a/src/soc/intel/pantherlake/pmc.c b/src/soc/intel/pantherlake/pmc.c
index 1c1ca5dec0..de6bf0c958 100644
--- a/src/soc/intel/pantherlake/pmc.c
+++ b/src/soc/intel/pantherlake/pmc.c
@@ -15,6 +15,7 @@
#include <soc/pci_devs.h>
#include <soc/pm.h>
#include <soc/soc_chip.h>
+#include <static.h>
#include <stdint.h>
#define PMC_HID "INTC1026"
diff --git a/src/soc/intel/pantherlake/pmutil.c b/src/soc/intel/pantherlake/pmutil.c
index 892972c712..888bb562f8 100644
--- a/src/soc/intel/pantherlake/pmutil.c
+++ b/src/soc/intel/pantherlake/pmutil.c
@@ -24,6 +24,7 @@
#include <soc/pm.h>
#include <soc/smbus.h>
#include <soc/soc_chip.h>
+#include <static.h>
#include <types.h>
/*
diff --git a/src/soc/intel/pantherlake/romstage/fsp_params.c b/src/soc/intel/pantherlake/romstage/fsp_params.c
index f6ba498191..b105d3d58a 100644
--- a/src/soc/intel/pantherlake/romstage/fsp_params.c
+++ b/src/soc/intel/pantherlake/romstage/fsp_params.c
@@ -9,6 +9,7 @@
#include <soc/msr.h>
#include <soc/pcie.h>
#include <soc/romstage.h>
+#include <static.h>
#define FSP_CLK_NOTUSED 0xff
#define FSP_CLK_LAN 0x70
diff --git a/src/soc/intel/pantherlake/systemagent.c b/src/soc/intel/pantherlake/systemagent.c
index 418f41cd2f..e7a0701f98 100644
--- a/src/soc/intel/pantherlake/systemagent.c
+++ b/src/soc/intel/pantherlake/systemagent.c
@@ -12,6 +12,7 @@
#include <soc/iomap.h>
#include <soc/soc_chip.h>
#include <soc/systemagent.h>
+#include <static.h>
/*
* SoC implementation
diff --git a/src/soc/intel/skylake/acpi.c b/src/soc/intel/skylake/acpi.c
index e0381e8e17..3a60adad50 100644
--- a/src/soc/intel/skylake/acpi.c
+++ b/src/soc/intel/skylake/acpi.c
@@ -17,6 +17,7 @@
#include <soc/pm.h>
#include <soc/ramstage.h>
#include <soc/systemagent.h>
+#include <static.h>
#include <string.h>
#include <types.h>
diff --git a/src/soc/intel/skylake/bootblock/pch.c b/src/soc/intel/skylake/bootblock/pch.c
index cc2d384e2e..df00bb85a9 100644
--- a/src/soc/intel/skylake/bootblock/pch.c
+++ b/src/soc/intel/skylake/bootblock/pch.c
@@ -18,6 +18,7 @@
#include <soc/pcr_ids.h>
#include <soc/pm.h>
#include <soc/pmc.h>
+#include <static.h>
#include "../chip.h"
#define PCR_DMI_ACPIBA 0x27B4
diff --git a/src/soc/intel/skylake/chip.c b/src/soc/intel/skylake/chip.c
index d1cc6f91ac..a6844e068a 100644
--- a/src/soc/intel/skylake/chip.c
+++ b/src/soc/intel/skylake/chip.c
@@ -28,6 +28,7 @@
#include <soc/ramstage.h>
#include <soc/systemagent.h>
#include <soc/usb.h>
+#include <static.h>
#include <string.h>
#include <types.h>
diff --git a/src/soc/intel/skylake/cpu.c b/src/soc/intel/skylake/cpu.c
index 057aece02d..8f294f7c8f 100644
--- a/src/soc/intel/skylake/cpu.c
+++ b/src/soc/intel/skylake/cpu.c
@@ -21,6 +21,7 @@
#include <soc/pci_devs.h>
#include <soc/ramstage.h>
#include <soc/systemagent.h>
+#include <static.h>
#include <types.h>
#include "chip.h"
diff --git a/src/soc/intel/skylake/fadt.c b/src/soc/intel/skylake/fadt.c
index 693218f9ba..5de44d3900 100644
--- a/src/soc/intel/skylake/fadt.c
+++ b/src/soc/intel/skylake/fadt.c
@@ -3,6 +3,7 @@
#include <acpi/acpi.h>
#include <soc/iomap.h>
#include <soc/pm.h>
+#include <static.h>
#include "chip.h"
void soc_fill_fadt(acpi_fadt_t *fadt)
diff --git a/src/soc/intel/skylake/lpc.c b/src/soc/intel/skylake/lpc.c
index eea86fc1a9..4b957df70f 100644
--- a/src/soc/intel/skylake/lpc.c
+++ b/src/soc/intel/skylake/lpc.c
@@ -10,6 +10,7 @@
#include <soc/iomap.h>
#include <soc/pcr_ids.h>
#include <soc/intel/common/block/lpc/lpc_def.h>
+#include <static.h>
#include "chip.h"
diff --git a/src/soc/intel/skylake/pmc.c b/src/soc/intel/skylake/pmc.c
index 71d1ef0c0c..7c8d7c1068 100644
--- a/src/soc/intel/skylake/pmc.c
+++ b/src/soc/intel/skylake/pmc.c
@@ -11,6 +11,7 @@
#include <intelblocks/rtc.h>
#include <soc/pci_devs.h>
#include <soc/pm.h>
+#include <static.h>
#include "chip.h"
diff --git a/src/soc/intel/skylake/pmutil.c b/src/soc/intel/skylake/pmutil.c
index 5152237547..5e7d5438d9 100644
--- a/src/soc/intel/skylake/pmutil.c
+++ b/src/soc/intel/skylake/pmutil.c
@@ -24,6 +24,7 @@
#include <soc/pmc.h>
#include <soc/smbus.h>
#include <security/vboot/vbnv.h>
+#include <static.h>
#include "chip.h"
diff --git a/src/soc/intel/skylake/romstage/fsp_params.c b/src/soc/intel/skylake/romstage/fsp_params.c
index f24054a6b7..bd3d086879 100644
--- a/src/soc/intel/skylake/romstage/fsp_params.c
+++ b/src/soc/intel/skylake/romstage/fsp_params.c
@@ -10,6 +10,7 @@
#include <soc/pci_devs.h>
#include <soc/romstage.h>
#include <soc/soc_chip.h>
+#include <static.h>
static void cpu_flex_override(FSP_M_CONFIG *m_cfg)
{
diff --git a/src/soc/intel/skylake/systemagent.c b/src/soc/intel/skylake/systemagent.c
index d203bdadff..3708f057fc 100644
--- a/src/soc/intel/skylake/systemagent.c
+++ b/src/soc/intel/skylake/systemagent.c
@@ -12,6 +12,7 @@
#include <soc/msr.h>
#include <soc/pci_devs.h>
#include <soc/systemagent.h>
+#include <static.h>
#include <types.h>
#include "chip.h"
diff --git a/src/soc/intel/tigerlake/acpi.c b/src/soc/intel/tigerlake/acpi.c
index c34b185515..dd9ef731a3 100644
--- a/src/soc/intel/tigerlake/acpi.c
+++ b/src/soc/intel/tigerlake/acpi.c
@@ -19,6 +19,7 @@
#include <soc/pm.h>
#include <soc/soc_chip.h>
#include <soc/systemagent.h>
+#include <static.h>
/*
* List of supported C-states in this processor.
diff --git a/src/soc/intel/tigerlake/bootblock/pch.c b/src/soc/intel/tigerlake/bootblock/pch.c
index 64e8b2e64c..084bd7fc6e 100644
--- a/src/soc/intel/tigerlake/bootblock/pch.c
+++ b/src/soc/intel/tigerlake/bootblock/pch.c
@@ -27,6 +27,7 @@
#include <soc/pci_devs.h>
#include <soc/pcr_ids.h>
#include <soc/pm.h>
+#include <static.h>
#if CONFIG(SOC_INTEL_TIGERLAKE_PCH_H)
#define PCR_PSF3_TO_SHDW_PMC_REG_BASE 0x1000
diff --git a/src/soc/intel/tigerlake/chip.c b/src/soc/intel/tigerlake/chip.c
index f90f8adbc2..f2ccb48c08 100644
--- a/src/soc/intel/tigerlake/chip.c
+++ b/src/soc/intel/tigerlake/chip.c
@@ -16,6 +16,7 @@
#include <soc/pci_devs.h>
#include <soc/ramstage.h>
#include <soc/soc_chip.h>
+#include <static.h>
#if CONFIG(HAVE_ACPI_TABLES)
const char *soc_acpi_name(const struct device *dev)
diff --git a/src/soc/intel/tigerlake/cpu.c b/src/soc/intel/tigerlake/cpu.c
index 3d0f0e90ad..0c6f36e875 100644
--- a/src/soc/intel/tigerlake/cpu.c
+++ b/src/soc/intel/tigerlake/cpu.c
@@ -20,6 +20,7 @@
#include <soc/msr.h>
#include <soc/pci_devs.h>
#include <soc/soc_chip.h>
+#include <static.h>
#include <types.h>
bool cpu_soc_is_in_untrusted_mode(void)
diff --git a/src/soc/intel/tigerlake/espi.c b/src/soc/intel/tigerlake/espi.c
index 6ef7c6d92d..3b56e290d1 100644
--- a/src/soc/intel/tigerlake/espi.c
+++ b/src/soc/intel/tigerlake/espi.c
@@ -20,6 +20,7 @@
#include <soc/pci_devs.h>
#include <soc/pcr_ids.h>
#include <soc/soc_chip.h>
+#include <static.h>
void soc_get_gen_io_dec_range(uint32_t gen_io_dec[LPC_NUM_GENERIC_IO_RANGES])
{
diff --git a/src/soc/intel/tigerlake/fsp_params.c b/src/soc/intel/tigerlake/fsp_params.c
index fa95e479b6..c3400b45c9 100644
--- a/src/soc/intel/tigerlake/fsp_params.c
+++ b/src/soc/intel/tigerlake/fsp_params.c
@@ -27,6 +27,7 @@
#include <soc/ramstage.h>
#include <soc/soc_chip.h>
#include <soc/tcss.h>
+#include <static.h>
#include <string.h>
#include <types.h>
diff --git a/src/soc/intel/tigerlake/pmc.c b/src/soc/intel/tigerlake/pmc.c
index 0bba1a0040..8912cb3c63 100644
--- a/src/soc/intel/tigerlake/pmc.c
+++ b/src/soc/intel/tigerlake/pmc.c
@@ -20,6 +20,7 @@
#include <soc/pci_devs.h>
#include <soc/pm.h>
#include <soc/soc_chip.h>
+#include <static.h>
#include <bootstate.h>
#define PMC_HID "INTC1026"
diff --git a/src/soc/intel/tigerlake/pmutil.c b/src/soc/intel/tigerlake/pmutil.c
index ba33e4984a..cd22942bd7 100644
--- a/src/soc/intel/tigerlake/pmutil.c
+++ b/src/soc/intel/tigerlake/pmutil.c
@@ -30,6 +30,7 @@
#include <soc/smbus.h>
#include <soc/soc_chip.h>
#include <security/vboot/vbnv.h>
+#include <static.h>
/*
* SMI
diff --git a/src/soc/intel/tigerlake/romstage/fsp_params.c b/src/soc/intel/tigerlake/romstage/fsp_params.c
index 00b5315afc..5ebd46dd75 100644
--- a/src/soc/intel/tigerlake/romstage/fsp_params.c
+++ b/src/soc/intel/tigerlake/romstage/fsp_params.c
@@ -16,6 +16,7 @@
#include <soc/pci_devs.h>
#include <soc/romstage.h>
#include <soc/soc_chip.h>
+#include <static.h>
#include <string.h>
static void soc_memory_init_params(FSP_M_CONFIG *m_cfg,
diff --git a/src/soc/intel/tigerlake/systemagent.c b/src/soc/intel/tigerlake/systemagent.c
index 06282eaaba..143fd72fd2 100644
--- a/src/soc/intel/tigerlake/systemagent.c
+++ b/src/soc/intel/tigerlake/systemagent.c
@@ -17,6 +17,7 @@
#include <soc/iomap.h>
#include <soc/soc_chip.h>
#include <soc/systemagent.h>
+#include <static.h>
/*
* SoC implementation
diff --git a/src/soc/intel/xeon_sp/acpi.c b/src/soc/intel/xeon_sp/acpi.c
index 8d74240bd3..916e2df646 100644
--- a/src/soc/intel/xeon_sp/acpi.c
+++ b/src/soc/intel/xeon_sp/acpi.c
@@ -9,6 +9,7 @@
#include <soc/pci_devs.h>
#include <soc/util.h>
#include <southbridge/intel/common/acpi_pirq_gen.h>
+#include <static.h>
#include <stdint.h>
#include <stdio.h>
#include <stdlib.h>
diff --git a/src/soc/intel/xeon_sp/cpx/romstage.c b/src/soc/intel/xeon_sp/cpx/romstage.c
index 2a85032284..ffcb052076 100644
--- a/src/soc/intel/xeon_sp/cpx/romstage.c
+++ b/src/soc/intel/xeon_sp/cpx/romstage.c
@@ -13,6 +13,7 @@
#include <soc/pci_devs.h>
#include <soc/intel/common/smbios.h>
#include <soc/soc_util.h>
+#include <static.h>
#include <string.h>
#include "chip.h"
diff --git a/src/soc/intel/xeon_sp/lpc.c b/src/soc/intel/xeon_sp/lpc.c
index bf1deddc36..1b44dddd36 100644
--- a/src/soc/intel/xeon_sp/lpc.c
+++ b/src/soc/intel/xeon_sp/lpc.c
@@ -4,6 +4,7 @@
#include <intelblocks/lpc_lib.h>
#include <soc/iomap.h>
#include <soc/pcr_ids.h>
+#include <static.h>
#include <chip.h>
diff --git a/src/soc/intel/xeon_sp/skx/romstage.c b/src/soc/intel/xeon_sp/skx/romstage.c
index 4a8c6b0a48..21b35229bd 100644
--- a/src/soc/intel/xeon_sp/skx/romstage.c
+++ b/src/soc/intel/xeon_sp/skx/romstage.c
@@ -4,6 +4,7 @@
#include <intelblocks/rtc.h>
#include <soc/romstage.h>
#include <soc/soc_util.h>
+#include <static.h>
#include "chip.h"
diff --git a/src/soc/intel/xeon_sp/spr/romstage.c b/src/soc/intel/xeon_sp/spr/romstage.c
index 4d95a33365..4438a594bb 100644
--- a/src/soc/intel/xeon_sp/spr/romstage.c
+++ b/src/soc/intel/xeon_sp/spr/romstage.c
@@ -18,6 +18,7 @@
#include <soc/romstage.h>
#include <soc/pci_devs.h>
#include <soc/soc_pch.h>
+#include <static.h>
#include <string.h>
#include <soc/config.h>
#include <soc/soc_util.h>