diff options
author | Nicholas Chin <nic.c3.14@gmail.com> | 2024-09-29 18:45:45 -0600 |
---|---|---|
committer | Martin L Roth <gaumless@gmail.com> | 2024-10-07 20:33:49 +0000 |
commit | 6ca36baebc3ec2d3c59d2fd2536b6a5d81c23241 (patch) | |
tree | 9c39af09caff3495775f636be09a4f331bbf0a5b /src/soc/intel/alderlake | |
parent | a8de7c7d568f9bcdea92876c120f52c3272b31d2 (diff) |
soc/intel/adl to jsl: 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: I03e42689487c6d63436d9c2945558073aae87cd1
Signed-off-by: Nicholas Chin <nic.c3.14@gmail.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/84586
Reviewed-by: Jayvik Desai <jayvik@google.com>
Reviewed-by: Arthur Heymans <arthur@aheymans.xyz>
Reviewed-by: Angel Pons <th3fanbus@gmail.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/soc/intel/alderlake')
-rw-r--r-- | src/soc/intel/alderlake/acpi.c | 1 | ||||
-rw-r--r-- | src/soc/intel/alderlake/chip.c | 1 | ||||
-rw-r--r-- | src/soc/intel/alderlake/cpu.c | 1 | ||||
-rw-r--r-- | src/soc/intel/alderlake/espi.c | 1 | ||||
-rw-r--r-- | src/soc/intel/alderlake/finalize.c | 1 | ||||
-rw-r--r-- | src/soc/intel/alderlake/fsp_params.c | 1 | ||||
-rw-r--r-- | src/soc/intel/alderlake/pmc.c | 1 | ||||
-rw-r--r-- | src/soc/intel/alderlake/pmutil.c | 1 | ||||
-rw-r--r-- | src/soc/intel/alderlake/romstage/fsp_params.c | 1 | ||||
-rw-r--r-- | src/soc/intel/alderlake/romstage/graphics.c | 1 | ||||
-rw-r--r-- | src/soc/intel/alderlake/systemagent.c | 1 |
11 files changed, 11 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> /* |