summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKyösti Mälkki <kyosti.malkki@gmail.com>2021-06-15 07:22:22 +0300
committerWerner Zeh <werner.zeh@siemens.com>2021-06-17 05:33:34 +0000
commit89a5f0f58686b95e139188fb1dc0a6cda311a682 (patch)
tree17f7626e304da564e2cc05a2f69398113efcd183
parentecc5a2f147ae7b7f64244158dc8c55ca3847783f (diff)
mb/*: Fix some indirect includes
Fix build failures in the case <vc/.../chromeos.h> is removed. Change-Id: Ie45066f39cd6fb92cca697a6bd5bc8bb8c60b4e7 Signed-off-by: Kyösti Mälkki <kyosti.malkki@gmail.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/55506 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Angel Pons <th3fanbus@gmail.com>
-rw-r--r--src/mainboard/google/auron/mainboard.c1
-rw-r--r--src/mainboard/google/dedede/mainboard.c2
-rw-r--r--src/mainboard/google/guybrush/mainboard.c1
-rw-r--r--src/mainboard/google/jecht/mainboard.c1
-rw-r--r--src/mainboard/google/mancomb/mainboard.c1
5 files changed, 6 insertions, 0 deletions
diff --git a/src/mainboard/google/auron/mainboard.c b/src/mainboard/google/auron/mainboard.c
index 050d9cd54d..12d5a68da6 100644
--- a/src/mainboard/google/auron/mainboard.c
+++ b/src/mainboard/google/auron/mainboard.c
@@ -1,5 +1,6 @@
/* SPDX-License-Identifier: GPL-2.0-only */
+#include <device/device.h>
#include <drivers/intel/gma/int15.h>
#include <vendorcode/google/chromeos/chromeos.h>
#include "ec.h"
diff --git a/src/mainboard/google/dedede/mainboard.c b/src/mainboard/google/dedede/mainboard.c
index 6d544b58ab..dba4795293 100644
--- a/src/mainboard/google/dedede/mainboard.c
+++ b/src/mainboard/google/dedede/mainboard.c
@@ -2,11 +2,13 @@
#include <acpi/acpi.h>
#include <baseboard/variants.h>
+#include <console/console.h>
#include <device/device.h>
#include <drivers/spi/tpm/tpm.h>
#include <ec/ec.h>
#include <security/tpm/tss.h>
#include <soc/soc_chip.h>
+#include <vb2_api.h>
#include <vendorcode/google/chromeos/chromeos.h>
static void mainboard_update_soc_chip_config(void)
diff --git a/src/mainboard/google/guybrush/mainboard.c b/src/mainboard/google/guybrush/mainboard.c
index def0c6384f..e557802841 100644
--- a/src/mainboard/google/guybrush/mainboard.c
+++ b/src/mainboard/google/guybrush/mainboard.c
@@ -5,6 +5,7 @@
#include <amdblocks/acpimmio.h>
#include <amdblocks/amd_pci_util.h>
#include <baseboard/variants.h>
+#include <console/console.h>
#include <device/device.h>
#include <gpio.h>
#include <soc/acpi.h>
diff --git a/src/mainboard/google/jecht/mainboard.c b/src/mainboard/google/jecht/mainboard.c
index 7fdcce8cf1..fd7e9e2493 100644
--- a/src/mainboard/google/jecht/mainboard.c
+++ b/src/mainboard/google/jecht/mainboard.c
@@ -1,5 +1,6 @@
/* SPDX-License-Identifier: GPL-2.0-only */
+#include <device/device.h>
#include <vendorcode/google/chromeos/chromeos.h>
#include "onboard.h"
diff --git a/src/mainboard/google/mancomb/mainboard.c b/src/mainboard/google/mancomb/mainboard.c
index 5506dfab70..ef3e446d50 100644
--- a/src/mainboard/google/mancomb/mainboard.c
+++ b/src/mainboard/google/mancomb/mainboard.c
@@ -2,6 +2,7 @@
#include <amdblocks/amd_pci_util.h>
#include <baseboard/variants.h>
+#include <console/console.h>
#include <device/device.h>
#include <soc/acpi.h>
#include <variant/ec.h>