summaryrefslogtreecommitdiff
path: root/src/soc
diff options
context:
space:
mode:
Diffstat (limited to 'src/soc')
-rw-r--r--src/soc/intel/alderlake/acpi.c1
-rw-r--r--src/soc/intel/alderlake/chip.c1
-rw-r--r--src/soc/intel/alderlake/cpu.c1
-rw-r--r--src/soc/intel/alderlake/espi.c1
-rw-r--r--src/soc/intel/alderlake/finalize.c1
-rw-r--r--src/soc/intel/alderlake/fsp_params.c1
-rw-r--r--src/soc/intel/alderlake/pmc.c1
-rw-r--r--src/soc/intel/alderlake/pmutil.c1
-rw-r--r--src/soc/intel/alderlake/romstage/fsp_params.c1
-rw-r--r--src/soc/intel/alderlake/romstage/graphics.c1
-rw-r--r--src/soc/intel/alderlake/systemagent.c1
-rw-r--r--src/soc/intel/apollolake/acpi.c1
-rw-r--r--src/soc/intel/apollolake/bootblock/bootblock.c1
-rw-r--r--src/soc/intel/apollolake/chip.c1
-rw-r--r--src/soc/intel/apollolake/lpc.c1
-rw-r--r--src/soc/intel/apollolake/pmutil.c1
-rw-r--r--src/soc/intel/apollolake/pnpconfig.c1
-rw-r--r--src/soc/intel/baytrail/romstage/pmc.c1
-rw-r--r--src/soc/intel/broadwell/pei_data.c1
-rw-r--r--src/soc/intel/cannonlake/acpi.c1
-rw-r--r--src/soc/intel/cannonlake/cpu.c1
-rw-r--r--src/soc/intel/cannonlake/finalize.c1
-rw-r--r--src/soc/intel/cannonlake/fsp_params.c1
-rw-r--r--src/soc/intel/cannonlake/gpio_common.c1
-rw-r--r--src/soc/intel/cannonlake/lpc.c1
-rw-r--r--src/soc/intel/cannonlake/pmc.c1
-rw-r--r--src/soc/intel/cannonlake/pmutil.c1
-rw-r--r--src/soc/intel/cannonlake/systemagent.c1
-rw-r--r--src/soc/intel/cannonlake/vr_config.c1
-rw-r--r--src/soc/intel/common/block/chip/chip.c1
-rw-r--r--src/soc/intel/common/block/cpu/cpulib.c1
-rw-r--r--src/soc/intel/common/block/power_limit/power_limit.c1
-rw-r--r--src/soc/intel/elkhartlake/acpi.c1
-rw-r--r--src/soc/intel/elkhartlake/chip.c1
-rw-r--r--src/soc/intel/elkhartlake/cpu.c1
-rw-r--r--src/soc/intel/elkhartlake/espi.c1
-rw-r--r--src/soc/intel/elkhartlake/fsp_params.c1
-rw-r--r--src/soc/intel/elkhartlake/pmc.c1
-rw-r--r--src/soc/intel/elkhartlake/pmutil.c1
-rw-r--r--src/soc/intel/elkhartlake/romstage/fsp_params.c1
-rw-r--r--src/soc/intel/elkhartlake/systemagent.c1
-rw-r--r--src/soc/intel/jasperlake/acpi.c1
-rw-r--r--src/soc/intel/jasperlake/chip.c1
-rw-r--r--src/soc/intel/jasperlake/cpu.c1
-rw-r--r--src/soc/intel/jasperlake/espi.c1
-rw-r--r--src/soc/intel/jasperlake/finalize.c1
-rw-r--r--src/soc/intel/jasperlake/fsp_params.c1
-rw-r--r--src/soc/intel/jasperlake/pmc.c1
-rw-r--r--src/soc/intel/jasperlake/pmutil.c1
-rw-r--r--src/soc/intel/jasperlake/romstage/fsp_params.c1
-rw-r--r--src/soc/intel/jasperlake/systemagent.c1
-rw-r--r--src/soc/intel/jasperlake/xhci.c1
52 files changed, 52 insertions, 0 deletions
diff --git a/src/soc/intel/alderlake/acpi.c b/src/soc/intel/alderlake/acpi.c
index dcf8a7cf1e..ba3a5bcd1e 100644
--- a/src/soc/intel/alderlake/acpi.c
+++ b/src/soc/intel/alderlake/acpi.c
@@ -19,6 +19,7 @@
#include <soc/pm.h>
#include <soc/soc_chip.h>
#include <soc/systemagent.h>
+#include <static.h>
#include <cpu/cpu.h>
#include <types.h>
diff --git a/src/soc/intel/alderlake/chip.c b/src/soc/intel/alderlake/chip.c
index 23a05ded7a..0256de4f82 100644
--- a/src/soc/intel/alderlake/chip.c
+++ b/src/soc/intel/alderlake/chip.c
@@ -20,6 +20,7 @@
#include <soc/pcie.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/alderlake/cpu.c b/src/soc/intel/alderlake/cpu.c
index 255082f1f8..00c683c654 100644
--- a/src/soc/intel/alderlake/cpu.c
+++ b/src/soc/intel/alderlake/cpu.c
@@ -24,6 +24,7 @@
#include <soc/msr.h>
#include <soc/pci_devs.h>
#include <soc/soc_chip.h>
+#include <static.h>
#include <types.h>
enum alderlake_model {
diff --git a/src/soc/intel/alderlake/espi.c b/src/soc/intel/alderlake/espi.c
index 4fd78ee0e2..bdc41a6a30 100644
--- a/src/soc/intel/alderlake/espi.c
+++ b/src/soc/intel/alderlake/espi.c
@@ -19,6 +19,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/alderlake/finalize.c b/src/soc/intel/alderlake/finalize.c
index 460c8af174..700fde977b 100644
--- a/src/soc/intel/alderlake/finalize.c
+++ b/src/soc/intel/alderlake/finalize.c
@@ -26,6 +26,7 @@
#include <soc/soc_chip.h>
#include <soc/systemagent.h>
#include <spi-generic.h>
+#include <static.h>
#define CAMERA1_CLK 0x8000 /* Camera 1 Clock */
#define CAMERA2_CLK 0x8080 /* Camera 2 Clock */
diff --git a/src/soc/intel/alderlake/fsp_params.c b/src/soc/intel/alderlake/fsp_params.c
index a59be35dd2..7e6be27a60 100644
--- a/src/soc/intel/alderlake/fsp_params.c
+++ b/src/soc/intel/alderlake/fsp_params.c
@@ -32,6 +32,7 @@
#include <soc/pcie.h>
#include <soc/ramstage.h>
#include <soc/soc_chip.h>
+#include <static.h>
#include <stdlib.h>
#include <string.h>
#include <types.h>
diff --git a/src/soc/intel/alderlake/pmc.c b/src/soc/intel/alderlake/pmc.c
index f0b35dbb9d..8930a06251 100644
--- a/src/soc/intel/alderlake/pmc.c
+++ b/src/soc/intel/alderlake/pmc.c
@@ -20,6 +20,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/alderlake/pmutil.c b/src/soc/intel/alderlake/pmutil.c
index 54e9107d59..050fd5bf88 100644
--- a/src/soc/intel/alderlake/pmutil.c
+++ b/src/soc/intel/alderlake/pmutil.c
@@ -30,6 +30,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/alderlake/romstage/fsp_params.c b/src/soc/intel/alderlake/romstage/fsp_params.c
index 969e15f51a..fc9721c665 100644
--- a/src/soc/intel/alderlake/romstage/fsp_params.c
+++ b/src/soc/intel/alderlake/romstage/fsp_params.c
@@ -22,6 +22,7 @@
#include <soc/pcie.h>
#include <soc/romstage.h>
#include <soc/soc_chip.h>
+#include <static.h>
#include <string.h>
#include "ux.h"
diff --git a/src/soc/intel/alderlake/romstage/graphics.c b/src/soc/intel/alderlake/romstage/graphics.c
index 4dd3b30731..87f43735fa 100644
--- a/src/soc/intel/alderlake/romstage/graphics.c
+++ b/src/soc/intel/alderlake/romstage/graphics.c
@@ -4,6 +4,7 @@
#include <drivers/intel/gma/i915_reg.h>
#include <intelblocks/early_graphics.h>
#include <soc/soc_chip.h>
+#include <static.h>
void early_graphics_soc_panel_init(void)
{
diff --git a/src/soc/intel/alderlake/systemagent.c b/src/soc/intel/alderlake/systemagent.c
index b08e3a363c..be0c6996a4 100644
--- a/src/soc/intel/alderlake/systemagent.c
+++ b/src/soc/intel/alderlake/systemagent.c
@@ -19,6 +19,7 @@
#include <soc/soc_chip.h>
#include <soc/systemagent.h>
#include <spi_flash.h>
+#include <static.h>
#include <stddef.h>
/*
diff --git a/src/soc/intel/apollolake/acpi.c b/src/soc/intel/apollolake/acpi.c
index c9f76ebe11..74cd51a9ee 100644
--- a/src/soc/intel/apollolake/acpi.c
+++ b/src/soc/intel/apollolake/acpi.c
@@ -19,6 +19,7 @@
#include <soc/nvs.h>
#include <soc/pci_devs.h>
#include <soc/systemagent.h>
+#include <static.h>
#include "chip.h"
diff --git a/src/soc/intel/apollolake/bootblock/bootblock.c b/src/soc/intel/apollolake/bootblock/bootblock.c
index cd938c54bb..090bd5071d 100644
--- a/src/soc/intel/apollolake/bootblock/bootblock.c
+++ b/src/soc/intel/apollolake/bootblock/bootblock.c
@@ -22,6 +22,7 @@
#include <soc/pci_devs.h>
#include <soc/pm.h>
#include <spi-generic.h>
+#include <static.h>
static const struct pad_config tpm_spi_configs[] = {
#if CONFIG(SOC_INTEL_GEMINILAKE)
diff --git a/src/soc/intel/apollolake/chip.c b/src/soc/intel/apollolake/chip.c
index 1d15eecc63..ab5b5d884d 100644
--- a/src/soc/intel/apollolake/chip.c
+++ b/src/soc/intel/apollolake/chip.c
@@ -35,6 +35,7 @@
#include <soc/pm.h>
#include <soc/systemagent.h>
#include <spi-generic.h>
+#include <static.h>
#include <timer.h>
#include <soc/ramstage.h>
#include <soc/soc_chip.h>
diff --git a/src/soc/intel/apollolake/lpc.c b/src/soc/intel/apollolake/lpc.c
index 21a0f44963..c7a57c8f9d 100644
--- a/src/soc/intel/apollolake/lpc.c
+++ b/src/soc/intel/apollolake/lpc.c
@@ -6,6 +6,7 @@
#include <soc/pcr_ids.h>
#include <soc/pm.h>
#include <soc/intel/common/block/lpc/lpc_def.h>
+#include <static.h>
#include "chip.h"
void soc_get_gen_io_dec_range(uint32_t gen_io_dec[LPC_NUM_GENERIC_IO_RANGES])
diff --git a/src/soc/intel/apollolake/pmutil.c b/src/soc/intel/apollolake/pmutil.c
index 1ed90c1519..8d9af926d6 100644
--- a/src/soc/intel/apollolake/pmutil.c
+++ b/src/soc/intel/apollolake/pmutil.c
@@ -19,6 +19,7 @@
#include <soc/pm.h>
#include <soc/smbus.h>
#include <security/vboot/vbnv.h>
+#include <static.h>
#include "chip.h"
diff --git a/src/soc/intel/apollolake/pnpconfig.c b/src/soc/intel/apollolake/pnpconfig.c
index ebc1880778..0c7286573e 100644
--- a/src/soc/intel/apollolake/pnpconfig.c
+++ b/src/soc/intel/apollolake/pnpconfig.c
@@ -5,6 +5,7 @@
#include <intelblocks/pcr.h>
#include <soc/pci_devs.h>
#include <soc/pnpconfig.h>
+#include <static.h>
#include "chip.h"
static const struct pnpconfig perf[] = {
diff --git a/src/soc/intel/baytrail/romstage/pmc.c b/src/soc/intel/baytrail/romstage/pmc.c
index be058d013b..46e36c7c48 100644
--- a/src/soc/intel/baytrail/romstage/pmc.c
+++ b/src/soc/intel/baytrail/romstage/pmc.c
@@ -11,6 +11,7 @@
#include <soc/pci_devs.h>
#include <soc/pm.h>
#include <soc/romstage.h>
+#include <static.h>
#include "../chip.h"
/* This sequence signals the PUNIT to start running. */
diff --git a/src/soc/intel/broadwell/pei_data.c b/src/soc/intel/broadwell/pei_data.c
index db33966c4c..4853294e90 100644
--- a/src/soc/intel/broadwell/pei_data.c
+++ b/src/soc/intel/broadwell/pei_data.c
@@ -6,6 +6,7 @@
#include <soc/pei_data.h>
#include <soc/pei_wrapper.h>
#include <soc/intel/broadwell/chip.h>
+#include <static.h>
static void ABI_X86 send_to_console(unsigned char b)
{
diff --git a/src/soc/intel/cannonlake/acpi.c b/src/soc/intel/cannonlake/acpi.c
index 1fd16e9472..3b2a57cd9c 100644
--- a/src/soc/intel/cannonlake/acpi.c
+++ b/src/soc/intel/cannonlake/acpi.c
@@ -18,6 +18,7 @@
#include <soc/pci_devs.h>
#include <soc/pm.h>
#include <soc/systemagent.h>
+#include <static.h>
#include "chip.h"
diff --git a/src/soc/intel/cannonlake/cpu.c b/src/soc/intel/cannonlake/cpu.c
index 53757f52ca..888db5cdff 100644
--- a/src/soc/intel/cannonlake/cpu.c
+++ b/src/soc/intel/cannonlake/cpu.c
@@ -15,6 +15,7 @@
#include <cpu/x86/mtrr.h>
#include <cpu/intel/microcode.h>
#include <cpu/intel/common/common.h>
+#include <static.h>
#include <types.h>
#include "chip.h"
diff --git a/src/soc/intel/cannonlake/finalize.c b/src/soc/intel/cannonlake/finalize.c
index 116883c9a3..974794bd97 100644
--- a/src/soc/intel/cannonlake/finalize.c
+++ b/src/soc/intel/cannonlake/finalize.c
@@ -21,6 +21,7 @@
#include <soc/smbus.h>
#include <soc/systemagent.h>
#include <spi-generic.h>
+#include <static.h>
#include "chip.h"
diff --git a/src/soc/intel/cannonlake/fsp_params.c b/src/soc/intel/cannonlake/fsp_params.c
index e1eede2066..a6c139058e 100644
--- a/src/soc/intel/cannonlake/fsp_params.c
+++ b/src/soc/intel/cannonlake/fsp_params.c
@@ -16,6 +16,7 @@
#include <soc/intel/common/vbt.h>
#include <soc/pci_devs.h>
#include <soc/ramstage.h>
+#include <static.h>
#include <string.h>
#include <types.h>
diff --git a/src/soc/intel/cannonlake/gpio_common.c b/src/soc/intel/cannonlake/gpio_common.c
index 68a6bedbc0..7c0457edd3 100644
--- a/src/soc/intel/cannonlake/gpio_common.c
+++ b/src/soc/intel/cannonlake/gpio_common.c
@@ -2,6 +2,7 @@
#include <gpio.h>
#include <soc/soc_chip.h>
+#include <static.h>
/*
* Routine to perform below operations:
diff --git a/src/soc/intel/cannonlake/lpc.c b/src/soc/intel/cannonlake/lpc.c
index 8bc30da007..007c72282b 100644
--- a/src/soc/intel/cannonlake/lpc.c
+++ b/src/soc/intel/cannonlake/lpc.c
@@ -13,6 +13,7 @@
#include <soc/lpc.h>
#include <soc/pci_devs.h>
#include <soc/pcr_ids.h>
+#include <static.h>
#include "chip.h"
diff --git a/src/soc/intel/cannonlake/pmc.c b/src/soc/intel/cannonlake/pmc.c
index 2a3f832713..578f9f843b 100644
--- a/src/soc/intel/cannonlake/pmc.c
+++ b/src/soc/intel/cannonlake/pmc.c
@@ -10,6 +10,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/cannonlake/pmutil.c b/src/soc/intel/cannonlake/pmutil.c
index 681068d5f3..ed0aecec2c 100644
--- a/src/soc/intel/cannonlake/pmutil.c
+++ b/src/soc/intel/cannonlake/pmutil.c
@@ -23,6 +23,7 @@
#include <soc/pm.h>
#include <soc/smbus.h>
#include <security/vboot/vbnv.h>
+#include <static.h>
#include "chip.h"
diff --git a/src/soc/intel/cannonlake/systemagent.c b/src/soc/intel/cannonlake/systemagent.c
index a2bea45bf9..5cb3418ed6 100644
--- a/src/soc/intel/cannonlake/systemagent.c
+++ b/src/soc/intel/cannonlake/systemagent.c
@@ -9,6 +9,7 @@
#include <soc/cpu.h>
#include <soc/iomap.h>
#include <soc/systemagent.h>
+#include <static.h>
#include "chip.h"
/*
diff --git a/src/soc/intel/cannonlake/vr_config.c b/src/soc/intel/cannonlake/vr_config.c
index a01a455240..6ab645727f 100644
--- a/src/soc/intel/cannonlake/vr_config.c
+++ b/src/soc/intel/cannonlake/vr_config.c
@@ -5,6 +5,7 @@
#include <fsp/api.h>
#include <soc/ramstage.h>
#include <soc/vr_config.h>
+#include <static.h>
#include <console/console.h>
#include <intelblocks/cpulib.h>
diff --git a/src/soc/intel/common/block/chip/chip.c b/src/soc/intel/common/block/chip/chip.c
index 29d9f50874..1983000ab1 100644
--- a/src/soc/intel/common/block/chip/chip.c
+++ b/src/soc/intel/common/block/chip/chip.c
@@ -1,6 +1,7 @@
/* SPDX-License-Identifier: GPL-2.0-only */
#include <soc/soc_chip.h>
+#include <static.h>
struct soc_intel_common_config *chip_get_common_soc_structure(void)
{
diff --git a/src/soc/intel/common/block/cpu/cpulib.c b/src/soc/intel/common/block/cpu/cpulib.c
index 0a9de869ff..1770167d69 100644
--- a/src/soc/intel/common/block/cpu/cpulib.c
+++ b/src/soc/intel/common/block/cpu/cpulib.c
@@ -13,6 +13,7 @@
#include <intelblocks/msr.h>
#include <smp/node.h>
#include <soc/soc_chip.h>
+#include <static.h>
#include <types.h>
#define CPUID_PROCESSOR_FREQUENCY 0X16
diff --git a/src/soc/intel/common/block/power_limit/power_limit.c b/src/soc/intel/common/block/power_limit/power_limit.c
index adf391fae7..40a0857dcb 100644
--- a/src/soc/intel/common/block/power_limit/power_limit.c
+++ b/src/soc/intel/common/block/power_limit/power_limit.c
@@ -10,6 +10,7 @@
#include <soc/pci_devs.h>
#include <soc/soc_chip.h>
#include <soc/systemagent.h>
+#include <static.h>
/* Convert time in seconds to POWER_LIMIT_1_TIME MSR value */
static const u8 power_limit_time_sec_to_msr[] = {
diff --git a/src/soc/intel/elkhartlake/acpi.c b/src/soc/intel/elkhartlake/acpi.c
index 8e9c9bee54..deba47e0f6 100644
--- a/src/soc/intel/elkhartlake/acpi.c
+++ b/src/soc/intel/elkhartlake/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/elkhartlake/chip.c b/src/soc/intel/elkhartlake/chip.c
index 138d625785..1cda678d07 100644
--- a/src/soc/intel/elkhartlake/chip.c
+++ b/src/soc/intel/elkhartlake/chip.c
@@ -16,6 +16,7 @@
#include <soc/pcie.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/elkhartlake/cpu.c b/src/soc/intel/elkhartlake/cpu.c
index 49e418a4b5..4e85d01840 100644
--- a/src/soc/intel/elkhartlake/cpu.c
+++ b/src/soc/intel/elkhartlake/cpu.c
@@ -14,6 +14,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/elkhartlake/espi.c b/src/soc/intel/elkhartlake/espi.c
index 15bf932e57..de2a84f8f0 100644
--- a/src/soc/intel/elkhartlake/espi.c
+++ b/src/soc/intel/elkhartlake/espi.c
@@ -14,6 +14,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/elkhartlake/fsp_params.c b/src/soc/intel/elkhartlake/fsp_params.c
index 90d1823f50..7b715f83d9 100644
--- a/src/soc/intel/elkhartlake/fsp_params.c
+++ b/src/soc/intel/elkhartlake/fsp_params.c
@@ -15,6 +15,7 @@
#include <soc/pci_devs.h>
#include <soc/ramstage.h>
#include <soc/soc_chip.h>
+#include <static.h>
#include <types.h>
/* SATA DEVSLP idle timeout default values */
diff --git a/src/soc/intel/elkhartlake/pmc.c b/src/soc/intel/elkhartlake/pmc.c
index e3e4ec0517..567f50d18e 100644
--- a/src/soc/intel/elkhartlake/pmc.c
+++ b/src/soc/intel/elkhartlake/pmc.c
@@ -11,6 +11,7 @@
#include <soc/pci_devs.h>
#include <soc/pm.h>
#include <soc/soc_chip.h>
+#include <static.h>
static void config_deep_sX(uint32_t offset, uint32_t mask, int sx, int enable)
{
diff --git a/src/soc/intel/elkhartlake/pmutil.c b/src/soc/intel/elkhartlake/pmutil.c
index c9ae847b72..2618798f38 100644
--- a/src/soc/intel/elkhartlake/pmutil.c
+++ b/src/soc/intel/elkhartlake/pmutil.c
@@ -24,6 +24,7 @@
#include <soc/pm.h>
#include <soc/smbus.h>
#include <soc/soc_chip.h>
+#include <static.h>
/*
* SMI
diff --git a/src/soc/intel/elkhartlake/romstage/fsp_params.c b/src/soc/intel/elkhartlake/romstage/fsp_params.c
index cebc48d265..d05a94d2aa 100644
--- a/src/soc/intel/elkhartlake/romstage/fsp_params.c
+++ b/src/soc/intel/elkhartlake/romstage/fsp_params.c
@@ -11,6 +11,7 @@
#include <soc/pcie.h>
#include <soc/romstage.h>
#include <soc/soc_chip.h>
+#include <static.h>
/* ISA Serial Base selection. */
enum {
diff --git a/src/soc/intel/elkhartlake/systemagent.c b/src/soc/intel/elkhartlake/systemagent.c
index 9eadf89c57..ee29f50505 100644
--- a/src/soc/intel/elkhartlake/systemagent.c
+++ b/src/soc/intel/elkhartlake/systemagent.c
@@ -9,6 +9,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/jasperlake/acpi.c b/src/soc/intel/jasperlake/acpi.c
index 5e432a95de..d81c6b8a3c 100644
--- a/src/soc/intel/jasperlake/acpi.c
+++ b/src/soc/intel/jasperlake/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/jasperlake/chip.c b/src/soc/intel/jasperlake/chip.c
index 6b4c74c416..e1f6099127 100644
--- a/src/soc/intel/jasperlake/chip.c
+++ b/src/soc/intel/jasperlake/chip.c
@@ -16,6 +16,7 @@
#include <soc/pcie.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/jasperlake/cpu.c b/src/soc/intel/jasperlake/cpu.c
index 8dd2682fbb..d01f1d7471 100644
--- a/src/soc/intel/jasperlake/cpu.c
+++ b/src/soc/intel/jasperlake/cpu.c
@@ -14,6 +14,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/jasperlake/espi.c b/src/soc/intel/jasperlake/espi.c
index 352b3785e1..dfa3b19f9a 100644
--- a/src/soc/intel/jasperlake/espi.c
+++ b/src/soc/intel/jasperlake/espi.c
@@ -14,6 +14,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/jasperlake/finalize.c b/src/soc/intel/jasperlake/finalize.c
index 6cff7a80f3..8788db155d 100644
--- a/src/soc/intel/jasperlake/finalize.c
+++ b/src/soc/intel/jasperlake/finalize.c
@@ -19,6 +19,7 @@
#include <soc/soc_chip.h>
#include <soc/systemagent.h>
#include <spi-generic.h>
+#include <static.h>
#define CAMERA1_CLK 0x8000 /* Camera 1 Clock */
#define CAMERA2_CLK 0x8080 /* Camera 2 Clock */
diff --git a/src/soc/intel/jasperlake/fsp_params.c b/src/soc/intel/jasperlake/fsp_params.c
index 50fc13632d..85664ce18b 100644
--- a/src/soc/intel/jasperlake/fsp_params.c
+++ b/src/soc/intel/jasperlake/fsp_params.c
@@ -14,6 +14,7 @@
#include <soc/pci_devs.h>
#include <soc/ramstage.h>
#include <soc/soc_chip.h>
+#include <static.h>
#include <string.h>
#include <types.h>
diff --git a/src/soc/intel/jasperlake/pmc.c b/src/soc/intel/jasperlake/pmc.c
index cb18fde2eb..dccf7c7766 100644
--- a/src/soc/intel/jasperlake/pmc.c
+++ b/src/soc/intel/jasperlake/pmc.c
@@ -11,6 +11,7 @@
#include <soc/pci_devs.h>
#include <soc/pm.h>
#include <soc/soc_chip.h>
+#include <static.h>
static void config_deep_sX(uint32_t offset, uint32_t mask, int sx, int enable)
{
diff --git a/src/soc/intel/jasperlake/pmutil.c b/src/soc/intel/jasperlake/pmutil.c
index 855e9b342a..f94232a98a 100644
--- a/src/soc/intel/jasperlake/pmutil.c
+++ b/src/soc/intel/jasperlake/pmutil.c
@@ -24,6 +24,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/jasperlake/romstage/fsp_params.c b/src/soc/intel/jasperlake/romstage/fsp_params.c
index a5750279db..0d9710eb79 100644
--- a/src/soc/intel/jasperlake/romstage/fsp_params.c
+++ b/src/soc/intel/jasperlake/romstage/fsp_params.c
@@ -11,6 +11,7 @@
#include <soc/pcie.h>
#include <soc/romstage.h>
#include <soc/soc_chip.h>
+#include <static.h>
static void soc_memory_init_params(FSP_M_CONFIG *m_cfg,
const struct soc_intel_jasperlake_config *config)
diff --git a/src/soc/intel/jasperlake/systemagent.c b/src/soc/intel/jasperlake/systemagent.c
index f0e9d44bbb..d2a64dddf7 100644
--- a/src/soc/intel/jasperlake/systemagent.c
+++ b/src/soc/intel/jasperlake/systemagent.c
@@ -11,6 +11,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/jasperlake/xhci.c b/src/soc/intel/jasperlake/xhci.c
index 49f919d78f..55ed9c789a 100644
--- a/src/soc/intel/jasperlake/xhci.c
+++ b/src/soc/intel/jasperlake/xhci.c
@@ -4,6 +4,7 @@
#include <device/mmio.h>
#include <intelblocks/xhci.h>
#include <soc/soc_chip.h>
+#include <static.h>
#define XHCI_USB2_PORT_STATUS_REG 0x480
#define XHCI_USB3_PORT_STATUS_REG 0x500