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/google/dedede/variants | |
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/google/dedede/variants')
7 files changed, 7 insertions, 0 deletions
diff --git a/src/mainboard/google/dedede/variants/awasuki/ramstage.c b/src/mainboard/google/dedede/variants/awasuki/ramstage.c index 418826c2a4..a6a2fd1ca4 100644 --- a/src/mainboard/google/dedede/variants/awasuki/ramstage.c +++ b/src/mainboard/google/dedede/variants/awasuki/ramstage.c @@ -4,6 +4,7 @@ #include <fw_config.h> #include <soc/soc_chip.h> #include <soc/gpio.h> +#include <static.h> static const struct pad_config ts_disable_pad[] = { /* A11 : TOUCH_RPT_EN */ diff --git a/src/mainboard/google/dedede/variants/baseboard/ramstage.c b/src/mainboard/google/dedede/variants/baseboard/ramstage.c index d43d08f856..f5a8f98d62 100644 --- a/src/mainboard/google/dedede/variants/baseboard/ramstage.c +++ b/src/mainboard/google/dedede/variants/baseboard/ramstage.c @@ -13,6 +13,7 @@ #include <chip.h> #include <drivers/intel/dptf/chip.h> #include <soc/pci_devs.h> +#include <static.h> #define SET_PSYSPL2(e, w) ((e) * (w) / 100) #define MICROWATTS_TO_WATTS 1000000 diff --git a/src/mainboard/google/dedede/variants/drawcia/ramstage.c b/src/mainboard/google/dedede/variants/drawcia/ramstage.c index aed160e12d..06ff4b56dc 100644 --- a/src/mainboard/google/dedede/variants/drawcia/ramstage.c +++ b/src/mainboard/google/dedede/variants/drawcia/ramstage.c @@ -6,6 +6,7 @@ #include <drivers/usb/acpi/chip.h> #include <fw_config.h> #include <soc/soc_chip.h> +#include <static.h> static void ext_vr_update(void) { diff --git a/src/mainboard/google/dedede/variants/kracko/ramstage.c b/src/mainboard/google/dedede/variants/kracko/ramstage.c index afd218e637..16b7962077 100644 --- a/src/mainboard/google/dedede/variants/kracko/ramstage.c +++ b/src/mainboard/google/dedede/variants/kracko/ramstage.c @@ -3,6 +3,7 @@ #include <baseboard/variants.h> #include <fw_config.h> #include <soc/soc_chip.h> +#include <static.h> static void ext_vr_update(void) { diff --git a/src/mainboard/google/dedede/variants/lantis/ramstage.c b/src/mainboard/google/dedede/variants/lantis/ramstage.c index 255e58557e..8999b5daa5 100644 --- a/src/mainboard/google/dedede/variants/lantis/ramstage.c +++ b/src/mainboard/google/dedede/variants/lantis/ramstage.c @@ -3,6 +3,7 @@ #include <baseboard/variants.h> #include <fw_config.h> #include <soc/soc_chip.h> +#include <static.h> static void ext_vr_update(void) { diff --git a/src/mainboard/google/dedede/variants/pirika/ramstage.c b/src/mainboard/google/dedede/variants/pirika/ramstage.c index 906358e767..2c64a14b6d 100644 --- a/src/mainboard/google/dedede/variants/pirika/ramstage.c +++ b/src/mainboard/google/dedede/variants/pirika/ramstage.c @@ -2,6 +2,7 @@ #include <baseboard/variants.h> #include <fw_config.h> #include <soc/soc_chip.h> +#include <static.h> static void ext_vr_update(void) { diff --git a/src/mainboard/google/dedede/variants/sasukette/ramstage.c b/src/mainboard/google/dedede/variants/sasukette/ramstage.c index 580e6bf018..54f2fa9d04 100644 --- a/src/mainboard/google/dedede/variants/sasukette/ramstage.c +++ b/src/mainboard/google/dedede/variants/sasukette/ramstage.c @@ -3,6 +3,7 @@ #include <baseboard/variants.h> #include <fw_config.h> #include <soc/soc_chip.h> +#include <static.h> static void ext_vr_update(void) { |