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/skylake | |
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/skylake')
-rw-r--r-- | src/soc/intel/skylake/acpi.c | 1 | ||||
-rw-r--r-- | src/soc/intel/skylake/bootblock/pch.c | 1 | ||||
-rw-r--r-- | src/soc/intel/skylake/chip.c | 1 | ||||
-rw-r--r-- | src/soc/intel/skylake/cpu.c | 1 | ||||
-rw-r--r-- | src/soc/intel/skylake/fadt.c | 1 | ||||
-rw-r--r-- | src/soc/intel/skylake/lpc.c | 1 | ||||
-rw-r--r-- | src/soc/intel/skylake/pmc.c | 1 | ||||
-rw-r--r-- | src/soc/intel/skylake/pmutil.c | 1 | ||||
-rw-r--r-- | src/soc/intel/skylake/romstage/fsp_params.c | 1 | ||||
-rw-r--r-- | src/soc/intel/skylake/systemagent.c | 1 |
10 files changed, 10 insertions, 0 deletions
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" |