summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorElyes Haouas <ehaouas@noos.fr>2022-12-18 09:28:31 +0100
committerFelix Held <felix-coreboot@felixheld.de>2022-12-20 12:35:57 +0000
commit17a9849010c522a9dc41eb250102735633bf5e12 (patch)
treeeb94c7c71e1415dfb1f932a6f616bcfdd54365fa
parent63444c7739f43903275311e73c58ab46f0342c6e (diff)
soc/intel/*/crashlog.[ch]: Remove unused includes
Change-Id: I126d49c27302e1ed2e00ff491d59cadda7101d12 Signed-off-by: Elyes Haouas <ehaouas@noos.fr> Reviewed-on: https://review.coreboot.org/c/coreboot/+/70924 Reviewed-by: Subrata Banik <subratabanik@google.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
-rw-r--r--src/soc/intel/alderlake/crashlog.c6
-rw-r--r--src/soc/intel/common/block/crashlog/crashlog.c4
-rw-r--r--src/soc/intel/common/block/include/intelblocks/crashlog.h5
3 files changed, 7 insertions, 8 deletions
diff --git a/src/soc/intel/alderlake/crashlog.c b/src/soc/intel/alderlake/crashlog.c
index 7bfa70baeb..b47d5644f9 100644
--- a/src/soc/intel/alderlake/crashlog.c
+++ b/src/soc/intel/alderlake/crashlog.c
@@ -1,12 +1,14 @@
/* SPDX-License-Identifier: GPL-2.0-only */
+#include <arch/bert_storage.h>
#include <console/console.h>
+#include <device/pci_ops.h>
#include <intelblocks/crashlog.h>
-#include <string.h>
+#include <intelblocks/pmc_ipc.h>
#include <soc/crashlog.h>
-#include <arch/bert_storage.h>
#include <soc/iomap.h>
#include <soc/pci_devs.h>
+#include <string.h>
/* global crashLog info */
static bool m_pmc_crashLog_support;
diff --git a/src/soc/intel/common/block/crashlog/crashlog.c b/src/soc/intel/common/block/crashlog/crashlog.c
index 2bdf2cc2eb..5949264690 100644
--- a/src/soc/intel/common/block/crashlog/crashlog.c
+++ b/src/soc/intel/common/block/crashlog/crashlog.c
@@ -1,9 +1,11 @@
/* SPDX-License-Identifier: GPL-2.0-only */
-#include <console/console.h>
#include <cbmem.h>
+#include <console/console.h>
#include <delay.h>
+#include <device/mmio.h>
#include <intelblocks/crashlog.h>
+#include <intelblocks/pmc_ipc.h>
#include <string.h>
int __weak cl_get_cpu_record_size(void)
diff --git a/src/soc/intel/common/block/include/intelblocks/crashlog.h b/src/soc/intel/common/block/include/intelblocks/crashlog.h
index 17d415e127..07dd5a2db0 100644
--- a/src/soc/intel/common/block/include/intelblocks/crashlog.h
+++ b/src/soc/intel/common/block/include/intelblocks/crashlog.h
@@ -3,12 +3,7 @@
#ifndef SOC_INTEL_COMMON_BLOCK_CRASHLOG_H
#define SOC_INTEL_COMMON_BLOCK_CRASHLOG_H
-#include <console/console.h>
-#include <device/pci_ops.h>
-#include <device/pci_def.h>
-#include <device/mmio.h>
#include <fsp/util.h>
-#include <intelblocks/pmc_ipc.h>
#include <types.h>
/* PMC CrashLog Command */