From 6c8e4dd87b334140b0b30420389931caec3c1c22 Mon Sep 17 00:00:00 2001 From: Angel Pons Date: Fri, 3 Jul 2020 20:41:03 +0200 Subject: haswell boards: Drop unused romstage.c includes Several of these includes are no longer necessary. Get rid of them. Since "raminit.h" already includes "pei_data.h", we can omit including the latter for brevity's sake. Change-Id: Ia7e9dadf87114ca9ea4761b89909ea035cdfc38a Signed-off-by: Angel Pons Reviewed-on: https://review.coreboot.org/c/coreboot/+/43121 Reviewed-by: Tristan Corrick Tested-by: build bot (Jenkins) --- src/mainboard/asrock/b85m_pro4/romstage.c | 5 ----- src/mainboard/asrock/h81m-hds/romstage.c | 5 ----- src/mainboard/google/beltino/romstage.c | 3 --- src/mainboard/google/slippy/romstage.c | 2 -- src/mainboard/intel/baskingridge/romstage.c | 4 ---- src/mainboard/lenovo/t440p/romstage.c | 3 --- src/mainboard/supermicro/x10slm-f/romstage.c | 4 ---- 7 files changed, 26 deletions(-) diff --git a/src/mainboard/asrock/b85m_pro4/romstage.c b/src/mainboard/asrock/b85m_pro4/romstage.c index c9c12df131..a2b8607fdc 100644 --- a/src/mainboard/asrock/b85m_pro4/romstage.c +++ b/src/mainboard/asrock/b85m_pro4/romstage.c @@ -1,12 +1,7 @@ /* SPDX-License-Identifier: GPL-2.0-only */ -#include -#include -#include #include -#include #include -#include #include void mainboard_config_rcba(void) diff --git a/src/mainboard/asrock/h81m-hds/romstage.c b/src/mainboard/asrock/h81m-hds/romstage.c index 6847ff24f4..761e9d838a 100644 --- a/src/mainboard/asrock/h81m-hds/romstage.c +++ b/src/mainboard/asrock/h81m-hds/romstage.c @@ -1,12 +1,7 @@ /* SPDX-License-Identifier: GPL-2.0-only */ -#include -#include -#include #include -#include #include -#include #include void mainboard_config_rcba(void) diff --git a/src/mainboard/google/beltino/romstage.c b/src/mainboard/google/beltino/romstage.c index 525edf467f..54295a4597 100644 --- a/src/mainboard/google/beltino/romstage.c +++ b/src/mainboard/google/beltino/romstage.c @@ -1,10 +1,7 @@ /* SPDX-License-Identifier: GPL-2.0-only */ -#include -#include #include #include -#include #include void mainboard_config_rcba(void) diff --git a/src/mainboard/google/slippy/romstage.c b/src/mainboard/google/slippy/romstage.c index 614543241e..bed81c00e6 100644 --- a/src/mainboard/google/slippy/romstage.c +++ b/src/mainboard/google/slippy/romstage.c @@ -1,10 +1,8 @@ /* SPDX-License-Identifier: GPL-2.0-only */ -#include #include #include #include -#include #include "variant.h" void mainboard_config_rcba(void) diff --git a/src/mainboard/intel/baskingridge/romstage.c b/src/mainboard/intel/baskingridge/romstage.c index 6b2dfa78f3..6b7026a465 100644 --- a/src/mainboard/intel/baskingridge/romstage.c +++ b/src/mainboard/intel/baskingridge/romstage.c @@ -1,12 +1,8 @@ /* SPDX-License-Identifier: GPL-2.0-only */ -#include -#include -#include #include #include #include -#include void mainboard_config_rcba(void) { diff --git a/src/mainboard/lenovo/t440p/romstage.c b/src/mainboard/lenovo/t440p/romstage.c index 23a12aabb7..5a5f2dec7f 100644 --- a/src/mainboard/lenovo/t440p/romstage.c +++ b/src/mainboard/lenovo/t440p/romstage.c @@ -1,11 +1,8 @@ /* SPDX-License-Identifier: GPL-2.0-only */ #include -#include #include -#include #include -#include #include #include #include diff --git a/src/mainboard/supermicro/x10slm-f/romstage.c b/src/mainboard/supermicro/x10slm-f/romstage.c index 09e8df1a6f..8c383802e4 100644 --- a/src/mainboard/supermicro/x10slm-f/romstage.c +++ b/src/mainboard/supermicro/x10slm-f/romstage.c @@ -1,12 +1,8 @@ /* SPDX-License-Identifier: GPL-2.0-only */ -#include #include -#include #include -#include #include -#include void mainboard_config_rcba(void) { -- cgit v1.2.3