summaryrefslogtreecommitdiffstats
path: root/src/mainboard
diff options
context:
space:
mode:
authorElyes HAOUAS <ehaouas@noos.fr>2022-01-07 22:22:32 +0100
committerFelix Held <felix-coreboot@felixheld.de>2022-01-10 23:22:08 +0000
commitba6b06f3b550c184dab3f56d73b4e5ab42b7516e (patch)
tree0f08d974fc79b3748c49e2ae35001295302b0a5d /src/mainboard
parent4ceb3530c5cf3b65bbda594f98bdfc5735f59bf1 (diff)
downloadcoreboot-ba6b06f3b550c184dab3f56d73b4e5ab42b7516e.tar.gz
coreboot-ba6b06f3b550c184dab3f56d73b4e5ab42b7516e.tar.bz2
coreboot-ba6b06f3b550c184dab3f56d73b4e5ab42b7516e.zip
src/mainboard/{hp,intel}: Remove unused <console/console.h>
Found using: diff <(git grep -l '#include <console/console.h>' -- src/) <(git grep -l 'console_time_report\|console_time_get_and_reset\|do_putchar\|vprintk\|printk\|console_log_level\|console_init\|get_log_level\|CONSOLE_ENABLE\|get_console_loglevel\|die_notify\|die_with_post_code\|die\|arch_post_code\|mainboard_post\|post_code\|RAM_SPEW\|RAM_DEBUG\|BIOS_EMERG\|BIOS_ALERT\|BIOS_CRIT\|BIOS_ERR\|BIOS_WARNING\|BIOS_NOTICE\|BIOS_INFO\|BIOS_DEBUG\|BIOS_SPEW\|BIOS_NEVER' -- src/) |grep "<" Change-Id: I0345aa22b2330d002c3a4bbe5fbadc57d83d73b0 Signed-off-by: Elyes HAOUAS <ehaouas@noos.fr> Reviewed-on: https://review.coreboot.org/c/coreboot/+/60922 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Angel Pons <th3fanbus@gmail.com>
Diffstat (limited to 'src/mainboard')
-rw-r--r--src/mainboard/hp/abm/mainboard.c1
-rw-r--r--src/mainboard/hp/pavilion_m6_1035dx/mainboard.c1
-rw-r--r--src/mainboard/intel/shadowmountain/romstage.c2
3 files changed, 1 insertions, 3 deletions
diff --git a/src/mainboard/hp/abm/mainboard.c b/src/mainboard/hp/abm/mainboard.c
index acbe6601e341..8ad26c2d9d72 100644
--- a/src/mainboard/hp/abm/mainboard.c
+++ b/src/mainboard/hp/abm/mainboard.c
@@ -1,6 +1,5 @@
/* SPDX-License-Identifier: GPL-2.0-only */
-#include <console/console.h>
#include <device/device.h>
#include <southbridge/amd/common/amd_pci_util.h>
diff --git a/src/mainboard/hp/pavilion_m6_1035dx/mainboard.c b/src/mainboard/hp/pavilion_m6_1035dx/mainboard.c
index c3471ab3d8b3..d85ab2e8a10f 100644
--- a/src/mainboard/hp/pavilion_m6_1035dx/mainboard.c
+++ b/src/mainboard/hp/pavilion_m6_1035dx/mainboard.c
@@ -3,7 +3,6 @@
#include "ec.h"
#include <acpi/acpi.h>
-#include <console/console.h>
#include <cpu/x86/smm.h>
#include <device/device.h>
#include <southbridge/amd/common/amd_pci_util.h>
diff --git a/src/mainboard/intel/shadowmountain/romstage.c b/src/mainboard/intel/shadowmountain/romstage.c
index dffdcdc4a082..45572aea18df 100644
--- a/src/mainboard/intel/shadowmountain/romstage.c
+++ b/src/mainboard/intel/shadowmountain/romstage.c
@@ -1,6 +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 <spd_bin.h>