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:37:06 +0000 |
commit | e5c2babcc0d162e927a4111ebe2433fe226497ab (patch) | |
tree | edf6e91a0fbc12db96fd47ba65c514f5643c7f45 /src/mainboard/starlabs | |
parent | e7f47412a82edd5c6a87847e5e5c0ead9a6aa96d (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/starlabs')
8 files changed, 8 insertions, 0 deletions
diff --git a/src/mainboard/starlabs/byte_adl/variants/mk_ii/devtree.c b/src/mainboard/starlabs/byte_adl/variants/mk_ii/devtree.c index be9825e3b2..86cedf12c3 100644 --- a/src/mainboard/starlabs/byte_adl/variants/mk_ii/devtree.c +++ b/src/mainboard/starlabs/byte_adl/variants/mk_ii/devtree.c @@ -5,6 +5,7 @@ #include <device/device.h> #include <device/pci_def.h> #include <option.h> +#include <static.h> #include <types.h> #include <variants.h> diff --git a/src/mainboard/starlabs/lite/devtree.c b/src/mainboard/starlabs/lite/devtree.c index 1f6a92211c..9df207e668 100644 --- a/src/mainboard/starlabs/lite/devtree.c +++ b/src/mainboard/starlabs/lite/devtree.c @@ -4,6 +4,7 @@ #include <device/device.h> #include <device/pci_def.h> #include <option.h> +#include <static.h> #include <types.h> #include <variants.h> diff --git a/src/mainboard/starlabs/starbook/variants/adl/devtree.c b/src/mainboard/starlabs/starbook/variants/adl/devtree.c index fb961e20bd..e36effbc9f 100644 --- a/src/mainboard/starlabs/starbook/variants/adl/devtree.c +++ b/src/mainboard/starlabs/starbook/variants/adl/devtree.c @@ -5,6 +5,7 @@ #include <device/device.h> #include <device/pci_def.h> #include <option.h> +#include <static.h> #include <types.h> #include <variants.h> diff --git a/src/mainboard/starlabs/starbook/variants/cml/devtree.c b/src/mainboard/starlabs/starbook/variants/cml/devtree.c index 100a85c274..c107a1028b 100644 --- a/src/mainboard/starlabs/starbook/variants/cml/devtree.c +++ b/src/mainboard/starlabs/starbook/variants/cml/devtree.c @@ -5,6 +5,7 @@ #include <device/device.h> #include <device/pci_def.h> #include <option.h> +#include <static.h> #include <types.h> #include <variants.h> diff --git a/src/mainboard/starlabs/starbook/variants/kbl/devtree.c b/src/mainboard/starlabs/starbook/variants/kbl/devtree.c index 5ee3a3ef8d..f8820d3b18 100644 --- a/src/mainboard/starlabs/starbook/variants/kbl/devtree.c +++ b/src/mainboard/starlabs/starbook/variants/kbl/devtree.c @@ -5,6 +5,7 @@ #include <device/device.h> #include <device/pci_def.h> #include <option.h> +#include <static.h> #include <types.h> #include <variants.h> diff --git a/src/mainboard/starlabs/starbook/variants/rpl/devtree.c b/src/mainboard/starlabs/starbook/variants/rpl/devtree.c index a7b0157bb8..4c1f3cada9 100644 --- a/src/mainboard/starlabs/starbook/variants/rpl/devtree.c +++ b/src/mainboard/starlabs/starbook/variants/rpl/devtree.c @@ -5,6 +5,7 @@ #include <device/device.h> #include <device/pci_def.h> #include <option.h> +#include <static.h> #include <types.h> #include <variants.h> diff --git a/src/mainboard/starlabs/starbook/variants/tgl/devtree.c b/src/mainboard/starlabs/starbook/variants/tgl/devtree.c index 8d206fa38c..59959e2008 100644 --- a/src/mainboard/starlabs/starbook/variants/tgl/devtree.c +++ b/src/mainboard/starlabs/starbook/variants/tgl/devtree.c @@ -5,6 +5,7 @@ #include <device/device.h> #include <device/pci_def.h> #include <option.h> +#include <static.h> #include <types.h> #include <variants.h> diff --git a/src/mainboard/starlabs/starlite_adl/variants/mk_v/devtree.c b/src/mainboard/starlabs/starlite_adl/variants/mk_v/devtree.c index 2599a49f15..7184cdbc4c 100644 --- a/src/mainboard/starlabs/starlite_adl/variants/mk_v/devtree.c +++ b/src/mainboard/starlabs/starlite_adl/variants/mk_v/devtree.c @@ -5,6 +5,7 @@ #include <device/device.h> #include <device/pci_def.h> #include <option.h> +#include <static.h> #include <types.h> #include <variants.h> |