From d9dea6561585d0d69f2df277a81616137230a7ba Mon Sep 17 00:00:00 2001 From: Angel Pons Date: Sun, 5 Jul 2020 15:26:05 +0200 Subject: [PATCH] soc/intel: Drop unused `#include ` In some cases, the SoC did not even select `REG_SCRIPT` in Kconfig. Change-Id: I617f332b80c534997e06a91247d1be90a85573be Signed-off-by: Angel Pons Reviewed-on: https://review.coreboot.org/c/coreboot/+/43138 Tested-by: build bot (Jenkins) Reviewed-by: Subrata Banik Reviewed-by: HAOUAS Elyes --- src/soc/intel/baytrail/sd.c | 1 - src/soc/intel/braswell/sd.c | 1 - src/soc/intel/broadwell/romstage/power_state.c | 1 - src/soc/intel/cannonlake/finalize.c | 1 - src/soc/intel/cannonlake/lpc.c | 1 - src/soc/intel/denverton_ns/cpu.c | 1 - src/soc/intel/icelake/espi.c | 1 - src/soc/intel/icelake/finalize.c | 1 - src/soc/intel/jasperlake/espi.c | 1 - src/soc/intel/jasperlake/finalize.c | 1 - src/soc/intel/skylake/finalize.c | 1 - src/soc/intel/tigerlake/espi.c | 1 - src/soc/intel/tigerlake/finalize.c | 1 - 13 files changed, 13 deletions(-) diff --git a/src/soc/intel/baytrail/sd.c b/src/soc/intel/baytrail/sd.c index 6e4179c571..57cd8f4d1e 100644 --- a/src/soc/intel/baytrail/sd.c +++ b/src/soc/intel/baytrail/sd.c @@ -5,7 +5,6 @@ #include #include #include -#include #include #include diff --git a/src/soc/intel/braswell/sd.c b/src/soc/intel/braswell/sd.c index edb5e77ca8..34dd8353e0 100644 --- a/src/soc/intel/braswell/sd.c +++ b/src/soc/intel/braswell/sd.c @@ -5,7 +5,6 @@ #include #include #include -#include #include #include diff --git a/src/soc/intel/broadwell/romstage/power_state.c b/src/soc/intel/broadwell/romstage/power_state.c index 8128458320..cb1d3e5b9c 100644 --- a/src/soc/intel/broadwell/romstage/power_state.c +++ b/src/soc/intel/broadwell/romstage/power_state.c @@ -7,7 +7,6 @@ #include #include #include -#include #include #include #include diff --git a/src/soc/intel/cannonlake/finalize.c b/src/soc/intel/cannonlake/finalize.c index 49e9d7f66a..315c67a9d3 100644 --- a/src/soc/intel/cannonlake/finalize.c +++ b/src/soc/intel/cannonlake/finalize.c @@ -11,7 +11,6 @@ #include #include #include -#include #include #include #include diff --git a/src/soc/intel/cannonlake/lpc.c b/src/soc/intel/cannonlake/lpc.c index 47a7b7193e..50af9ee360 100644 --- a/src/soc/intel/cannonlake/lpc.c +++ b/src/soc/intel/cannonlake/lpc.c @@ -10,7 +10,6 @@ #include #include #include -#include #include #include #include diff --git a/src/soc/intel/denverton_ns/cpu.c b/src/soc/intel/denverton_ns/cpu.c index 9764a3edbb..b1eda9b54d 100644 --- a/src/soc/intel/denverton_ns/cpu.c +++ b/src/soc/intel/denverton_ns/cpu.c @@ -12,7 +12,6 @@ #include #include #include -#include #include #include diff --git a/src/soc/intel/icelake/espi.c b/src/soc/intel/icelake/espi.c index 2b98d9ee49..1497c8d8e4 100644 --- a/src/soc/intel/icelake/espi.c +++ b/src/soc/intel/icelake/espi.c @@ -10,7 +10,6 @@ #include #include #include -#include #include #include #include diff --git a/src/soc/intel/icelake/finalize.c b/src/soc/intel/icelake/finalize.c index fdeaaaddde..53e3cbafb7 100644 --- a/src/soc/intel/icelake/finalize.c +++ b/src/soc/intel/icelake/finalize.c @@ -11,7 +11,6 @@ #include #include #include -#include #include #include #include diff --git a/src/soc/intel/jasperlake/espi.c b/src/soc/intel/jasperlake/espi.c index a1954fd414..bf82067b8c 100644 --- a/src/soc/intel/jasperlake/espi.c +++ b/src/soc/intel/jasperlake/espi.c @@ -10,7 +10,6 @@ #include #include #include -#include #include #include #include diff --git a/src/soc/intel/jasperlake/finalize.c b/src/soc/intel/jasperlake/finalize.c index d16080fd50..08a6babcfb 100644 --- a/src/soc/intel/jasperlake/finalize.c +++ b/src/soc/intel/jasperlake/finalize.c @@ -11,7 +11,6 @@ #include #include #include -#include #include #include #include diff --git a/src/soc/intel/skylake/finalize.c b/src/soc/intel/skylake/finalize.c index dbb451c6be..98f12a5b6c 100644 --- a/src/soc/intel/skylake/finalize.c +++ b/src/soc/intel/skylake/finalize.c @@ -15,7 +15,6 @@ #include #include #include -#include #include #include #include diff --git a/src/soc/intel/tigerlake/espi.c b/src/soc/intel/tigerlake/espi.c index 8cc83036d5..513da5a79e 100644 --- a/src/soc/intel/tigerlake/espi.c +++ b/src/soc/intel/tigerlake/espi.c @@ -16,7 +16,6 @@ #include #include #include -#include #include #include #include diff --git a/src/soc/intel/tigerlake/finalize.c b/src/soc/intel/tigerlake/finalize.c index d0dc30e056..534abd9453 100644 --- a/src/soc/intel/tigerlake/finalize.c +++ b/src/soc/intel/tigerlake/finalize.c @@ -17,7 +17,6 @@ #include #include #include -#include #include #include #include