summaryrefslogtreecommitdiff
path: root/src/soc/intel/apollolake/chip.c
diff options
context:
space:
mode:
authorNicholas Chin <nic.c3.14@gmail.com>2024-09-29 18:45:45 -0600
committerMartin L Roth <gaumless@gmail.com>2024-10-07 20:33:49 +0000
commit6ca36baebc3ec2d3c59d2fd2536b6a5d81c23241 (patch)
tree9c39af09caff3495775f636be09a4f331bbf0a5b /src/soc/intel/apollolake/chip.c
parenta8de7c7d568f9bcdea92876c120f52c3272b31d2 (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/apollolake/chip.c')
-rw-r--r--src/soc/intel/apollolake/chip.c1
1 files changed, 1 insertions, 0 deletions
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 <soc/pm.h>
#include <soc/systemagent.h>
#include <spi-generic.h>
+#include <static.h>
#include <timer.h>
#include <soc/ramstage.h>
#include <soc/soc_chip.h>