summaryrefslogtreecommitdiff
path: root/src/mainboard
diff options
context:
space:
mode:
authorElyes HAOUAS <ehaouas@noos.fr>2020-09-19 09:32:36 +0200
committerFelix Held <felix-coreboot@felixheld.de>2020-11-17 09:01:14 +0000
commit27718ac87f9dd117fa047f7292d7014ecb1e96a9 (patch)
treeaef8fe3daa00c42158bbf60722b2bcce7f8679e9 /src/mainboard
parentadd3a062687a94773711b3bbd57658b2038db0ce (diff)
downloadcoreboot-27718ac87f9dd117fa047f7292d7014ecb1e96a9.tar.xz
src: Add missing 'include <console/console.h>'
"printk()" needs <console/console.h>. Change-Id: Iac6b7000bcd8b1335fa3a0ba462a63aed2dc85b8 Signed-off-by: Elyes HAOUAS <ehaouas@noos.fr> Reviewed-on: https://review.coreboot.org/c/coreboot/+/45539 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Marshall Dawson <marshalldawson3rd@gmail.com>
Diffstat (limited to 'src/mainboard')
-rw-r--r--src/mainboard/emulation/qemu-q35/chromeos.c1
-rw-r--r--src/mainboard/google/hatch/romstage_spd_smbus.c1
-rw-r--r--src/mainboard/google/hatch/variants/baseboard/mainboard.c1
-rw-r--r--src/mainboard/google/hatch/variants/jinlon/mainboard.c1
-rw-r--r--src/mainboard/google/trogdor/mainboard.c1
5 files changed, 5 insertions, 0 deletions
diff --git a/src/mainboard/emulation/qemu-q35/chromeos.c b/src/mainboard/emulation/qemu-q35/chromeos.c
index fcf50a9bd0..1af2e02adb 100644
--- a/src/mainboard/emulation/qemu-q35/chromeos.c
+++ b/src/mainboard/emulation/qemu-q35/chromeos.c
@@ -1,6 +1,7 @@
/* SPDX-License-Identifier: GPL-2.0-or-later */
#include <boot/coreboot_tables.h>
+#include <console/console.h>
#include <vendorcode/google/chromeos/chromeos.h>
#include "../qemu-i440fx/fw_cfg.h"
diff --git a/src/mainboard/google/hatch/romstage_spd_smbus.c b/src/mainboard/google/hatch/romstage_spd_smbus.c
index d21e86792d..e697379965 100644
--- a/src/mainboard/google/hatch/romstage_spd_smbus.c
+++ b/src/mainboard/google/hatch/romstage_spd_smbus.c
@@ -1,6 +1,7 @@
/* SPDX-License-Identifier: GPL-2.0-only */
#include <baseboard/variants.h>
+#include <console/console.h>
#include <soc/cnl_memcfg_init.h>
#include <soc/romstage.h>
#include <spd_bin.h>
diff --git a/src/mainboard/google/hatch/variants/baseboard/mainboard.c b/src/mainboard/google/hatch/variants/baseboard/mainboard.c
index 3b247e9fad..d641405daa 100644
--- a/src/mainboard/google/hatch/variants/baseboard/mainboard.c
+++ b/src/mainboard/google/hatch/variants/baseboard/mainboard.c
@@ -2,6 +2,7 @@
#include <baseboard/variants.h>
#include <chip.h>
+#include <console/console.h>
#include <delay.h>
#include <device/device.h>
#include <device/pci_ids.h>
diff --git a/src/mainboard/google/hatch/variants/jinlon/mainboard.c b/src/mainboard/google/hatch/variants/jinlon/mainboard.c
index 564c18c76b..cf9344ee5a 100644
--- a/src/mainboard/google/hatch/variants/jinlon/mainboard.c
+++ b/src/mainboard/google/hatch/variants/jinlon/mainboard.c
@@ -1,6 +1,7 @@
/* SPDX-License-Identifier: GPL-2.0-or-later */
#include <baseboard/variants.h>
+#include <console/console.h>
#include <ec/google/chromeec/ec.h>
#include <device/device.h>
#include <drivers/gfx/generic/chip.h>
diff --git a/src/mainboard/google/trogdor/mainboard.c b/src/mainboard/google/trogdor/mainboard.c
index 57f3a3ba0f..54d8b0dd5c 100644
--- a/src/mainboard/google/trogdor/mainboard.c
+++ b/src/mainboard/google/trogdor/mainboard.c
@@ -1,6 +1,7 @@
/* SPDX-License-Identifier: GPL-2.0-only */
#include <bootmode.h>
+#include <console/console.h>
#include <delay.h>
#include <device/device.h>
#include <device/i2c_simple.h>