summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/include/cpu/amd/vr.h1
-rw-r--r--src/mainboard/asus/kfsn4-dre/bootblock.c1
-rw-r--r--src/mainboard/asus/p3b-f/romstage.c1
-rw-r--r--src/mainboard/google/poppy/variants/nautilus/mainboard.c1
-rw-r--r--src/mainboard/hp/dl165_g6_fam10/bootblock.c1
-rw-r--r--src/mainboard/kontron/986lcd-m/romstage.c1
-rw-r--r--src/mainboard/lenovo/t60/mainboard.c1
-rw-r--r--src/mainboard/lenovo/z61t/mainboard.c1
-rw-r--r--src/mainboard/siemens/mc_apl1/variants/mc_apl3/mainboard.c1
-rw-r--r--src/northbridge/amd/amdfam10/setup_resource_map.c1
-rw-r--r--src/northbridge/amd/amdmct/mct_ddr3/mport_d.c1
-rw-r--r--src/northbridge/intel/pineview/romstage.c1
-rw-r--r--src/soc/amd/stoneyridge/smihandler.c1
-rw-r--r--src/soc/intel/braswell/lpc_init.c1
-rw-r--r--src/soc/intel/common/block/smbus/smbus.c1
-rw-r--r--src/soc/intel/denverton_ns/romstage.c1
-rw-r--r--src/soc/intel/quark/reg_access.c1
-rw-r--r--src/southbridge/amd/agesa/hudson/smihandler.c1
-rw-r--r--src/southbridge/amd/pi/hudson/smihandler.c1
-rw-r--r--src/southbridge/amd/sb700/smbus.c1
-rw-r--r--src/southbridge/amd/sb800/smbus.c1
21 files changed, 21 insertions, 0 deletions
diff --git a/src/include/cpu/amd/vr.h b/src/include/cpu/amd/vr.h
index 8c62e442b57e..b5a1fe44bacd 100644
--- a/src/include/cpu/amd/vr.h
+++ b/src/include/cpu/amd/vr.h
@@ -8,6 +8,7 @@
#define CPU_AMD_VR_H
#include <stdint.h>
+#include <arch/io.h>
#define VRC_INDEX 0xAC1C // Index register
#define VRC_DATA 0xAC1E // Data register
diff --git a/src/mainboard/asus/kfsn4-dre/bootblock.c b/src/mainboard/asus/kfsn4-dre/bootblock.c
index 454443f370f8..ec8b2daee177 100644
--- a/src/mainboard/asus/kfsn4-dre/bootblock.c
+++ b/src/mainboard/asus/kfsn4-dre/bootblock.c
@@ -15,6 +15,7 @@
* GNU General Public License for more details.
*/
+#include <arch/io.h>
#include <pc80/mc146818rtc.h>
#include <superio/winbond/common/winbond.h>
diff --git a/src/mainboard/asus/p3b-f/romstage.c b/src/mainboard/asus/p3b-f/romstage.c
index 4686fb564a92..387cecb5ddc5 100644
--- a/src/mainboard/asus/p3b-f/romstage.c
+++ b/src/mainboard/asus/p3b-f/romstage.c
@@ -14,6 +14,7 @@
* GNU General Public License for more details.
*/
+#include <arch/io.h>
#include <device/pci_def.h>
#include <console/console.h>
#include <southbridge/intel/i82371eb/i82371eb.h>
diff --git a/src/mainboard/google/poppy/variants/nautilus/mainboard.c b/src/mainboard/google/poppy/variants/nautilus/mainboard.c
index f11bde41f54f..08fb73f9329f 100644
--- a/src/mainboard/google/poppy/variants/nautilus/mainboard.c
+++ b/src/mainboard/google/poppy/variants/nautilus/mainboard.c
@@ -15,6 +15,7 @@
#include <baseboard/variants.h>
#include <chip.h>
+#include <arch/io.h>
#include <device/device.h>
#include <device/pci.h>
#include <device/pci_ops.h>
diff --git a/src/mainboard/hp/dl165_g6_fam10/bootblock.c b/src/mainboard/hp/dl165_g6_fam10/bootblock.c
index e1e1a42895e0..7a8856605daa 100644
--- a/src/mainboard/hp/dl165_g6_fam10/bootblock.c
+++ b/src/mainboard/hp/dl165_g6_fam10/bootblock.c
@@ -11,6 +11,7 @@
* GNU General Public License for more details.
*/
+#include <arch/io.h>
#include <device/pnp_def.h>
#define SCH4307_CONFIG_PORT 0x162e
diff --git a/src/mainboard/kontron/986lcd-m/romstage.c b/src/mainboard/kontron/986lcd-m/romstage.c
index 0777412a0fec..8a9fbf184308 100644
--- a/src/mainboard/kontron/986lcd-m/romstage.c
+++ b/src/mainboard/kontron/986lcd-m/romstage.c
@@ -17,6 +17,7 @@
#include <stdint.h>
#include <halt.h>
+#include <arch/io.h>
#include <console/console.h>
#include <cpu/intel/romstage.h>
#include <cpu/x86/bist.h>
diff --git a/src/mainboard/lenovo/t60/mainboard.c b/src/mainboard/lenovo/t60/mainboard.c
index df1f174597f4..2d998fbaa2b1 100644
--- a/src/mainboard/lenovo/t60/mainboard.c
+++ b/src/mainboard/lenovo/t60/mainboard.c
@@ -16,6 +16,7 @@
*/
#include <device/pci_def.h>
+#include <arch/io.h>
#include <device/device.h>
#include <ec/lenovo/pmh7/pmh7.h>
#include <ec/lenovo/h8/h8.h>
diff --git a/src/mainboard/lenovo/z61t/mainboard.c b/src/mainboard/lenovo/z61t/mainboard.c
index 6616b4a60b04..886b4fb40353 100644
--- a/src/mainboard/lenovo/z61t/mainboard.c
+++ b/src/mainboard/lenovo/z61t/mainboard.c
@@ -16,6 +16,7 @@
*/
#include <device/pci_def.h>
+#include <arch/io.h>
#include <device/device.h>
#include <ec/lenovo/pmh7/pmh7.h>
#include <ec/lenovo/h8/h8.h>
diff --git a/src/mainboard/siemens/mc_apl1/variants/mc_apl3/mainboard.c b/src/mainboard/siemens/mc_apl1/variants/mc_apl3/mainboard.c
index c436b02d86ed..3e2e7f09102e 100644
--- a/src/mainboard/siemens/mc_apl1/variants/mc_apl3/mainboard.c
+++ b/src/mainboard/siemens/mc_apl1/variants/mc_apl3/mainboard.c
@@ -13,6 +13,7 @@
* GNU General Public License for more details.
*/
+#include <arch/io.h>
#include <bootstate.h>
#include <cf9_reset.h>
#include <console/console.h>
diff --git a/src/northbridge/amd/amdfam10/setup_resource_map.c b/src/northbridge/amd/amdfam10/setup_resource_map.c
index 38475f387476..de2eeacd060c 100644
--- a/src/northbridge/amd/amdfam10/setup_resource_map.c
+++ b/src/northbridge/amd/amdfam10/setup_resource_map.c
@@ -14,6 +14,7 @@
* GNU General Public License for more details.
*/
+#include <arch/io.h>
#include <inttypes.h>
#include <console/console.h>
#include <device/pci_ops.h>
diff --git a/src/northbridge/amd/amdmct/mct_ddr3/mport_d.c b/src/northbridge/amd/amdmct/mct_ddr3/mport_d.c
index 76a63b558d66..3c512edcdaa9 100644
--- a/src/northbridge/amd/amdmct/mct_ddr3/mport_d.c
+++ b/src/northbridge/amd/amdmct/mct_ddr3/mport_d.c
@@ -13,6 +13,7 @@
* GNU General Public License for more details.
*/
+#include <arch/io.h>
#include <inttypes.h>
#include <string.h>
#include "mct_d.h"
diff --git a/src/northbridge/intel/pineview/romstage.c b/src/northbridge/intel/pineview/romstage.c
index 0d2cc368da5c..757e272fc322 100644
--- a/src/northbridge/intel/pineview/romstage.c
+++ b/src/northbridge/intel/pineview/romstage.c
@@ -17,6 +17,7 @@
* so this one is named with prefix mainboard.
*/
+#include <arch/io.h>
#include <lib.h>
#include <timestamp.h>
#include <console/console.h>
diff --git a/src/soc/amd/stoneyridge/smihandler.c b/src/soc/amd/stoneyridge/smihandler.c
index 4854e525530e..657ff493dc77 100644
--- a/src/soc/amd/stoneyridge/smihandler.c
+++ b/src/soc/amd/stoneyridge/smihandler.c
@@ -15,6 +15,7 @@
* GNU General Public License for more details.
*/
+#include <arch/io.h>
#include <console/console.h>
#include <cpu/x86/smm.h>
#include <cpu/x86/cache.h>
diff --git a/src/soc/intel/braswell/lpc_init.c b/src/soc/intel/braswell/lpc_init.c
index a593d30c8189..12ee42c88df0 100644
--- a/src/soc/intel/braswell/lpc_init.c
+++ b/src/soc/intel/braswell/lpc_init.c
@@ -13,6 +13,7 @@
* GNU General Public License for more details.
*/
+#include <arch/io.h>
#include <soc/gpio.h>
#include <soc/pm.h>
#include <soc/iomap.h>
diff --git a/src/soc/intel/common/block/smbus/smbus.c b/src/soc/intel/common/block/smbus/smbus.c
index 31bcc9747851..fc2257719af9 100644
--- a/src/soc/intel/common/block/smbus/smbus.c
+++ b/src/soc/intel/common/block/smbus/smbus.c
@@ -13,6 +13,7 @@
* GNU General Public License for more details.
*/
+#include <arch/io.h>
#include <device/device.h>
#include <device/path.h>
#include <device/smbus.h>
diff --git a/src/soc/intel/denverton_ns/romstage.c b/src/soc/intel/denverton_ns/romstage.c
index 5df8b7193aac..73c8269b01c5 100644
--- a/src/soc/intel/denverton_ns/romstage.c
+++ b/src/soc/intel/denverton_ns/romstage.c
@@ -14,6 +14,7 @@
* GNU General Public License for more details.
*/
+#include <arch/io.h>
#include <cbmem.h>
#include <cf9_reset.h>
#include <console/console.h>
diff --git a/src/soc/intel/quark/reg_access.c b/src/soc/intel/quark/reg_access.c
index 50a8ff0a29a1..df171f590afb 100644
--- a/src/soc/intel/quark/reg_access.c
+++ b/src/soc/intel/quark/reg_access.c
@@ -15,6 +15,7 @@
#define __SIMPLE_DEVICE__
+#include <arch/io.h>
#include <assert.h>
#include <cpu/x86/mtrr.h>
#include <console/console.h>
diff --git a/src/southbridge/amd/agesa/hudson/smihandler.c b/src/southbridge/amd/agesa/hudson/smihandler.c
index 5ef9d6a89c71..a87b75da0000 100644
--- a/src/southbridge/amd/agesa/hudson/smihandler.c
+++ b/src/southbridge/amd/agesa/hudson/smihandler.c
@@ -18,6 +18,7 @@
* SMI handler for Hudson southbridges
*/
+#include <arch/io.h>
#include "hudson.h"
#include "smi.h"
diff --git a/src/southbridge/amd/pi/hudson/smihandler.c b/src/southbridge/amd/pi/hudson/smihandler.c
index 5ef9d6a89c71..a87b75da0000 100644
--- a/src/southbridge/amd/pi/hudson/smihandler.c
+++ b/src/southbridge/amd/pi/hudson/smihandler.c
@@ -18,6 +18,7 @@
* SMI handler for Hudson southbridges
*/
+#include <arch/io.h>
#include "hudson.h"
#include "smi.h"
diff --git a/src/southbridge/amd/sb700/smbus.c b/src/southbridge/amd/sb700/smbus.c
index 58bbe4cc6a2c..9b0e8f9904ef 100644
--- a/src/southbridge/amd/sb700/smbus.c
+++ b/src/southbridge/amd/sb700/smbus.c
@@ -16,6 +16,7 @@
#ifndef _SB700_SMBUS_C_
#define _SB700_SMBUS_C_
+#include <arch/io.h>
#include "smbus.h"
extern uint8_t amd_sb700_aux_smbus;
diff --git a/src/southbridge/amd/sb800/smbus.c b/src/southbridge/amd/sb800/smbus.c
index 0803b1231b66..fef6ab80c105 100644
--- a/src/southbridge/amd/sb800/smbus.c
+++ b/src/southbridge/amd/sb800/smbus.c
@@ -16,6 +16,7 @@
#ifndef _SB800_SMBUS_C_
#define _SB800_SMBUS_C_
+#include <arch/io.h>
#include "smbus.h"
static int smbus_wait_until_ready(u32 smbus_io_base)