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/cannonlake | |
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/cannonlake')
-rw-r--r-- | src/soc/intel/cannonlake/acpi.c | 1 | ||||
-rw-r--r-- | src/soc/intel/cannonlake/cpu.c | 1 | ||||
-rw-r--r-- | src/soc/intel/cannonlake/finalize.c | 1 | ||||
-rw-r--r-- | src/soc/intel/cannonlake/fsp_params.c | 1 | ||||
-rw-r--r-- | src/soc/intel/cannonlake/gpio_common.c | 1 | ||||
-rw-r--r-- | src/soc/intel/cannonlake/lpc.c | 1 | ||||
-rw-r--r-- | src/soc/intel/cannonlake/pmc.c | 1 | ||||
-rw-r--r-- | src/soc/intel/cannonlake/pmutil.c | 1 | ||||
-rw-r--r-- | src/soc/intel/cannonlake/systemagent.c | 1 | ||||
-rw-r--r-- | src/soc/intel/cannonlake/vr_config.c | 1 |
10 files changed, 10 insertions, 0 deletions
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> |