summaryrefslogtreecommitdiff
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
parentadd3a062687a94773711b3bbd57658b2038db0ce (diff)
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>
-rw-r--r--src/drivers/aspeed/common/ast_mode_corebootfb.c2
-rw-r--r--src/drivers/aspeed/common/ast_post.c1
-rw-r--r--src/lib/asan.c1
-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
-rw-r--r--src/security/vboot/vboot_logic.c1
-rw-r--r--src/soc/amd/picasso/reset.c1
-rw-r--r--src/soc/intel/xeon_sp/skx/include/soc/pci_devs.h1
-rw-r--r--src/soc/qualcomm/sc7180/clock.c1
-rw-r--r--src/soc/qualcomm/sc7180/qcom_qup_se.c1
-rw-r--r--src/soc/qualcomm/sc7180/qupv3_spi.c1
-rw-r--r--src/southbridge/intel/ibexpeak/early_pch.c1
15 files changed, 16 insertions, 0 deletions
diff --git a/src/drivers/aspeed/common/ast_mode_corebootfb.c b/src/drivers/aspeed/common/ast_mode_corebootfb.c
index b5f794bcb6..bf974ffffe 100644
--- a/src/drivers/aspeed/common/ast_mode_corebootfb.c
+++ b/src/drivers/aspeed/common/ast_mode_corebootfb.c
@@ -2,6 +2,8 @@
/*
* Copied from Linux drivers/gpu/drm/ast/ast_mode.c
*/
+
+#include <console/console.h>
#include <edid.h>
#include <device/pci_def.h>
diff --git a/src/drivers/aspeed/common/ast_post.c b/src/drivers/aspeed/common/ast_post.c
index b6e8e91d23..e644d910f7 100644
--- a/src/drivers/aspeed/common/ast_post.c
+++ b/src/drivers/aspeed/common/ast_post.c
@@ -2,6 +2,7 @@
#define COREBOOT_AST_FAILOVER_TIMEOUT 10000000
+#include <console/console.h>
#include <delay.h>
#include "ast_drv.h"
diff --git a/src/lib/asan.c b/src/lib/asan.c
index 6de0de1409..cf91111ab2 100644
--- a/src/lib/asan.c
+++ b/src/lib/asan.c
@@ -8,6 +8,7 @@
*
*/
+#include <console/console.h>
#include <symbols.h>
#include <assert.h>
#include <arch/symbols.h>
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>
diff --git a/src/security/vboot/vboot_logic.c b/src/security/vboot/vboot_logic.c
index 54c82244b6..70c7d77073 100644
--- a/src/security/vboot/vboot_logic.c
+++ b/src/security/vboot/vboot_logic.c
@@ -2,6 +2,7 @@
#include <arch/exception.h>
#include <assert.h>
+#include <console/console.h>
#include <bootmode.h>
#include <fmap.h>
#include <security/tpm/tspi/crtm.h>
diff --git a/src/soc/amd/picasso/reset.c b/src/soc/amd/picasso/reset.c
index 902538ff6c..7a0074c091 100644
--- a/src/soc/amd/picasso/reset.c
+++ b/src/soc/amd/picasso/reset.c
@@ -1,6 +1,7 @@
/* SPDX-License-Identifier: GPL-2.0-only */
#include <arch/io.h>
+#include <console/console.h>
#include <reset.h>
#include <soc/pci_devs.h>
#include <soc/reset.h>
diff --git a/src/soc/intel/xeon_sp/skx/include/soc/pci_devs.h b/src/soc/intel/xeon_sp/skx/include/soc/pci_devs.h
index 02df790460..429278c36b 100644
--- a/src/soc/intel/xeon_sp/skx/include/soc/pci_devs.h
+++ b/src/soc/intel/xeon_sp/skx/include/soc/pci_devs.h
@@ -3,6 +3,7 @@
#ifndef _SOC_PCI_DEVS_H_
#define _SOC_PCI_DEVS_H_
+#include <console/console.h>
#include <device/pci_def.h>
#include <hob_iiouds.h>
diff --git a/src/soc/qualcomm/sc7180/clock.c b/src/soc/qualcomm/sc7180/clock.c
index 919735d7d6..8763a9d71f 100644
--- a/src/soc/qualcomm/sc7180/clock.c
+++ b/src/soc/qualcomm/sc7180/clock.c
@@ -2,6 +2,7 @@
#include <assert.h>
#include <commonlib/helpers.h>
+#include <console/console.h>
#include <delay.h>
#include <device/mmio.h>
#include <soc/clock.h>
diff --git a/src/soc/qualcomm/sc7180/qcom_qup_se.c b/src/soc/qualcomm/sc7180/qcom_qup_se.c
index cac590cc6c..6750c3ef7a 100644
--- a/src/soc/qualcomm/sc7180/qcom_qup_se.c
+++ b/src/soc/qualcomm/sc7180/qcom_qup_se.c
@@ -1,5 +1,6 @@
/* SPDX-License-Identifier: GPL-2.0-only */
+#include <console/console.h>
#include <soc/qcom_qup_se.h>
struct qup qup[12] = {
diff --git a/src/soc/qualcomm/sc7180/qupv3_spi.c b/src/soc/qualcomm/sc7180/qupv3_spi.c
index d086a277c4..23914bbf2a 100644
--- a/src/soc/qualcomm/sc7180/qupv3_spi.c
+++ b/src/soc/qualcomm/sc7180/qupv3_spi.c
@@ -1,6 +1,7 @@
/* SPDX-License-Identifier: GPL-2.0-only */
#include <assert.h>
+#include <console/console.h>
#include <lib.h>
#include <soc/clock.h>
#include <soc/gpio.h>
diff --git a/src/southbridge/intel/ibexpeak/early_pch.c b/src/southbridge/intel/ibexpeak/early_pch.c
index df380c5bde..f5285c1355 100644
--- a/src/southbridge/intel/ibexpeak/early_pch.c
+++ b/src/southbridge/intel/ibexpeak/early_pch.c
@@ -1,6 +1,7 @@
/* SPDX-License-Identifier: GPL-2.0-only */
#include <arch/io.h>
+#include <console/console.h>
#include <device/pci_ops.h>
#include <device/smbus_host.h>
#include <northbridge/intel/ironlake/ironlake.h>