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/sandybridge | |
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/sandybridge')
-rw-r--r-- | src/northbridge/intel/sandybridge/raminit.c | 1 | ||||
-rw-r--r-- | src/northbridge/intel/sandybridge/raminit_mrc.c | 1 | ||||
-rw-r--r-- | src/northbridge/intel/sandybridge/raminit_native.c | 1 |
3 files changed, 3 insertions, 0 deletions
diff --git a/src/northbridge/intel/sandybridge/raminit.c b/src/northbridge/intel/sandybridge/raminit.c index d5e1a7c09a..9ec8fb6f6e 100644 --- a/src/northbridge/intel/sandybridge/raminit.c +++ b/src/northbridge/intel/sandybridge/raminit.c @@ -15,6 +15,7 @@ #include <mrc_cache.h> #include <southbridge/intel/bd82x6x/me.h> #include <southbridge/intel/bd82x6x/pch.h> +#include <static.h> #include <cpu/x86/msr.h> #include <types.h> diff --git a/src/northbridge/intel/sandybridge/raminit_mrc.c b/src/northbridge/intel/sandybridge/raminit_mrc.c index 98b302850c..b81716aff0 100644 --- a/src/northbridge/intel/sandybridge/raminit_mrc.c +++ b/src/northbridge/intel/sandybridge/raminit_mrc.c @@ -19,6 +19,7 @@ #include <mrc_cache.h> #include <spd.h> #include <smbios.h> +#include <static.h> #include <stddef.h> #include <stdint.h> #include <timestamp.h> diff --git a/src/northbridge/intel/sandybridge/raminit_native.c b/src/northbridge/intel/sandybridge/raminit_native.c index ecae91be08..ed11945ebf 100644 --- a/src/northbridge/intel/sandybridge/raminit_native.c +++ b/src/northbridge/intel/sandybridge/raminit_native.c @@ -9,6 +9,7 @@ #include <device/pci_def.h> #include <device/pci_ops.h> #include <northbridge/intel/sandybridge/chip.h> +#include <static.h> #include <stdbool.h> #include <stdint.h> |