From bdaec07a859c0c05e7fd5276a15b3933da574368 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ky=C3=B6sti=20M=C3=A4lkki?= Date: Sat, 2 Mar 2019 23:18:29 +0200 Subject: arch/io.h: Add missing includes MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Fixes indirect includes that would break with followup work. Change-Id: I37ca01b904a0b422a4d09475377e755e167a6ab3 Signed-off-by: Kyösti Mälkki Reviewed-on: https://review.coreboot.org/c/31697 Tested-by: build bot (Jenkins) Reviewed-by: Felix Held --- src/include/cpu/amd/vr.h | 1 + src/mainboard/asus/kfsn4-dre/bootblock.c | 1 + src/mainboard/asus/p3b-f/romstage.c | 1 + src/mainboard/google/poppy/variants/nautilus/mainboard.c | 1 + src/mainboard/hp/dl165_g6_fam10/bootblock.c | 1 + src/mainboard/kontron/986lcd-m/romstage.c | 1 + src/mainboard/lenovo/t60/mainboard.c | 1 + src/mainboard/lenovo/z61t/mainboard.c | 1 + src/mainboard/siemens/mc_apl1/variants/mc_apl3/mainboard.c | 1 + src/northbridge/amd/amdfam10/setup_resource_map.c | 1 + src/northbridge/amd/amdmct/mct_ddr3/mport_d.c | 1 + src/northbridge/intel/pineview/romstage.c | 1 + src/soc/amd/stoneyridge/smihandler.c | 1 + src/soc/intel/braswell/lpc_init.c | 1 + src/soc/intel/common/block/smbus/smbus.c | 1 + src/soc/intel/denverton_ns/romstage.c | 1 + src/soc/intel/quark/reg_access.c | 1 + src/southbridge/amd/agesa/hudson/smihandler.c | 1 + src/southbridge/amd/pi/hudson/smihandler.c | 1 + src/southbridge/amd/sb700/smbus.c | 1 + src/southbridge/amd/sb800/smbus.c | 1 + 21 files changed, 21 insertions(+) diff --git a/src/include/cpu/amd/vr.h b/src/include/cpu/amd/vr.h index 8c62e442b5..b5a1fe44ba 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 +#include #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 454443f370..ec8b2daee1 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 #include #include diff --git a/src/mainboard/asus/p3b-f/romstage.c b/src/mainboard/asus/p3b-f/romstage.c index 4686fb564a..387cecb5dd 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 #include #include #include diff --git a/src/mainboard/google/poppy/variants/nautilus/mainboard.c b/src/mainboard/google/poppy/variants/nautilus/mainboard.c index f11bde41f5..08fb73f932 100644 --- a/src/mainboard/google/poppy/variants/nautilus/mainboard.c +++ b/src/mainboard/google/poppy/variants/nautilus/mainboard.c @@ -15,6 +15,7 @@ #include #include +#include #include #include #include diff --git a/src/mainboard/hp/dl165_g6_fam10/bootblock.c b/src/mainboard/hp/dl165_g6_fam10/bootblock.c index e1e1a42895..7a8856605d 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 #include #define SCH4307_CONFIG_PORT 0x162e diff --git a/src/mainboard/kontron/986lcd-m/romstage.c b/src/mainboard/kontron/986lcd-m/romstage.c index 0777412a0f..8a9fbf1843 100644 --- a/src/mainboard/kontron/986lcd-m/romstage.c +++ b/src/mainboard/kontron/986lcd-m/romstage.c @@ -17,6 +17,7 @@ #include #include +#include #include #include #include diff --git a/src/mainboard/lenovo/t60/mainboard.c b/src/mainboard/lenovo/t60/mainboard.c index df1f174597..2d998fbaa2 100644 --- a/src/mainboard/lenovo/t60/mainboard.c +++ b/src/mainboard/lenovo/t60/mainboard.c @@ -16,6 +16,7 @@ */ #include +#include #include #include #include diff --git a/src/mainboard/lenovo/z61t/mainboard.c b/src/mainboard/lenovo/z61t/mainboard.c index 6616b4a60b..886b4fb403 100644 --- a/src/mainboard/lenovo/z61t/mainboard.c +++ b/src/mainboard/lenovo/z61t/mainboard.c @@ -16,6 +16,7 @@ */ #include +#include #include #include #include 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 c436b02d86..3e2e7f0910 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 #include #include #include diff --git a/src/northbridge/amd/amdfam10/setup_resource_map.c b/src/northbridge/amd/amdfam10/setup_resource_map.c index 38475f3874..de2eeacd06 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 #include #include #include diff --git a/src/northbridge/amd/amdmct/mct_ddr3/mport_d.c b/src/northbridge/amd/amdmct/mct_ddr3/mport_d.c index 76a63b558d..3c512edcda 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 #include #include #include "mct_d.h" diff --git a/src/northbridge/intel/pineview/romstage.c b/src/northbridge/intel/pineview/romstage.c index 0d2cc368da..757e272fc3 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 #include #include #include diff --git a/src/soc/amd/stoneyridge/smihandler.c b/src/soc/amd/stoneyridge/smihandler.c index 4854e52553..657ff493dc 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 #include #include #include diff --git a/src/soc/intel/braswell/lpc_init.c b/src/soc/intel/braswell/lpc_init.c index a593d30c81..12ee42c88d 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 #include #include #include diff --git a/src/soc/intel/common/block/smbus/smbus.c b/src/soc/intel/common/block/smbus/smbus.c index 31bcc97478..fc2257719a 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 #include #include #include diff --git a/src/soc/intel/denverton_ns/romstage.c b/src/soc/intel/denverton_ns/romstage.c index 5df8b7193a..73c8269b01 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 #include #include #include diff --git a/src/soc/intel/quark/reg_access.c b/src/soc/intel/quark/reg_access.c index 50a8ff0a29..df171f590a 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 #include #include #include diff --git a/src/southbridge/amd/agesa/hudson/smihandler.c b/src/southbridge/amd/agesa/hudson/smihandler.c index 5ef9d6a89c..a87b75da00 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 #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 5ef9d6a89c..a87b75da00 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 #include "hudson.h" #include "smi.h" diff --git a/src/southbridge/amd/sb700/smbus.c b/src/southbridge/amd/sb700/smbus.c index 58bbe4cc6a..9b0e8f9904 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 #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 0803b1231b..fef6ab80c1 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 #include "smbus.h" static int smbus_wait_until_ready(u32 smbus_io_base) -- cgit v1.2.3