From 17a9849010c522a9dc41eb250102735633bf5e12 Mon Sep 17 00:00:00 2001 From: Elyes Haouas Date: Sun, 18 Dec 2022 09:28:31 +0100 Subject: [PATCH] soc/intel/*/crashlog.[ch]: Remove unused includes Change-Id: I126d49c27302e1ed2e00ff491d59cadda7101d12 Signed-off-by: Elyes Haouas Reviewed-on: https://review.coreboot.org/c/coreboot/+/70924 Reviewed-by: Subrata Banik Tested-by: build bot (Jenkins) --- src/soc/intel/alderlake/crashlog.c | 10 ++++++---- src/soc/intel/common/block/crashlog/crashlog.c | 4 +++- .../intel/common/block/include/intelblocks/crashlog.h | 5 ----- 3 files changed, 9 insertions(+), 10 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 -#include -#include -#include #include +#include +#include +#include +#include +#include #include #include +#include /* 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 #include +#include #include +#include #include +#include #include 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 -#include -#include -#include #include -#include #include /* PMC CrashLog Command */