From 6ca36baebc3ec2d3c59d2fd2536b6a5d81c23241 Mon Sep 17 00:00:00 2001 From: Nicholas Chin Date: Sun, 29 Sep 2024 18:45:45 -0600 Subject: 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 Reviewed-on: https://review.coreboot.org/c/coreboot/+/84586 Reviewed-by: Jayvik Desai Reviewed-by: Arthur Heymans Reviewed-by: Angel Pons Tested-by: build bot (Jenkins) --- src/soc/intel/apollolake/acpi.c | 1 + src/soc/intel/apollolake/bootblock/bootblock.c | 1 + src/soc/intel/apollolake/chip.c | 1 + src/soc/intel/apollolake/lpc.c | 1 + src/soc/intel/apollolake/pmutil.c | 1 + src/soc/intel/apollolake/pnpconfig.c | 1 + 6 files changed, 6 insertions(+) (limited to 'src/soc/intel/apollolake') diff --git a/src/soc/intel/apollolake/acpi.c b/src/soc/intel/apollolake/acpi.c index c9f76ebe11..74cd51a9ee 100644 --- a/src/soc/intel/apollolake/acpi.c +++ b/src/soc/intel/apollolake/acpi.c @@ -19,6 +19,7 @@ #include #include #include +#include #include "chip.h" diff --git a/src/soc/intel/apollolake/bootblock/bootblock.c b/src/soc/intel/apollolake/bootblock/bootblock.c index cd938c54bb..090bd5071d 100644 --- a/src/soc/intel/apollolake/bootblock/bootblock.c +++ b/src/soc/intel/apollolake/bootblock/bootblock.c @@ -22,6 +22,7 @@ #include #include #include +#include static const struct pad_config tpm_spi_configs[] = { #if CONFIG(SOC_INTEL_GEMINILAKE) diff --git a/src/soc/intel/apollolake/chip.c b/src/soc/intel/apollolake/chip.c index 1d15eecc63..ab5b5d884d 100644 --- a/src/soc/intel/apollolake/chip.c +++ b/src/soc/intel/apollolake/chip.c @@ -35,6 +35,7 @@ #include #include #include +#include #include #include #include diff --git a/src/soc/intel/apollolake/lpc.c b/src/soc/intel/apollolake/lpc.c index 21a0f44963..c7a57c8f9d 100644 --- a/src/soc/intel/apollolake/lpc.c +++ b/src/soc/intel/apollolake/lpc.c @@ -6,6 +6,7 @@ #include #include #include +#include #include "chip.h" void soc_get_gen_io_dec_range(uint32_t gen_io_dec[LPC_NUM_GENERIC_IO_RANGES]) diff --git a/src/soc/intel/apollolake/pmutil.c b/src/soc/intel/apollolake/pmutil.c index 1ed90c1519..8d9af926d6 100644 --- a/src/soc/intel/apollolake/pmutil.c +++ b/src/soc/intel/apollolake/pmutil.c @@ -19,6 +19,7 @@ #include #include #include +#include #include "chip.h" diff --git a/src/soc/intel/apollolake/pnpconfig.c b/src/soc/intel/apollolake/pnpconfig.c index ebc1880778..0c7286573e 100644 --- a/src/soc/intel/apollolake/pnpconfig.c +++ b/src/soc/intel/apollolake/pnpconfig.c @@ -5,6 +5,7 @@ #include #include #include +#include #include "chip.h" static const struct pnpconfig perf[] = { -- cgit v1.2.3