summaryrefslogtreecommitdiff
path: root/src/mainboard/amd
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/amd
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/amd')
-rw-r--r--src/mainboard/amd/bilby/mainboard.c1
-rw-r--r--src/mainboard/amd/birman/update_devicetree_phoenix_opensil.c1
-rw-r--r--src/mainboard/amd/mandolin/mainboard.c1
3 files changed, 3 insertions, 0 deletions
diff --git a/src/mainboard/amd/bilby/mainboard.c b/src/mainboard/amd/bilby/mainboard.c
index 7af66e609b..11d3a6089f 100644
--- a/src/mainboard/amd/bilby/mainboard.c
+++ b/src/mainboard/amd/bilby/mainboard.c
@@ -10,6 +10,7 @@
#include <soc/southbridge.h>
#include <soc/pci_devs.h>
#include <soc/platform_descriptors.h>
+#include <static.h>
#include <types.h>
#include <commonlib/helpers.h>
#include <soc/amd/picasso/chip.h>
diff --git a/src/mainboard/amd/birman/update_devicetree_phoenix_opensil.c b/src/mainboard/amd/birman/update_devicetree_phoenix_opensil.c
index f0060b8a63..2640e7453a 100644
--- a/src/mainboard/amd/birman/update_devicetree_phoenix_opensil.c
+++ b/src/mainboard/amd/birman/update_devicetree_phoenix_opensil.c
@@ -3,6 +3,7 @@
#include <device/device.h>
#include <soc/amd/phoenix/chip.h>
#include <soc/soc_util.h>
+#include <static.h>
#include <vendorcode/amd/opensil/chip/mpio/chip.h>
#include "display_card_type.h"
#include "update_devicetree.h"
diff --git a/src/mainboard/amd/mandolin/mainboard.c b/src/mainboard/amd/mandolin/mainboard.c
index 7975c10c8c..c044a81c89 100644
--- a/src/mainboard/amd/mandolin/mainboard.c
+++ b/src/mainboard/amd/mandolin/mainboard.c
@@ -8,6 +8,7 @@
#include <soc/cpu.h>
#include <soc/southbridge.h>
#include <soc/pci_devs.h>
+#include <static.h>
#include <types.h>
#include <commonlib/helpers.h>
#include <soc/amd/picasso/chip.h>