summaryrefslogtreecommitdiff
path: root/src/soc/intel/pantherlake
diff options
context:
space:
mode:
authorNicholas Chin <nic.c3.14@gmail.com>2024-09-29 18:45:45 -0600
committerFelix Singer <service+coreboot-gerrit@felixsinger.de>2024-11-10 10:35:35 +0000
commit2834090e9921c755cb0fd263c941db70f0d1fcde (patch)
treef5566b3a6237140eb4df9524fd26a64559e9ecbf /src/soc/intel/pantherlake
parentf8d4283e78d2df2d63ba8994395b2fc0ee2c84bc (diff)
soc/intel/mtl to xeon_sp: Explicitly include static.h for config_of_soc
As per commit 865173153760 ("sconfig: Move config_of_soc from device.h to static.h"), sources that require access to the devicetree should directly include static.h so that it can be removed from device.h, eliminating unnecessary dependencies on static.h for files that only need the types and function declarations in device.h. Change-Id: I3c118a707dfe7bb8932606f30eae52ef0b4c9efe Signed-off-by: Nicholas Chin <nic.c3.14@gmail.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/84609 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Felix Singer <service+coreboot-gerrit@felixsinger.de>
Diffstat (limited to 'src/soc/intel/pantherlake')
-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
9 files changed, 9 insertions, 0 deletions
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