summaryrefslogtreecommitdiff
path: root/src/mainboard
diff options
context:
space:
mode:
authorElyes Haouas <ehaouas@noos.fr>2024-04-09 12:52:43 +0200
committerElyes Haouas <ehaouas@noos.fr>2024-04-09 22:22:44 +0000
commit54c9bf8e12240c8f91566b80462a8f8bdf1a5c16 (patch)
treed14de21d446c9a04fe62615743f9b25560d01b7f /src/mainboard
parentf40f3907d554f56e62ea0998e43c388ff3dec4c3 (diff)
tree: Drop unused <console/console.h>
Change-Id: Ib1a8fc50217c84e835080c70269ff50fc001392c Signed-off-by: Elyes Haouas <ehaouas@noos.fr> Reviewed-on: https://review.coreboot.org/c/coreboot/+/81811 Reviewed-by: Varshit Pandya <pandyavarshit@gmail.com> Reviewed-by: Jonathon Hall <jonathon.hall@puri.sm> Reviewed-by: Yidi Lin <yidilin@google.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/mainboard')
-rw-r--r--src/mainboard/bytedance/bd_egs/romstage.c1
-rw-r--r--src/mainboard/emulation/qemu-riscv/cbmem.c1
-rw-r--r--src/mainboard/google/auron/smihandler.c1
-rw-r--r--src/mainboard/google/brya/variants/constitution/variant.c1
-rw-r--r--src/mainboard/google/corsola/panel.c1
-rw-r--r--src/mainboard/google/cyan/smihandler.c1
-rw-r--r--src/mainboard/google/geralt/panel_geralt.c1
-rw-r--r--src/mainboard/google/glados/smihandler.c1
-rw-r--r--src/mainboard/google/guybrush/mainboard.c1
-rw-r--r--src/mainboard/google/herobrine/boardid.c1
-rw-r--r--src/mainboard/google/jecht/smihandler.c1
-rw-r--r--src/mainboard/google/link/smihandler.c1
-rw-r--r--src/mainboard/google/myst/mainboard.c1
-rw-r--r--src/mainboard/google/myst/port_descriptors.c1
-rw-r--r--src/mainboard/google/rambi/smihandler.c1
-rw-r--r--src/mainboard/google/rex/variants/ovis/gpio.c1
-rw-r--r--src/mainboard/google/rex/variants/rex0/gpio.c1
-rw-r--r--src/mainboard/google/skyrim/ec.c1
-rw-r--r--src/mainboard/google/skyrim/mainboard.c1
-rw-r--r--src/mainboard/google/skyrim/variants/baseboard/smihandler.c1
-rw-r--r--src/mainboard/google/slippy/smihandler.c1
-rw-r--r--src/mainboard/intel/kblrvp/smihandler.c1
-rw-r--r--src/mainboard/intel/kunimitsu/smihandler.c1
-rw-r--r--src/mainboard/intel/strago/smihandler.c1
-rw-r--r--src/mainboard/msi/ms7d25/romstage_fsp_params.c1
-rw-r--r--src/mainboard/msi/ms7e06/romstage_fsp_params.c1
-rw-r--r--src/mainboard/purism/librem_jsl/bootblock.c1
-rw-r--r--src/mainboard/purism/librem_jsl/romstage.c1
-rw-r--r--src/mainboard/purism/librem_l1um_v2/romstage.c1
-rw-r--r--src/mainboard/starlabs/lite/bootblock.c1
-rw-r--r--src/mainboard/starlabs/lite/smbios.c1
-rw-r--r--src/mainboard/starlabs/starbook/variants/kbl/romstage.c1
32 files changed, 0 insertions, 32 deletions
diff --git a/src/mainboard/bytedance/bd_egs/romstage.c b/src/mainboard/bytedance/bd_egs/romstage.c
index f33e74e99f..e1e976b7c5 100644
--- a/src/mainboard/bytedance/bd_egs/romstage.c
+++ b/src/mainboard/bytedance/bd_egs/romstage.c
@@ -1,6 +1,5 @@
/* SPDX-License-Identifier: GPL-2.0-only */
-#include <console/console.h>
#include <soc/romstage.h>
#include <defs_cxl.h>
#include <defs_iio.h>
diff --git a/src/mainboard/emulation/qemu-riscv/cbmem.c b/src/mainboard/emulation/qemu-riscv/cbmem.c
index 10ca2cd87f..e4d21ccb80 100644
--- a/src/mainboard/emulation/qemu-riscv/cbmem.c
+++ b/src/mainboard/emulation/qemu-riscv/cbmem.c
@@ -3,7 +3,6 @@
#include <cbmem.h>
#include <symbols.h>
#include <ramdetect.h>
-#include <console/console.h>
uintptr_t cbmem_top_chipset(void)
{
diff --git a/src/mainboard/google/auron/smihandler.c b/src/mainboard/google/auron/smihandler.c
index 9f86abeecf..e20976c5f1 100644
--- a/src/mainboard/google/auron/smihandler.c
+++ b/src/mainboard/google/auron/smihandler.c
@@ -1,7 +1,6 @@
/* SPDX-License-Identifier: GPL-2.0-only */
#include <acpi/acpi.h>
-#include <console/console.h>
#include <cpu/x86/smm.h>
#include <soc/pm.h>
#include <ec/google/chromeec/ec.h>
diff --git a/src/mainboard/google/brya/variants/constitution/variant.c b/src/mainboard/google/brya/variants/constitution/variant.c
index 289481c2ee..ca09253981 100644
--- a/src/mainboard/google/brya/variants/constitution/variant.c
+++ b/src/mainboard/google/brya/variants/constitution/variant.c
@@ -1,6 +1,5 @@
/* SPDX-License-Identifier: GPL-2.0-only */
-#include <console/console.h>
#include <fw_config.h>
#include <sar.h>
diff --git a/src/mainboard/google/corsola/panel.c b/src/mainboard/google/corsola/panel.c
index 0eb9420c8c..01eb24377d 100644
--- a/src/mainboard/google/corsola/panel.c
+++ b/src/mainboard/google/corsola/panel.c
@@ -2,7 +2,6 @@
#include <boardid.h>
#include <cbfs.h>
-#include <console/console.h>
#include <device/i2c_simple.h>
#include <edid.h>
#include <gpio.h>
diff --git a/src/mainboard/google/cyan/smihandler.c b/src/mainboard/google/cyan/smihandler.c
index 944d033cfa..d0af1d4a69 100644
--- a/src/mainboard/google/cyan/smihandler.c
+++ b/src/mainboard/google/cyan/smihandler.c
@@ -2,7 +2,6 @@
#include <acpi/acpi.h>
#include <device/mmio.h>
-#include <console/console.h>
#include <cpu/x86/smm.h>
#include "ec.h"
#include <ec/google/chromeec/smm.h>
diff --git a/src/mainboard/google/geralt/panel_geralt.c b/src/mainboard/google/geralt/panel_geralt.c
index 0b59a4e3d5..cd6dbe9b44 100644
--- a/src/mainboard/google/geralt/panel_geralt.c
+++ b/src/mainboard/google/geralt/panel_geralt.c
@@ -1,6 +1,5 @@
/* SPDX-License-Identifier: GPL-2.0-only */
-#include <console/console.h>
#include <soc/i2c.h>
#include "gpio.h"
diff --git a/src/mainboard/google/glados/smihandler.c b/src/mainboard/google/glados/smihandler.c
index b1adb866d9..744d5d1279 100644
--- a/src/mainboard/google/glados/smihandler.c
+++ b/src/mainboard/google/glados/smihandler.c
@@ -1,7 +1,6 @@
/* SPDX-License-Identifier: GPL-2.0-only */
#include <baseboard/variant.h>
-#include <console/console.h>
#include <cpu/x86/smm.h>
#include <ec/google/chromeec/smm.h>
#include <gpio.h>
diff --git a/src/mainboard/google/guybrush/mainboard.c b/src/mainboard/google/guybrush/mainboard.c
index 18d5e8f385..49a80e7177 100644
--- a/src/mainboard/google/guybrush/mainboard.c
+++ b/src/mainboard/google/guybrush/mainboard.c
@@ -8,7 +8,6 @@
#include <amdblocks/psp.h>
#include <amdblocks/xhci.h>
#include <baseboard/variants.h>
-#include <console/console.h>
#include <cpu/x86/smm.h>
#include <device/device.h>
#include <drivers/i2c/tpm/chip.h>
diff --git a/src/mainboard/google/herobrine/boardid.c b/src/mainboard/google/herobrine/boardid.c
index 38aeb208b0..79ed15addc 100644
--- a/src/mainboard/google/herobrine/boardid.c
+++ b/src/mainboard/google/herobrine/boardid.c
@@ -4,7 +4,6 @@
#include <ec/google/chromeec/ec.h>
#include "board.h"
#include <commonlib/bsd/cb_err.h>
-#include <console/console.h>
#include <gpio.h>
#include <soc/socinfo.h>
diff --git a/src/mainboard/google/jecht/smihandler.c b/src/mainboard/google/jecht/smihandler.c
index 54666daf93..076d3fe08c 100644
--- a/src/mainboard/google/jecht/smihandler.c
+++ b/src/mainboard/google/jecht/smihandler.c
@@ -1,7 +1,6 @@
/* SPDX-License-Identifier: GPL-2.0-only */
#include <acpi/acpi.h>
-#include <console/console.h>
#include <cpu/x86/smm.h>
#include <soc/pm.h>
#include <southbridge/intel/lynxpoint/lp_gpio.h>
diff --git a/src/mainboard/google/link/smihandler.c b/src/mainboard/google/link/smihandler.c
index 81972ff42a..b75bd4aacb 100644
--- a/src/mainboard/google/link/smihandler.c
+++ b/src/mainboard/google/link/smihandler.c
@@ -1,7 +1,6 @@
/* SPDX-License-Identifier: GPL-2.0-only */
#include <acpi/acpi.h>
-#include <console/console.h>
#include <cpu/x86/smm.h>
#include <southbridge/intel/bd82x6x/pch.h>
#include <southbridge/intel/bd82x6x/me.h>
diff --git a/src/mainboard/google/myst/mainboard.c b/src/mainboard/google/myst/mainboard.c
index e5d285855e..57bfcd4768 100644
--- a/src/mainboard/google/myst/mainboard.c
+++ b/src/mainboard/google/myst/mainboard.c
@@ -5,7 +5,6 @@
#include <amdblocks/amd_pci_util.h>
#include <amdblocks/xhci.h>
#include <baseboard/variants.h>
-#include <console/console.h>
#include <cpu/x86/smm.h>
#include <device/device.h>
#include <drivers/i2c/tpm/chip.h>
diff --git a/src/mainboard/google/myst/port_descriptors.c b/src/mainboard/google/myst/port_descriptors.c
index 664b440a32..323f039209 100644
--- a/src/mainboard/google/myst/port_descriptors.c
+++ b/src/mainboard/google/myst/port_descriptors.c
@@ -1,7 +1,6 @@
/* SPDX-License-Identifier: GPL-2.0-only */
#include <baseboard/variants.h>
-#include <console/console.h>
#include <gpio.h>
#include <soc/platform_descriptors.h>
#include <types.h>
diff --git a/src/mainboard/google/rambi/smihandler.c b/src/mainboard/google/rambi/smihandler.c
index 6f652ed1c4..30f704c9df 100644
--- a/src/mainboard/google/rambi/smihandler.c
+++ b/src/mainboard/google/rambi/smihandler.c
@@ -1,7 +1,6 @@
/* SPDX-License-Identifier: GPL-2.0-only */
#include <acpi/acpi.h>
-#include <console/console.h>
#include <cpu/x86/smm.h>
#include <ec/google/chromeec/smm.h>
diff --git a/src/mainboard/google/rex/variants/ovis/gpio.c b/src/mainboard/google/rex/variants/ovis/gpio.c
index f188929102..5624df9762 100644
--- a/src/mainboard/google/rex/variants/ovis/gpio.c
+++ b/src/mainboard/google/rex/variants/ovis/gpio.c
@@ -10,7 +10,6 @@
#include <baseboard/gpio.h>
#include <baseboard/variants.h>
#include <soc/gpio.h>
-#include <console/console.h>
#include <boardid.h>
/* Pad configuration in ramstage */
diff --git a/src/mainboard/google/rex/variants/rex0/gpio.c b/src/mainboard/google/rex/variants/rex0/gpio.c
index 4ccf327154..9d8f9ff75b 100644
--- a/src/mainboard/google/rex/variants/rex0/gpio.c
+++ b/src/mainboard/google/rex/variants/rex0/gpio.c
@@ -10,7 +10,6 @@
#include <baseboard/gpio.h>
#include <baseboard/variants.h>
#include <soc/gpio.h>
-#include <console/console.h>
#include <boardid.h>
/* Pad configuration in ramstage */
diff --git a/src/mainboard/google/skyrim/ec.c b/src/mainboard/google/skyrim/ec.c
index f265cbf229..060119dc3c 100644
--- a/src/mainboard/google/skyrim/ec.c
+++ b/src/mainboard/google/skyrim/ec.c
@@ -2,7 +2,6 @@
#include <acpi/acpi.h>
#include <amdblocks/smi.h>
-#include <console/console.h>
#include <ec/google/chromeec/ec.h>
#include <gpio.h>
#include <soc/smi.h>
diff --git a/src/mainboard/google/skyrim/mainboard.c b/src/mainboard/google/skyrim/mainboard.c
index 8a395a8d67..5925f2970b 100644
--- a/src/mainboard/google/skyrim/mainboard.c
+++ b/src/mainboard/google/skyrim/mainboard.c
@@ -6,7 +6,6 @@
#include <amdblocks/psp.h>
#include <amdblocks/xhci.h>
#include <baseboard/variants.h>
-#include <console/console.h>
#include <cpu/x86/smm.h>
#include <device/device.h>
#include <drivers/i2c/tpm/chip.h>
diff --git a/src/mainboard/google/skyrim/variants/baseboard/smihandler.c b/src/mainboard/google/skyrim/variants/baseboard/smihandler.c
index ff59b2b042..a14dc9840b 100644
--- a/src/mainboard/google/skyrim/variants/baseboard/smihandler.c
+++ b/src/mainboard/google/skyrim/variants/baseboard/smihandler.c
@@ -1,7 +1,6 @@
/* SPDX-License-Identifier: GPL-2.0-or-later */
#include <baseboard/variants.h>
-#include <console/console.h>
#include <cpu/x86/smm.h>
#include <ec/google/chromeec/ec.h>
#include <ec/google/chromeec/smm.h>
diff --git a/src/mainboard/google/slippy/smihandler.c b/src/mainboard/google/slippy/smihandler.c
index 43c2bf440b..cefaf7a099 100644
--- a/src/mainboard/google/slippy/smihandler.c
+++ b/src/mainboard/google/slippy/smihandler.c
@@ -1,7 +1,6 @@
/* SPDX-License-Identifier: GPL-2.0-only */
#include <acpi/acpi.h>
-#include <console/console.h>
#include <cpu/x86/smm.h>
#include <southbridge/intel/lynxpoint/pch.h>
#include <southbridge/intel/common/gpio.h>
diff --git a/src/mainboard/intel/kblrvp/smihandler.c b/src/mainboard/intel/kblrvp/smihandler.c
index 4e9524d795..803056a085 100644
--- a/src/mainboard/intel/kblrvp/smihandler.c
+++ b/src/mainboard/intel/kblrvp/smihandler.c
@@ -1,6 +1,5 @@
/* SPDX-License-Identifier: GPL-2.0-only */
-#include <console/console.h>
#include <cpu/x86/smm.h>
#include <ec/google/chromeec/smm.h>
#include <soc/iomap.h>
diff --git a/src/mainboard/intel/kunimitsu/smihandler.c b/src/mainboard/intel/kunimitsu/smihandler.c
index 58c7dfb044..b53d369f67 100644
--- a/src/mainboard/intel/kunimitsu/smihandler.c
+++ b/src/mainboard/intel/kunimitsu/smihandler.c
@@ -1,6 +1,5 @@
/* SPDX-License-Identifier: GPL-2.0-only */
-#include <console/console.h>
#include <cpu/x86/smm.h>
#include <ec/google/chromeec/smm.h>
#include <soc/iomap.h>
diff --git a/src/mainboard/intel/strago/smihandler.c b/src/mainboard/intel/strago/smihandler.c
index d592fdcaa5..3f3a81b4d2 100644
--- a/src/mainboard/intel/strago/smihandler.c
+++ b/src/mainboard/intel/strago/smihandler.c
@@ -1,7 +1,6 @@
/* SPDX-License-Identifier: GPL-2.0-only */
#include <acpi/acpi.h>
-#include <console/console.h>
#include <cpu/x86/smm.h>
#include "ec.h"
diff --git a/src/mainboard/msi/ms7d25/romstage_fsp_params.c b/src/mainboard/msi/ms7d25/romstage_fsp_params.c
index 3ced7f812f..7f5ea85fd5 100644
--- a/src/mainboard/msi/ms7d25/romstage_fsp_params.c
+++ b/src/mainboard/msi/ms7d25/romstage_fsp_params.c
@@ -1,7 +1,6 @@
/* SPDX-License-Identifier: GPL-2.0-only */
#include <assert.h>
-#include <console/console.h>
#include <fsp/api.h>
#include <soc/romstage.h>
#include <soc/meminit.h>
diff --git a/src/mainboard/msi/ms7e06/romstage_fsp_params.c b/src/mainboard/msi/ms7e06/romstage_fsp_params.c
index d3c3c50fb0..6fa8dc3ca6 100644
--- a/src/mainboard/msi/ms7e06/romstage_fsp_params.c
+++ b/src/mainboard/msi/ms7e06/romstage_fsp_params.c
@@ -1,7 +1,6 @@
/* SPDX-License-Identifier: GPL-2.0-only */
#include <assert.h>
-#include <console/console.h>
#include <fsp/api.h>
#include <soc/romstage.h>
#include <soc/meminit.h>
diff --git a/src/mainboard/purism/librem_jsl/bootblock.c b/src/mainboard/purism/librem_jsl/bootblock.c
index c629a6dec4..e97fc4d986 100644
--- a/src/mainboard/purism/librem_jsl/bootblock.c
+++ b/src/mainboard/purism/librem_jsl/bootblock.c
@@ -1,7 +1,6 @@
/* SPDX-License-Identifier: GPL-2.0-only */
#include <bootblock_common.h>
-#include <console/console.h>
#include <delay.h>
#include <device/pci_ops.h>
#include <ec/acpi/ec.h>
diff --git a/src/mainboard/purism/librem_jsl/romstage.c b/src/mainboard/purism/librem_jsl/romstage.c
index 65205ad915..e516457746 100644
--- a/src/mainboard/purism/librem_jsl/romstage.c
+++ b/src/mainboard/purism/librem_jsl/romstage.c
@@ -5,7 +5,6 @@
#include <soc/meminit.h>
#include <soc/romstage.h>
#include <device/pci_ops.h>
-#include <console/console.h>
static const struct mb_cfg board_mem_cfg = {
.dq_map[DDR_CH0] = {
diff --git a/src/mainboard/purism/librem_l1um_v2/romstage.c b/src/mainboard/purism/librem_l1um_v2/romstage.c
index 6cceba3dde..666adc249c 100644
--- a/src/mainboard/purism/librem_l1um_v2/romstage.c
+++ b/src/mainboard/purism/librem_l1um_v2/romstage.c
@@ -1,6 +1,5 @@
/* SPDX-License-Identifier: GPL-2.0-only */
-#include <console/console.h>
#include <soc/cnl_memcfg_init.h>
#include <soc/romstage.h>
#include <spd_bin.h>
diff --git a/src/mainboard/starlabs/lite/bootblock.c b/src/mainboard/starlabs/lite/bootblock.c
index 6bf172344d..91e2e23710 100644
--- a/src/mainboard/starlabs/lite/bootblock.c
+++ b/src/mainboard/starlabs/lite/bootblock.c
@@ -1,7 +1,6 @@
/* SPDX-License-Identifier: GPL-2.0-only */
#include <bootblock_common.h>
-#include <console/console.h>
#include <intelblocks/lpc_lib.h>
#include <soc/gpio.h>
#include <variants.h>
diff --git a/src/mainboard/starlabs/lite/smbios.c b/src/mainboard/starlabs/lite/smbios.c
index d9ae2705aa..5b85f501fd 100644
--- a/src/mainboard/starlabs/lite/smbios.c
+++ b/src/mainboard/starlabs/lite/smbios.c
@@ -1,6 +1,5 @@
/* SPDX-License-Identifier: GPL-2.0-only */
-#include <console/console.h>
#include <device/device.h>
#include <device/pci_def.h>
#include <ec/starlabs/merlin/ec.h>
diff --git a/src/mainboard/starlabs/starbook/variants/kbl/romstage.c b/src/mainboard/starlabs/starbook/variants/kbl/romstage.c
index 72fe9ede58..d1e928eb1a 100644
--- a/src/mainboard/starlabs/starbook/variants/kbl/romstage.c
+++ b/src/mainboard/starlabs/starbook/variants/kbl/romstage.c
@@ -1,6 +1,5 @@
/* SPDX-License-Identifier: GPL-2.0-only */
-#include <console/console.h>
#include <option.h>
#include <soc/romstage.h>
#include <spd_bin.h>