summaryrefslogtreecommitdiff
path: root/src/mainboard/google/poppy
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/poppy
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/poppy')
-rw-r--r--src/mainboard/google/poppy/variants/atlas/mainboard.c1
-rw-r--r--src/mainboard/google/poppy/variants/nami/mainboard.c1
-rw-r--r--src/mainboard/google/poppy/variants/nautilus/mainboard.c1
-rw-r--r--src/mainboard/google/poppy/variants/nocturne/mainboard.c1
4 files changed, 4 insertions, 0 deletions
diff --git a/src/mainboard/google/poppy/variants/atlas/mainboard.c b/src/mainboard/google/poppy/variants/atlas/mainboard.c
index b439e30873..ac9e7db1ac 100644
--- a/src/mainboard/google/poppy/variants/atlas/mainboard.c
+++ b/src/mainboard/google/poppy/variants/atlas/mainboard.c
@@ -6,6 +6,7 @@
#include <device/pci_ids.h>
#include <device/pci_ops.h>
#include <intelblocks/power_limit.h>
+#include <static.h>
#define PL2_AML 18
#define PL2_KBL 15
diff --git a/src/mainboard/google/poppy/variants/nami/mainboard.c b/src/mainboard/google/poppy/variants/nami/mainboard.c
index 7bdfb5e177..c5ee5b973c 100644
--- a/src/mainboard/google/poppy/variants/nami/mainboard.c
+++ b/src/mainboard/google/poppy/variants/nami/mainboard.c
@@ -13,6 +13,7 @@
#include <intelblocks/power_limit.h>
#include <smbios.h>
#include <soc/ramstage.h>
+#include <static.h>
#include <stdio.h>
#include <variant/sku.h>
#include <gpio.h>
diff --git a/src/mainboard/google/poppy/variants/nautilus/mainboard.c b/src/mainboard/google/poppy/variants/nautilus/mainboard.c
index b77513ba56..02f861f632 100644
--- a/src/mainboard/google/poppy/variants/nautilus/mainboard.c
+++ b/src/mainboard/google/poppy/variants/nautilus/mainboard.c
@@ -6,6 +6,7 @@
#include <device/device.h>
#include <device/pci_ops.h>
#include <smbios.h>
+#include <static.h>
#include <stdio.h>
#include <variant/sku.h>
diff --git a/src/mainboard/google/poppy/variants/nocturne/mainboard.c b/src/mainboard/google/poppy/variants/nocturne/mainboard.c
index eff5cf5e17..d25fbac11f 100644
--- a/src/mainboard/google/poppy/variants/nocturne/mainboard.c
+++ b/src/mainboard/google/poppy/variants/nocturne/mainboard.c
@@ -6,6 +6,7 @@
#include <device/pci_ids.h>
#include <device/pci_ops.h>
#include <intelblocks/power_limit.h>
+#include <static.h>
/* PL2 limit in watts for AML and KBL */
#define PL2_AML 18