summaryrefslogtreecommitdiff
path: root/src/mainboard/google/hatch/variants
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:37:06 +0000
commite5c2babcc0d162e927a4111ebe2433fe226497ab (patch)
treeedf6e91a0fbc12db96fd47ba65c514f5643c7f45 /src/mainboard/google/hatch/variants
parente7f47412a82edd5c6a87847e5e5c0ead9a6aa96d (diff)
mb/*: 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: Ia793666fda47678764fd33891fddb4aecf207bd4 Signed-off-by: Nicholas Chin <nic.c3.14@gmail.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/84588 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Subrata Banik <subratabanik@google.com> Reviewed-by: Jayvik Desai <jayvik@google.com> Reviewed-by: Marshall Dawson <marshalldawson3rd@gmail.com> Reviewed-by: Angel Pons <th3fanbus@gmail.com> Reviewed-by: Arthur Heymans <arthur@aheymans.xyz>
Diffstat (limited to 'src/mainboard/google/hatch/variants')
-rw-r--r--src/mainboard/google/hatch/variants/akemi/variant.c1
-rw-r--r--src/mainboard/google/hatch/variants/kindred/variant.c1
2 files changed, 2 insertions, 0 deletions
diff --git a/src/mainboard/google/hatch/variants/akemi/variant.c b/src/mainboard/google/hatch/variants/akemi/variant.c
index cc38362f62..457e0d53fa 100644
--- a/src/mainboard/google/hatch/variants/akemi/variant.c
+++ b/src/mainboard/google/hatch/variants/akemi/variant.c
@@ -4,6 +4,7 @@
#include <chip.h>
#include <soc/pci_devs.h>
#include <ec/google/chromeec/ec.h>
+#include <static.h>
void variant_devtree_update(void)
{
diff --git a/src/mainboard/google/hatch/variants/kindred/variant.c b/src/mainboard/google/hatch/variants/kindred/variant.c
index 7e63526562..cf23608f67 100644
--- a/src/mainboard/google/hatch/variants/kindred/variant.c
+++ b/src/mainboard/google/hatch/variants/kindred/variant.c
@@ -6,6 +6,7 @@
#include <ec/google/chromeec/ec.h>
#include <sar.h>
#include <drivers/intel/gma/opregion.h>
+#include <static.h>
void variant_devtree_update(void)
{