summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAngel Pons <th3fanbus@gmail.com>2020-07-03 20:41:03 +0200
committerAngel Pons <th3fanbus@gmail.com>2020-07-12 10:07:28 +0000
commit6c8e4dd87b334140b0b30420389931caec3c1c22 (patch)
treee7e8c2dcdc115b51bb942824eba6fcb6c2417017
parent9a369718d668601da13030e9b57cd1a3e313cf5d (diff)
downloadcoreboot-6c8e4dd87b334140b0b30420389931caec3c1c22.tar.xz
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 <th3fanbus@gmail.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/43121 Reviewed-by: Tristan Corrick <tristan@corrick.kiwi> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
-rw-r--r--src/mainboard/asrock/b85m_pro4/romstage.c5
-rw-r--r--src/mainboard/asrock/h81m-hds/romstage.c5
-rw-r--r--src/mainboard/google/beltino/romstage.c3
-rw-r--r--src/mainboard/google/slippy/romstage.c2
-rw-r--r--src/mainboard/intel/baskingridge/romstage.c4
-rw-r--r--src/mainboard/lenovo/t440p/romstage.c3
-rw-r--r--src/mainboard/supermicro/x10slm-f/romstage.c4
7 files changed, 0 insertions, 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 <stdint.h>
-#include <cpu/intel/haswell/haswell.h>
-#include <device/pnp_ops.h>
#include <northbridge/intel/haswell/haswell.h>
-#include <northbridge/intel/haswell/pei_data.h>
#include <northbridge/intel/haswell/raminit.h>
-#include <southbridge/intel/common/gpio.h>
#include <southbridge/intel/lynxpoint/pch.h>
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 <stdint.h>
-#include <cpu/intel/haswell/haswell.h>
-#include <device/pnp_ops.h>
#include <northbridge/intel/haswell/haswell.h>
-#include <northbridge/intel/haswell/pei_data.h>
#include <northbridge/intel/haswell/raminit.h>
-#include <southbridge/intel/common/gpio.h>
#include <southbridge/intel/lynxpoint/pch.h>
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 <stdint.h>
-#include <cpu/intel/haswell/haswell.h>
#include <northbridge/intel/haswell/haswell.h>
#include <northbridge/intel/haswell/raminit.h>
-#include <southbridge/intel/lynxpoint/lp_gpio.h>
#include <southbridge/intel/lynxpoint/pch.h>
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 <cpu/intel/haswell/haswell.h>
#include <northbridge/intel/haswell/haswell.h>
#include <northbridge/intel/haswell/raminit.h>
#include <southbridge/intel/lynxpoint/pch.h>
-#include <southbridge/intel/lynxpoint/lp_gpio.h>
#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 <stdint.h>
-#include <stddef.h>
-#include <cpu/intel/haswell/haswell.h>
#include <northbridge/intel/haswell/haswell.h>
#include <northbridge/intel/haswell/raminit.h>
#include <southbridge/intel/lynxpoint/pch.h>
-#include <southbridge/intel/common/gpio.h>
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 <stdint.h>
-#include <cpu/intel/haswell/haswell.h>
#include <northbridge/intel/haswell/haswell.h>
-#include <northbridge/intel/haswell/pei_data.h>
#include <northbridge/intel/haswell/raminit.h>
-#include <southbridge/intel/common/gpio.h>
#include <southbridge/intel/lynxpoint/pch.h>
#include <option.h>
#include <ec/lenovo/pmh7/pmh7.h>
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 <cpu/intel/haswell/haswell.h>
#include <northbridge/intel/haswell/haswell.h>
-#include <northbridge/intel/haswell/pei_data.h>
#include <northbridge/intel/haswell/raminit.h>
-#include <southbridge/intel/common/gpio.h>
#include <southbridge/intel/lynxpoint/pch.h>
-#include <stdint.h>
void mainboard_config_rcba(void)
{