summaryrefslogtreecommitdiff
path: root/src
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
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')
-rw-r--r--src/arch/x86/breakpoint.c1
-rw-r--r--src/drivers/smmstore/ramstage.c1
-rw-r--r--src/drivers/spi/issi.c1
-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
-rw-r--r--src/northbridge/intel/haswell/early_pcie.c1
-rw-r--r--src/northbridge/intel/sandybridge/common.c1
-rw-r--r--src/soc/amd/common/vboot/vboot_bootblock.c1
-rw-r--r--src/soc/amd/genoa_poc/acpi.c1
-rw-r--r--src/soc/amd/genoa_poc/i2c.c1
-rw-r--r--src/soc/intel/common/block/p2sb/ioe_p2sb.c1
-rw-r--r--src/soc/intel/common/block/p2sb/p2sb.c1
-rw-r--r--src/soc/intel/meteorlake/pcie_rp.c1
-rw-r--r--src/soc/intel/meteorlake/soc_info.c1
-rw-r--r--src/soc/intel/xeon_sp/pch.c1
-rw-r--r--src/soc/intel/xeon_sp/pmc.c1
-rw-r--r--src/soc/intel/xeon_sp/pmutil.c1
-rw-r--r--src/soc/mediatek/common/bl31.c1
-rw-r--r--src/soc/mediatek/common/devapc.c1
-rw-r--r--src/soc/mediatek/common/msdc.c1
-rw-r--r--src/soc/mediatek/mt8186/pmif_spmi.c1
-rw-r--r--src/soc/mediatek/mt8188/lastbus.c1
-rw-r--r--src/soc/mediatek/mt8195/pcie.c1
-rw-r--r--src/soc/sifive/fu740/clock.c1
-rw-r--r--src/soc/sifive/fu740/gpio.c1
55 files changed, 0 insertions, 55 deletions
diff --git a/src/arch/x86/breakpoint.c b/src/arch/x86/breakpoint.c
index d3ba783a55..be9359fd77 100644
--- a/src/arch/x86/breakpoint.c
+++ b/src/arch/x86/breakpoint.c
@@ -1,7 +1,6 @@
/* SPDX-License-Identifier: GPL-2.0-only */
#include <arch/registers.h>
#include <arch/breakpoint.h>
-#include <console/console.h>
#include <types.h>
#define DEBUG_REGISTER_COUNT 4
diff --git a/src/drivers/smmstore/ramstage.c b/src/drivers/smmstore/ramstage.c
index e897aa2d67..857fe89336 100644
--- a/src/drivers/smmstore/ramstage.c
+++ b/src/drivers/smmstore/ramstage.c
@@ -4,7 +4,6 @@
#include <cpu/x86/smm.h>
#include <commonlib/helpers.h>
#include <commonlib/region.h>
-#include <console/console.h>
#include <smm_call.h>
#include <smmstore.h>
#include <types.h>
diff --git a/src/drivers/spi/issi.c b/src/drivers/spi/issi.c
index d2000b91bf..884fcdbbb4 100644
--- a/src/drivers/spi/issi.c
+++ b/src/drivers/spi/issi.c
@@ -1,6 +1,5 @@
/* SPDX-License-Identifier: GPL-2.0-or-later */
-#include <console/console.h>
#include <commonlib/helpers.h>
#include <spi_flash.h>
#include <spi-generic.h>
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>
diff --git a/src/northbridge/intel/haswell/early_pcie.c b/src/northbridge/intel/haswell/early_pcie.c
index d3940e3fac..3fc8713d29 100644
--- a/src/northbridge/intel/haswell/early_pcie.c
+++ b/src/northbridge/intel/haswell/early_pcie.c
@@ -1,6 +1,5 @@
/* SPDX-License-Identifier: GPL-2.0-or-later */
-#include <console/console.h>
#include <device/pci_def.h>
#include <device/pci_mmio_cfg.h>
#include <device/pci_ops.h>
diff --git a/src/northbridge/intel/sandybridge/common.c b/src/northbridge/intel/sandybridge/common.c
index a6704914ac..0ee7e1d59b 100644
--- a/src/northbridge/intel/sandybridge/common.c
+++ b/src/northbridge/intel/sandybridge/common.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 <device/pci_ops.h>
diff --git a/src/soc/amd/common/vboot/vboot_bootblock.c b/src/soc/amd/common/vboot/vboot_bootblock.c
index 6a7ae13c8e..7eeecb5334 100644
--- a/src/soc/amd/common/vboot/vboot_bootblock.c
+++ b/src/soc/amd/common/vboot/vboot_bootblock.c
@@ -1,7 +1,6 @@
/* SPDX-License-Identifier: GPL-2.0-only */
#include <bootblock_common.h>
-#include <console/console.h>
#include <cpu/x86/tsc.h>
#include <psp_verstage/psp_transfer.h>
#include <symbols.h>
diff --git a/src/soc/amd/genoa_poc/acpi.c b/src/soc/amd/genoa_poc/acpi.c
index 8f842f92cb..fc223047be 100644
--- a/src/soc/amd/genoa_poc/acpi.c
+++ b/src/soc/amd/genoa_poc/acpi.c
@@ -7,7 +7,6 @@
#include <amdblocks/acpimmio.h>
#include <amdblocks/cpu.h>
#include <arch/ioapic.h>
-#include <console/console.h>
#include <device/device.h>
#include <vendorcode/amd/opensil/genoa_poc/opensil.h>
diff --git a/src/soc/amd/genoa_poc/i2c.c b/src/soc/amd/genoa_poc/i2c.c
index 7261a8792a..aac73f06eb 100644
--- a/src/soc/amd/genoa_poc/i2c.c
+++ b/src/soc/amd/genoa_poc/i2c.c
@@ -1,7 +1,6 @@
/* SPDX-License-Identifier: GPL-2.0-only */
#include <amdblocks/i2c.h>
-#include <console/console.h>
#include <soc/i2c.h>
#include <soc/southbridge.h>
#include "chip.h"
diff --git a/src/soc/intel/common/block/p2sb/ioe_p2sb.c b/src/soc/intel/common/block/p2sb/ioe_p2sb.c
index 41b815bad4..769b853af2 100644
--- a/src/soc/intel/common/block/p2sb/ioe_p2sb.c
+++ b/src/soc/intel/common/block/p2sb/ioe_p2sb.c
@@ -2,7 +2,6 @@
#define __SIMPLE_DEVICE__
-#include <console/console.h>
#include <device/pci.h>
#include <device/pci_ids.h>
#include <intelblocks/p2sb.h>
diff --git a/src/soc/intel/common/block/p2sb/p2sb.c b/src/soc/intel/common/block/p2sb/p2sb.c
index 04318c8330..e348501cde 100644
--- a/src/soc/intel/common/block/p2sb/p2sb.c
+++ b/src/soc/intel/common/block/p2sb/p2sb.c
@@ -3,7 +3,6 @@
#define __SIMPLE_DEVICE__
#include <device/pci_ops.h>
-#include <console/console.h>
#include <device/device.h>
#include <device/pci.h>
#include <device/pci_ids.h>
diff --git a/src/soc/intel/meteorlake/pcie_rp.c b/src/soc/intel/meteorlake/pcie_rp.c
index 1b4045ec43..9f59ce1f97 100644
--- a/src/soc/intel/meteorlake/pcie_rp.c
+++ b/src/soc/intel/meteorlake/pcie_rp.c
@@ -4,7 +4,6 @@
#include <soc/pci_devs.h>
#include <soc/pcie.h>
#include <soc/soc_info.h>
-#include <console/console.h>
static const struct pcie_rp_group mtlp_rp_groups[] = {
{ .slot = PCI_DEV_SLOT_PCIE_1, .start = 0, .count = 8, .lcap_port_base = 1 },
diff --git a/src/soc/intel/meteorlake/soc_info.c b/src/soc/intel/meteorlake/soc_info.c
index 0772c7799b..275d56876c 100644
--- a/src/soc/intel/meteorlake/soc_info.c
+++ b/src/soc/intel/meteorlake/soc_info.c
@@ -5,7 +5,6 @@
#include <device/pci_ops.h>
#include <soc/soc_info.h>
#include <intelblocks/tcss.h>
-#include <console/console.h>
uint8_t get_max_usb20_port(void)
{
diff --git a/src/soc/intel/xeon_sp/pch.c b/src/soc/intel/xeon_sp/pch.c
index 23af6d9cb1..5f480d6ea8 100644
--- a/src/soc/intel/xeon_sp/pch.c
+++ b/src/soc/intel/xeon_sp/pch.c
@@ -9,7 +9,6 @@
#include <soc/bootblock.h>
#include <soc/pch.h>
#include <soc/pmc.h>
-#include <console/console.h>
void override_hpet_ioapic_bdf(void)
{
diff --git a/src/soc/intel/xeon_sp/pmc.c b/src/soc/intel/xeon_sp/pmc.c
index 4321625a16..6a784e0d12 100644
--- a/src/soc/intel/xeon_sp/pmc.c
+++ b/src/soc/intel/xeon_sp/pmc.c
@@ -1,6 +1,5 @@
/* SPDX-License-Identifier: GPL-2.0-only */
-#include <console/console.h>
#include <device/device.h>
#include <device/pci_ops.h>
#include <intelblocks/pmc.h>
diff --git a/src/soc/intel/xeon_sp/pmutil.c b/src/soc/intel/xeon_sp/pmutil.c
index 336e867a96..0d77a2a741 100644
--- a/src/soc/intel/xeon_sp/pmutil.c
+++ b/src/soc/intel/xeon_sp/pmutil.c
@@ -7,7 +7,6 @@
#define __SIMPLE_DEVICE__
-#include <console/console.h>
#include <device/pci.h>
#include <intelblocks/pmclib.h>
#include <intelblocks/rtc.h>
diff --git a/src/soc/mediatek/common/bl31.c b/src/soc/mediatek/common/bl31.c
index 6a790982e2..e6e5bbc868 100644
--- a/src/soc/mediatek/common/bl31.c
+++ b/src/soc/mediatek/common/bl31.c
@@ -1,7 +1,6 @@
/* SPDX-License-Identifier: GPL-2.0-only */
#include <bl31.h>
-#include <console/console.h>
#include <gpio.h>
#include <soc/bl31.h>
diff --git a/src/soc/mediatek/common/devapc.c b/src/soc/mediatek/common/devapc.c
index 7838d7d53b..5873dd5b3c 100644
--- a/src/soc/mediatek/common/devapc.c
+++ b/src/soc/mediatek/common/devapc.c
@@ -1,6 +1,5 @@
/* SPDX-License-Identifier: GPL-2.0-only OR MIT */
-#include <console/console.h>
#include <soc/devapc.h>
#include <soc/devapc_common.h>
diff --git a/src/soc/mediatek/common/msdc.c b/src/soc/mediatek/common/msdc.c
index e7cd571d8e..df59b0ee37 100644
--- a/src/soc/mediatek/common/msdc.c
+++ b/src/soc/mediatek/common/msdc.c
@@ -5,7 +5,6 @@
#include <assert.h>
#include <commonlib/bsd/helpers.h>
#include <commonlib/storage/sd_mmc.h>
-#include <console/console.h>
#include <delay.h>
#include <device/mmio.h>
#include <lib.h>
diff --git a/src/soc/mediatek/mt8186/pmif_spmi.c b/src/soc/mediatek/mt8186/pmif_spmi.c
index 28ea739abd..614985b94d 100644
--- a/src/soc/mediatek/mt8186/pmif_spmi.c
+++ b/src/soc/mediatek/mt8186/pmif_spmi.c
@@ -3,7 +3,6 @@
#include <device/mmio.h>
#include <soc/pll.h>
#include <soc/pmif_spmi.h>
-#include <console/console.h>
/* IOCFG_LT, DRV_CFG2 */
DEFINE_BITFIELD(SPMI_SCL, 14, 12)
diff --git a/src/soc/mediatek/mt8188/lastbus.c b/src/soc/mediatek/mt8188/lastbus.c
index 5d117af03b..8bf6a87a6f 100644
--- a/src/soc/mediatek/mt8188/lastbus.c
+++ b/src/soc/mediatek/mt8188/lastbus.c
@@ -1,6 +1,5 @@
/* SPDX-License-Identifier: GPL-2.0-only */
-#include <console/console.h>
#include <device/mmio.h>
#include <soc/addressmap.h>
#include <soc/lastbus_v2.h>
diff --git a/src/soc/mediatek/mt8195/pcie.c b/src/soc/mediatek/mt8195/pcie.c
index cb36f8db0c..fa5bbd7ab1 100644
--- a/src/soc/mediatek/mt8195/pcie.c
+++ b/src/soc/mediatek/mt8195/pcie.c
@@ -1,6 +1,5 @@
/* SPDX-License-Identifier: GPL-2.0-only OR MIT */
-#include <console/console.h>
#include <device/mmio.h>
#include <device/resource.h>
#include <delay.h>
diff --git a/src/soc/sifive/fu740/clock.c b/src/soc/sifive/fu740/clock.c
index 419a0e2936..91e79925be 100644
--- a/src/soc/sifive/fu740/clock.c
+++ b/src/soc/sifive/fu740/clock.c
@@ -3,7 +3,6 @@
// This file is used for setting up clocks and get devices out of reset
// For more Information see FU740-C000 Manual Chapter 7 Clocking and Reset
-#include <console/console.h>
#include <delay.h>
#include <device/mmio.h>
#include <soc/addressmap.h>
diff --git a/src/soc/sifive/fu740/gpio.c b/src/soc/sifive/fu740/gpio.c
index 167844daa7..b9fe87ec38 100644
--- a/src/soc/sifive/fu740/gpio.c
+++ b/src/soc/sifive/fu740/gpio.c
@@ -1,6 +1,5 @@
/* SPDX-License-Identifier: GPL-2.0-only */
-#include <console/console.h>
#include <soc/addressmap.h>
#include <soc/gpio.h>
#include <stdint.h>