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:32:33 +0000 |
commit | a8de7c7d568f9bcdea92876c120f52c3272b31d2 (patch) | |
tree | 5c782f26b467510413c3bd08a6851318a61706c7 /src/northbridge/intel/haswell | |
parent | 7d904cb7c64df0f156dc7f79cbfd4ffc57deeb29 (diff) |
nb/intel/*: 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: Iac8063d2021af83203be8a10b2962c9fb3dd106a
Signed-off-by: Nicholas Chin <nic.c3.14@gmail.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/84585
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Angel Pons <th3fanbus@gmail.com>
Reviewed-by: Arthur Heymans <arthur@aheymans.xyz>
Diffstat (limited to 'src/northbridge/intel/haswell')
4 files changed, 4 insertions, 0 deletions
diff --git a/src/northbridge/intel/haswell/broadwell_mrc/raminit.c b/src/northbridge/intel/haswell/broadwell_mrc/raminit.c index 1ed4248594..beae4965ff 100644 --- a/src/northbridge/intel/haswell/broadwell_mrc/raminit.c +++ b/src/northbridge/intel/haswell/broadwell_mrc/raminit.c @@ -20,6 +20,7 @@ #include <northbridge/intel/haswell/raminit.h> #include <smbios.h> #include <spd.h> +#include <static.h> #include <security/vboot/vboot_common.h> #include <commonlib/region.h> #include <southbridge/intel/lynxpoint/me.h> diff --git a/src/northbridge/intel/haswell/haswell_mrc/raminit.c b/src/northbridge/intel/haswell/haswell_mrc/raminit.c index 9a7b7fe2d4..3d5e46cdac 100644 --- a/src/northbridge/intel/haswell/haswell_mrc/raminit.c +++ b/src/northbridge/intel/haswell/haswell_mrc/raminit.c @@ -18,6 +18,7 @@ #include <northbridge/intel/haswell/raminit.h> #include <smbios.h> #include <spd.h> +#include <static.h> #include <security/vboot/vboot_common.h> #include <commonlib/region.h> #include <southbridge/intel/lynxpoint/me.h> diff --git a/src/northbridge/intel/haswell/native_raminit/raminit_main.c b/src/northbridge/intel/haswell/native_raminit/raminit_main.c index 19ec5859ac..227170500d 100644 --- a/src/northbridge/intel/haswell/native_raminit/raminit_main.c +++ b/src/northbridge/intel/haswell/native_raminit/raminit_main.c @@ -7,6 +7,7 @@ #include <northbridge/intel/haswell/chip.h> #include <northbridge/intel/haswell/haswell.h> #include <northbridge/intel/haswell/raminit.h> +#include <static.h> #include <string.h> #include <types.h> diff --git a/src/northbridge/intel/haswell/native_raminit/spd_bitmunching.c b/src/northbridge/intel/haswell/native_raminit/spd_bitmunching.c index c53ea12320..a4225913b6 100644 --- a/src/northbridge/intel/haswell/native_raminit/spd_bitmunching.c +++ b/src/northbridge/intel/haswell/native_raminit/spd_bitmunching.c @@ -8,6 +8,7 @@ #include <northbridge/intel/haswell/chip.h> #include <northbridge/intel/haswell/haswell.h> #include <northbridge/intel/haswell/raminit.h> +#include <static.h> #include <string.h> #include <types.h> |