From 244a3655e16571cc6218cc58853b66de47afcd4d Mon Sep 17 00:00:00 2001 From: Elyes Haouas Date: Thu, 19 Jan 2023 10:02:55 +0100 Subject: [PATCH] soc/intel: Remove unused Change-Id: I8432d799c9bf23058b7b903bb07f6c2b4308eeba Signed-off-by: Elyes Haouas Reviewed-on: https://review.coreboot.org/c/coreboot/+/72103 Reviewed-by: Werner Zeh Tested-by: build bot (Jenkins) --- src/soc/intel/alderlake/include/soc/gpio_defs.h | 3 --- src/soc/intel/alderlake/include/soc/gpio_defs_pch_s.h | 3 --- src/soc/intel/alderlake/include/soc/romstage.h | 1 - src/soc/intel/cannonlake/include/soc/gpio_defs.h | 3 --- src/soc/intel/cannonlake/include/soc/gpio_defs_cnp_h.h | 3 --- src/soc/intel/common/block/include/intelblocks/p2sblib.h | 1 - src/soc/intel/elkhartlake/include/soc/gpio_defs.h | 4 ---- src/soc/intel/jasperlake/include/soc/gpio_defs.h | 3 --- src/soc/intel/meteorlake/include/soc/gpio_defs.h | 3 --- src/soc/intel/meteorlake/include/soc/romstage.h | 1 - src/soc/intel/skylake/include/soc/gpio_defs.h | 4 +--- src/soc/intel/tigerlake/include/soc/gpio_defs.h | 3 --- src/soc/intel/tigerlake/include/soc/gpio_defs_pch_h.h | 3 --- src/soc/intel/xeon_sp/lbg/include/soc/gpio_soc_defs.h | 4 ---- 14 files changed, 1 insertion(+), 38 deletions(-) diff --git a/src/soc/intel/alderlake/include/soc/gpio_defs.h b/src/soc/intel/alderlake/include/soc/gpio_defs.h index a50aec9380..8e6222cc19 100644 --- a/src/soc/intel/alderlake/include/soc/gpio_defs.h +++ b/src/soc/intel/alderlake/include/soc/gpio_defs.h @@ -3,9 +3,6 @@ #ifndef _SOC_ALDERLAKE_GPIO_DEFS_H_ #define _SOC_ALDERLAKE_GPIO_DEFS_H_ -#ifndef __ACPI__ -#include -#endif #include #define GPIO_NUM_PAD_CFG_REGS 4 /* DW0, DW1, DW2, DW3 */ diff --git a/src/soc/intel/alderlake/include/soc/gpio_defs_pch_s.h b/src/soc/intel/alderlake/include/soc/gpio_defs_pch_s.h index a2ab413267..1fc3cda9ac 100644 --- a/src/soc/intel/alderlake/include/soc/gpio_defs_pch_s.h +++ b/src/soc/intel/alderlake/include/soc/gpio_defs_pch_s.h @@ -3,9 +3,6 @@ #ifndef _SOC_ALDERLAKE_GPIO_DEFS_PCH_S_H_ #define _SOC_ALDERLAKE_GPIO_DEFS_PCH_S_H_ -#ifndef __ACPI__ -#include -#endif #include #define GPIO_NUM_PAD_CFG_REGS 4 /* DW0, DW1, DW2, DW3 */ diff --git a/src/soc/intel/alderlake/include/soc/romstage.h b/src/soc/intel/alderlake/include/soc/romstage.h index 3a22d25bb3..679d538b2d 100644 --- a/src/soc/intel/alderlake/include/soc/romstage.h +++ b/src/soc/intel/alderlake/include/soc/romstage.h @@ -4,7 +4,6 @@ #define _SOC_ROMSTAGE_H_ #include -#include void mainboard_memory_init_params(FSPM_UPD *memupd); void systemagent_early_init(void); diff --git a/src/soc/intel/cannonlake/include/soc/gpio_defs.h b/src/soc/intel/cannonlake/include/soc/gpio_defs.h index 2ee078d54a..17fb7d534f 100644 --- a/src/soc/intel/cannonlake/include/soc/gpio_defs.h +++ b/src/soc/intel/cannonlake/include/soc/gpio_defs.h @@ -3,9 +3,6 @@ #ifndef _SOC_CANNONLAKE_GPIO_DEFS_H_ #define _SOC_CANNONLAKE_GPIO_DEFS_H_ -#ifndef __ACPI__ -#include -#endif #include #define GPIO_NUM_PAD_CFG_REGS 4 /* DW0, DW1, DW2, DW3 */ diff --git a/src/soc/intel/cannonlake/include/soc/gpio_defs_cnp_h.h b/src/soc/intel/cannonlake/include/soc/gpio_defs_cnp_h.h index 4f87459cc4..6e9e2b0921 100644 --- a/src/soc/intel/cannonlake/include/soc/gpio_defs_cnp_h.h +++ b/src/soc/intel/cannonlake/include/soc/gpio_defs_cnp_h.h @@ -3,9 +3,6 @@ #ifndef _SOC_CANNONLAKE_GPIO_DEFS_CNP_H_H_ #define _SOC_CANNONLAKE_GPIO_DEFS_CNP_H_H_ -#ifndef __ACPI__ -#include -#endif #include #define GPIO_NUM_PAD_CFG_REGS 4 /* DW0, DW1, DW2, DW3 */ diff --git a/src/soc/intel/common/block/include/intelblocks/p2sblib.h b/src/soc/intel/common/block/include/intelblocks/p2sblib.h index 9f6b97d6e2..122e79026e 100644 --- a/src/soc/intel/common/block/include/intelblocks/p2sblib.h +++ b/src/soc/intel/common/block/include/intelblocks/p2sblib.h @@ -3,7 +3,6 @@ #ifndef SOC_INTEL_COMMON_BLOCK_P2SBLIB_H #define SOC_INTEL_COMMON_BLOCK_P2SBLIB_H -#include #include /* P2SB generic configuration register */ diff --git a/src/soc/intel/elkhartlake/include/soc/gpio_defs.h b/src/soc/intel/elkhartlake/include/soc/gpio_defs.h index 61d7f6a9bc..ef7c6c57c5 100644 --- a/src/soc/intel/elkhartlake/include/soc/gpio_defs.h +++ b/src/soc/intel/elkhartlake/include/soc/gpio_defs.h @@ -3,12 +3,8 @@ #ifndef _SOC_ELKHARTLAKE_GPIO_DEFS_H_ #define _SOC_ELKHARTLAKE_GPIO_DEFS_H_ -#ifndef __ACPI__ -#include -#endif #include - #define GPIO_NUM_PAD_CFG_REGS 4 /* DW0, DW1, DW2, DW3 */ #define NUM_GPIO_COMx_GPI_REGS(n) \ diff --git a/src/soc/intel/jasperlake/include/soc/gpio_defs.h b/src/soc/intel/jasperlake/include/soc/gpio_defs.h index 51ef5314d9..8f6f5f7298 100644 --- a/src/soc/intel/jasperlake/include/soc/gpio_defs.h +++ b/src/soc/intel/jasperlake/include/soc/gpio_defs.h @@ -3,9 +3,6 @@ #ifndef _SOC_JASPERLAKE_GPIO_DEFS_H_ #define _SOC_JASPERLAKE_GPIO_DEFS_H_ -#ifndef __ACPI__ -#include -#endif #include #define GPIO_NUM_PAD_CFG_REGS 4 /* DW0, DW1, DW2, DW3 */ diff --git a/src/soc/intel/meteorlake/include/soc/gpio_defs.h b/src/soc/intel/meteorlake/include/soc/gpio_defs.h index 8b5d2d94fa..ca2e8dd2d3 100644 --- a/src/soc/intel/meteorlake/include/soc/gpio_defs.h +++ b/src/soc/intel/meteorlake/include/soc/gpio_defs.h @@ -3,9 +3,6 @@ #ifndef _SOC_METEORLAKE_GPIO_DEFS_H_ #define _SOC_METEORLAKE_GPIO_DEFS_H_ -#ifndef __ACPI__ -#include -#endif #include #define GPIO_NUM_PAD_CFG_REGS 4 /* DW0, DW1, DW2, DW3 */ diff --git a/src/soc/intel/meteorlake/include/soc/romstage.h b/src/soc/intel/meteorlake/include/soc/romstage.h index b9b3cf8bb6..2eaa84b7a0 100644 --- a/src/soc/intel/meteorlake/include/soc/romstage.h +++ b/src/soc/intel/meteorlake/include/soc/romstage.h @@ -4,7 +4,6 @@ #define _SOC_ROMSTAGE_H_ #include -#include #include void mainboard_update_premem_soc_chip_config(struct soc_intel_meteorlake_config *config); diff --git a/src/soc/intel/skylake/include/soc/gpio_defs.h b/src/soc/intel/skylake/include/soc/gpio_defs.h index de14bb6de9..0e98b89169 100644 --- a/src/soc/intel/skylake/include/soc/gpio_defs.h +++ b/src/soc/intel/skylake/include/soc/gpio_defs.h @@ -2,9 +2,7 @@ #ifndef _SOC_GPIO_DEFS_H_ #define _SOC_GPIO_DEFS_H_ -#ifndef __ACPI__ -#include -#endif + #if CONFIG(SKYLAKE_SOC_PCH_H) # include #else diff --git a/src/soc/intel/tigerlake/include/soc/gpio_defs.h b/src/soc/intel/tigerlake/include/soc/gpio_defs.h index f58fb55c3c..57eeaf3f0e 100644 --- a/src/soc/intel/tigerlake/include/soc/gpio_defs.h +++ b/src/soc/intel/tigerlake/include/soc/gpio_defs.h @@ -3,9 +3,6 @@ #ifndef _SOC_TIGERLAKE_GPIO_DEFS_H_ #define _SOC_TIGERLAKE_GPIO_DEFS_H_ -#ifndef __ACPI__ -#include -#endif #include #define GPIO_NUM_PAD_CFG_REGS 4 /* DW0, DW1, DW2, DW3 */ diff --git a/src/soc/intel/tigerlake/include/soc/gpio_defs_pch_h.h b/src/soc/intel/tigerlake/include/soc/gpio_defs_pch_h.h index 1a9b2f3b0d..abf99b809f 100644 --- a/src/soc/intel/tigerlake/include/soc/gpio_defs_pch_h.h +++ b/src/soc/intel/tigerlake/include/soc/gpio_defs_pch_h.h @@ -3,9 +3,6 @@ #ifndef _SOC_TIGERLAKE_GPIO_DEFS_PCH_H_H_ #define _SOC_TIGERLAKE_GPIO_DEFS_PCH_H_H_ -#ifndef __ACPI__ -#include -#endif #include #define GPIO_NUM_PAD_CFG_REGS 4 /* DW0, DW1, DW2, DW3 */ diff --git a/src/soc/intel/xeon_sp/lbg/include/soc/gpio_soc_defs.h b/src/soc/intel/xeon_sp/lbg/include/soc/gpio_soc_defs.h index 6f3ddcd6bf..52082567ca 100644 --- a/src/soc/intel/xeon_sp/lbg/include/soc/gpio_soc_defs.h +++ b/src/soc/intel/xeon_sp/lbg/include/soc/gpio_soc_defs.h @@ -3,10 +3,6 @@ #ifndef LEWISBURG_GPIO_DEFS_H #define LEWISBURG_GPIO_DEFS_H -#ifndef __ACPI__ -#include -#endif - /* GPIO Community 0 */ #define COMM_0 0 #define GPP_A 0x0