summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorKeith Hui <buurin@gmail.com>2017-07-21 21:09:21 -0400
committerMartin Roth <martinroth@google.com>2017-07-23 20:22:29 +0000
commitfb0984d30f63033a76ec0bf617c8c2a7fdce7769 (patch)
treeeb51f54cecd73b9ec1a8c599e7360ca93118b7bf /src
parentc903b9376e5ed335b0197d1707c965561635d1fa (diff)
440BX boards: Drop unused #includes from romstage
Romstage of many 440BX boards included headers that are not used. Remove them as part of a bigger cleanup effort. Change-Id: I89ddeda3c90e1a4907c05851185b69f3b29e54ba Signed-off-by: Keith Hui <buurin@gmail.com> Reviewed-on: https://review.coreboot.org/20693 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Martin Roth <martinroth@google.com>
Diffstat (limited to 'src')
-rw-r--r--src/mainboard/a-trend/atc-6220/romstage.c5
-rw-r--r--src/mainboard/a-trend/atc-6240/romstage.c4
-rw-r--r--src/mainboard/asus/p2b-ds/romstage.c4
-rw-r--r--src/mainboard/asus/p2b-ls/romstage.c4
-rw-r--r--src/mainboard/asus/p2b/romstage.c5
-rw-r--r--src/mainboard/asus/p3b-f/romstage.c4
-rw-r--r--src/mainboard/azza/pt-6ibd/romstage.c3
-rw-r--r--src/mainboard/gigabyte/ga-6bxc/romstage.c3
-rw-r--r--src/mainboard/gigabyte/ga-6bxe/romstage.c3
-rw-r--r--src/mainboard/msi/ms6119/romstage.c3
-rw-r--r--src/mainboard/msi/ms6147/romstage.c3
-rw-r--r--src/mainboard/msi/ms6156/romstage.c3
-rw-r--r--src/mainboard/nokia/ip530/romstage.c4
-rw-r--r--src/mainboard/soyo/sy-6ba-plus-iii/romstage.c3
-rw-r--r--src/mainboard/tyan/s1846/romstage.c4
15 files changed, 0 insertions, 55 deletions
diff --git a/src/mainboard/a-trend/atc-6220/romstage.c b/src/mainboard/a-trend/atc-6220/romstage.c
index 09e01835cb..6cf86c110c 100644
--- a/src/mainboard/a-trend/atc-6220/romstage.c
+++ b/src/mainboard/a-trend/atc-6220/romstage.c
@@ -14,20 +14,15 @@
* GNU General Public License for more details.
*/
-#include <stdint.h>
#include <device/pci_def.h>
-#include <arch/io.h>
#include <device/pnp_def.h>
-#include <stdlib.h>
#include <console/console.h>
#include <southbridge/intel/i82371eb/i82371eb.h>
#include <northbridge/intel/i440bx/raminit.h>
-#include <delay.h>
#include <cpu/x86/bist.h>
#include <cpu/intel/romstage.h>
#include <superio/winbond/common/winbond.h>
#include <superio/winbond/w83977tf/w83977tf.h>
-
#include <lib.h>
#define SERIAL_DEV PNP_DEV(0x3f0, W83977TF_SP1)
diff --git a/src/mainboard/a-trend/atc-6240/romstage.c b/src/mainboard/a-trend/atc-6240/romstage.c
index 11ce41b9b5..cbb0207a06 100644
--- a/src/mainboard/a-trend/atc-6240/romstage.c
+++ b/src/mainboard/a-trend/atc-6240/romstage.c
@@ -14,15 +14,11 @@
* GNU General Public License for more details.
*/
-#include <stdint.h>
-#include <stdlib.h>
#include <device/pci_def.h>
-#include <arch/io.h>
#include <device/pnp_def.h>
#include <console/console.h>
#include <southbridge/intel/i82371eb/i82371eb.h>
#include <northbridge/intel/i440bx/raminit.h>
-#include <delay.h>
#include <cpu/x86/bist.h>
#include <cpu/intel/romstage.h>
#include <superio/winbond/common/winbond.h>
diff --git a/src/mainboard/asus/p2b-ds/romstage.c b/src/mainboard/asus/p2b-ds/romstage.c
index 694f03e15a..809f1f6709 100644
--- a/src/mainboard/asus/p2b-ds/romstage.c
+++ b/src/mainboard/asus/p2b-ds/romstage.c
@@ -14,15 +14,11 @@
* GNU General Public License for more details.
*/
-#include <stdint.h>
#include <device/pci_def.h>
-#include <arch/io.h>
#include <device/pnp_def.h>
-#include <stdlib.h>
#include <console/console.h>
#include <southbridge/intel/i82371eb/i82371eb.h>
#include <northbridge/intel/i440bx/raminit.h>
-#include <delay.h>
#include <cpu/x86/bist.h>
#include <cpu/intel/romstage.h>
#include <superio/winbond/common/winbond.h>
diff --git a/src/mainboard/asus/p2b-ls/romstage.c b/src/mainboard/asus/p2b-ls/romstage.c
index acd15f7eab..5ed878fbee 100644
--- a/src/mainboard/asus/p2b-ls/romstage.c
+++ b/src/mainboard/asus/p2b-ls/romstage.c
@@ -14,15 +14,11 @@
* GNU General Public License for more details.
*/
-#include <stdint.h>
#include <device/pci_def.h>
-#include <arch/io.h>
#include <device/pnp_def.h>
-#include <stdlib.h>
#include <console/console.h>
#include <southbridge/intel/i82371eb/i82371eb.h>
#include <northbridge/intel/i440bx/raminit.h>
-#include <delay.h>
#include <cpu/x86/bist.h>
#include <cpu/intel/romstage.h>
#include <superio/winbond/common/winbond.h>
diff --git a/src/mainboard/asus/p2b/romstage.c b/src/mainboard/asus/p2b/romstage.c
index 09e01835cb..6cf86c110c 100644
--- a/src/mainboard/asus/p2b/romstage.c
+++ b/src/mainboard/asus/p2b/romstage.c
@@ -14,20 +14,15 @@
* GNU General Public License for more details.
*/
-#include <stdint.h>
#include <device/pci_def.h>
-#include <arch/io.h>
#include <device/pnp_def.h>
-#include <stdlib.h>
#include <console/console.h>
#include <southbridge/intel/i82371eb/i82371eb.h>
#include <northbridge/intel/i440bx/raminit.h>
-#include <delay.h>
#include <cpu/x86/bist.h>
#include <cpu/intel/romstage.h>
#include <superio/winbond/common/winbond.h>
#include <superio/winbond/w83977tf/w83977tf.h>
-
#include <lib.h>
#define SERIAL_DEV PNP_DEV(0x3f0, W83977TF_SP1)
diff --git a/src/mainboard/asus/p3b-f/romstage.c b/src/mainboard/asus/p3b-f/romstage.c
index 9d56d5be59..bb16c78f6f 100644
--- a/src/mainboard/asus/p3b-f/romstage.c
+++ b/src/mainboard/asus/p3b-f/romstage.c
@@ -14,15 +14,11 @@
* GNU General Public License for more details.
*/
-#include <stdint.h>
#include <device/pci_def.h>
-#include <arch/io.h>
#include <device/pnp_def.h>
-#include <stdlib.h>
#include <console/console.h>
#include <southbridge/intel/i82371eb/i82371eb.h>
#include <northbridge/intel/i440bx/raminit.h>
-#include <delay.h>
#include <cpu/x86/bist.h>
#include <cpu/intel/romstage.h>
#include <superio/winbond/common/winbond.h>
diff --git a/src/mainboard/azza/pt-6ibd/romstage.c b/src/mainboard/azza/pt-6ibd/romstage.c
index a9960db1be..c4cfbec54d 100644
--- a/src/mainboard/azza/pt-6ibd/romstage.c
+++ b/src/mainboard/azza/pt-6ibd/romstage.c
@@ -16,13 +16,10 @@
#include <stdint.h>
#include <device/pci_def.h>
-#include <arch/io.h>
#include <device/pnp_def.h>
-#include <stdlib.h>
#include <console/console.h>
#include <southbridge/intel/i82371eb/i82371eb.h>
#include <northbridge/intel/i440bx/raminit.h>
-#include <delay.h>
#include <cpu/x86/bist.h>
#include <cpu/intel/romstage.h>
#include <superio/winbond/common/winbond.h>
diff --git a/src/mainboard/gigabyte/ga-6bxc/romstage.c b/src/mainboard/gigabyte/ga-6bxc/romstage.c
index 25e00c4694..425a615e99 100644
--- a/src/mainboard/gigabyte/ga-6bxc/romstage.c
+++ b/src/mainboard/gigabyte/ga-6bxc/romstage.c
@@ -16,13 +16,10 @@
#include <stdint.h>
#include <device/pci_def.h>
-#include <arch/io.h>
#include <device/pnp_def.h>
-#include <stdlib.h>
#include <console/console.h>
#include <southbridge/intel/i82371eb/i82371eb.h>
#include <northbridge/intel/i440bx/raminit.h>
-#include <delay.h>
#include <cpu/x86/bist.h>
#include <cpu/intel/romstage.h>
#include <superio/ite/it8671f/it8671f.h>
diff --git a/src/mainboard/gigabyte/ga-6bxe/romstage.c b/src/mainboard/gigabyte/ga-6bxe/romstage.c
index e49e50ca35..85b36b979a 100644
--- a/src/mainboard/gigabyte/ga-6bxe/romstage.c
+++ b/src/mainboard/gigabyte/ga-6bxe/romstage.c
@@ -16,13 +16,10 @@
#include <stdint.h>
#include <device/pci_def.h>
-#include <arch/io.h>
#include <device/pnp_def.h>
-#include <stdlib.h>
#include <console/console.h>
#include <southbridge/intel/i82371eb/i82371eb.h>
#include <northbridge/intel/i440bx/raminit.h>
-#include <delay.h>
#include <cpu/x86/bist.h>
#include <cpu/intel/romstage.h>
#include <superio/ite/it8671f/it8671f.h>
diff --git a/src/mainboard/msi/ms6119/romstage.c b/src/mainboard/msi/ms6119/romstage.c
index 48e62fc06f..7791e9142f 100644
--- a/src/mainboard/msi/ms6119/romstage.c
+++ b/src/mainboard/msi/ms6119/romstage.c
@@ -15,14 +15,11 @@
*/
#include <stdint.h>
-#include <stdlib.h>
#include <device/pci_def.h>
-#include <arch/io.h>
#include <device/pnp_def.h>
#include <console/console.h>
#include <southbridge/intel/i82371eb/i82371eb.h>
#include <northbridge/intel/i440bx/raminit.h>
-#include <delay.h>
#include <cpu/x86/bist.h>
#include <cpu/intel/romstage.h>
#include <superio/winbond/common/winbond.h>
diff --git a/src/mainboard/msi/ms6147/romstage.c b/src/mainboard/msi/ms6147/romstage.c
index b6bb8876a5..8cda4b84f3 100644
--- a/src/mainboard/msi/ms6147/romstage.c
+++ b/src/mainboard/msi/ms6147/romstage.c
@@ -15,14 +15,11 @@
*/
#include <stdint.h>
-#include <stdlib.h>
#include <device/pci_def.h>
-#include <arch/io.h>
#include <device/pnp_def.h>
#include <console/console.h>
#include <southbridge/intel/i82371eb/i82371eb.h>
#include <northbridge/intel/i440bx/raminit.h>
-#include <delay.h>
#include <cpu/x86/bist.h>
#include <cpu/intel/romstage.h>
#include <superio/winbond/common/winbond.h>
diff --git a/src/mainboard/msi/ms6156/romstage.c b/src/mainboard/msi/ms6156/romstage.c
index a7c02cdac4..cf39f52d2c 100644
--- a/src/mainboard/msi/ms6156/romstage.c
+++ b/src/mainboard/msi/ms6156/romstage.c
@@ -15,14 +15,11 @@
*/
#include <stdint.h>
-#include <stdlib.h>
#include <device/pci_def.h>
-#include <arch/io.h>
#include <device/pnp_def.h>
#include <console/console.h>
#include <southbridge/intel/i82371eb/i82371eb.h>
#include <northbridge/intel/i440bx/raminit.h>
-#include <delay.h>
#include <cpu/x86/bist.h>
#include <cpu/intel/romstage.h>
#include <superio/winbond/common/winbond.h>
diff --git a/src/mainboard/nokia/ip530/romstage.c b/src/mainboard/nokia/ip530/romstage.c
index 7ab7124557..e647aaefed 100644
--- a/src/mainboard/nokia/ip530/romstage.c
+++ b/src/mainboard/nokia/ip530/romstage.c
@@ -14,15 +14,11 @@
* GNU General Public License for more details.
*/
-#include <stdint.h>
#include <device/pci_def.h>
-#include <arch/io.h>
#include <device/pnp_def.h>
-#include <stdlib.h>
#include <console/console.h>
#include <southbridge/intel/i82371eb/i82371eb.h>
#include <northbridge/intel/i440bx/raminit.h>
-#include <delay.h>
#include <cpu/x86/bist.h>
#include <cpu/intel/romstage.h>
#include <superio/smsc/smscsuperio/smscsuperio.h>
diff --git a/src/mainboard/soyo/sy-6ba-plus-iii/romstage.c b/src/mainboard/soyo/sy-6ba-plus-iii/romstage.c
index 360e5507c4..770a7cb654 100644
--- a/src/mainboard/soyo/sy-6ba-plus-iii/romstage.c
+++ b/src/mainboard/soyo/sy-6ba-plus-iii/romstage.c
@@ -16,13 +16,10 @@
#include <stdint.h>
#include <device/pci_def.h>
-#include <arch/io.h>
#include <device/pnp_def.h>
-#include <stdlib.h>
#include <console/console.h>
#include <southbridge/intel/i82371eb/i82371eb.h>
#include <northbridge/intel/i440bx/raminit.h>
-#include <delay.h>
#include <cpu/x86/bist.h>
#include <cpu/intel/romstage.h>
#include <superio/ite/it8671f/it8671f.h>
diff --git a/src/mainboard/tyan/s1846/romstage.c b/src/mainboard/tyan/s1846/romstage.c
index 01940ae842..4819b8a6a4 100644
--- a/src/mainboard/tyan/s1846/romstage.c
+++ b/src/mainboard/tyan/s1846/romstage.c
@@ -14,15 +14,11 @@
* GNU General Public License for more details.
*/
-#include <stdint.h>
#include <device/pci_def.h>
-#include <arch/io.h>
#include <device/pnp_def.h>
-#include <stdlib.h>
#include <console/console.h>
#include <southbridge/intel/i82371eb/i82371eb.h>
#include <northbridge/intel/i440bx/raminit.h>
-#include <delay.h>
#include <cpu/x86/bist.h>
#include <cpu/intel/romstage.h>
#include <superio/nsc/pc87309/pc87309.h>