diff options
author | Nicholas Chin <nic.c3.14@gmail.com> | 2024-09-29 18:45:45 -0600 |
---|---|---|
committer | Felix Singer <service+coreboot-gerrit@felixsinger.de> | 2024-11-10 10:35:35 +0000 |
commit | 2834090e9921c755cb0fd263c941db70f0d1fcde (patch) | |
tree | f5566b3a6237140eb4df9524fd26a64559e9ecbf /src/soc/intel/tigerlake | |
parent | f8d4283e78d2df2d63ba8994395b2fc0ee2c84bc (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/tigerlake')
-rw-r--r-- | src/soc/intel/tigerlake/acpi.c | 1 | ||||
-rw-r--r-- | src/soc/intel/tigerlake/bootblock/pch.c | 1 | ||||
-rw-r--r-- | src/soc/intel/tigerlake/chip.c | 1 | ||||
-rw-r--r-- | src/soc/intel/tigerlake/cpu.c | 1 | ||||
-rw-r--r-- | src/soc/intel/tigerlake/espi.c | 1 | ||||
-rw-r--r-- | src/soc/intel/tigerlake/fsp_params.c | 1 | ||||
-rw-r--r-- | src/soc/intel/tigerlake/pmc.c | 1 | ||||
-rw-r--r-- | src/soc/intel/tigerlake/pmutil.c | 1 | ||||
-rw-r--r-- | src/soc/intel/tigerlake/romstage/fsp_params.c | 1 | ||||
-rw-r--r-- | src/soc/intel/tigerlake/systemagent.c | 1 |
10 files changed, 10 insertions, 0 deletions
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 |