diff options
author | Kyösti Mälkki <kyosti.malkki@gmail.com> | 2019-03-02 20:16:23 +0200 |
---|---|---|
committer | Patrick Georgi <pgeorgi@google.com> | 2019-03-05 16:19:37 +0000 |
commit | 7362768c5097249bf8823d5c4446804f3ccd87e6 (patch) | |
tree | efc8b34a8dcd570267e1519c16da09c0d77780aa /src/southbridge | |
parent | 1368244d487096685f1ef340ab6628be8c1d7149 (diff) |
arch/io.h: Drop includes in fam10 romstages
These files suffer from .c includes.
Change-Id: Id836595290922fcbd108a5ed576fc640b2530711
Signed-off-by: Kyösti Mälkki <kyosti.malkki@gmail.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/31696
Reviewed-by: Patrick Georgi <pgeorgi@google.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/southbridge')
-rw-r--r-- | src/southbridge/amd/amd8111/amd8111_smbus.h | 1 | ||||
-rw-r--r-- | src/southbridge/amd/amd8111/early_ctrl.c | 1 | ||||
-rw-r--r-- | src/southbridge/amd/amd8111/early_smbus.c | 1 | ||||
-rw-r--r-- | src/southbridge/amd/sb800/early_setup.c | 1 | ||||
-rw-r--r-- | src/southbridge/broadcom/bcm5785/early_setup.c | 1 | ||||
-rw-r--r-- | src/southbridge/broadcom/bcm5785/early_smbus.c | 1 | ||||
-rw-r--r-- | src/southbridge/broadcom/bcm5785/smbus.h | 1 | ||||
-rw-r--r-- | src/southbridge/nvidia/ck804/early_setup_car.c | 1 | ||||
-rw-r--r-- | src/southbridge/nvidia/ck804/smbus.h | 1 | ||||
-rw-r--r-- | src/southbridge/nvidia/mcp55/early_setup_car.c | 2 | ||||
-rw-r--r-- | src/southbridge/nvidia/mcp55/smbus.h | 1 |
11 files changed, 12 insertions, 0 deletions
diff --git a/src/southbridge/amd/amd8111/amd8111_smbus.h b/src/southbridge/amd/amd8111/amd8111_smbus.h index 33856b389c..738696509a 100644 --- a/src/southbridge/amd/amd8111/amd8111_smbus.h +++ b/src/southbridge/amd/amd8111/amd8111_smbus.h @@ -11,6 +11,7 @@ * GNU General Public License for more details. */ +#include <arch/io.h> #include <device/smbus_def.h> #define SMBGSTATUS 0xe0 diff --git a/src/southbridge/amd/amd8111/early_ctrl.c b/src/southbridge/amd/amd8111/early_ctrl.c index 1754d23d03..8b12d83499 100644 --- a/src/southbridge/amd/amd8111/early_ctrl.c +++ b/src/southbridge/amd/amd8111/early_ctrl.c @@ -13,6 +13,7 @@ * GNU General Public License for more details. */ +#include <arch/io.h> #include <device/pci_ids.h> #include <reset.h> #include <southbridge/amd/common/reset.h> diff --git a/src/southbridge/amd/amd8111/early_smbus.c b/src/southbridge/amd/amd8111/early_smbus.c index 15a03f5306..2e6781ae00 100644 --- a/src/southbridge/amd/amd8111/early_smbus.c +++ b/src/southbridge/amd/amd8111/early_smbus.c @@ -11,6 +11,7 @@ * GNU General Public License for more details. */ +#include <arch/io.h> #include <device/pci_ops.h> #include "amd8111_smbus.h" diff --git a/src/southbridge/amd/sb800/early_setup.c b/src/southbridge/amd/sb800/early_setup.c index d7a6b88b76..6a575e316c 100644 --- a/src/southbridge/amd/sb800/early_setup.c +++ b/src/southbridge/amd/sb800/early_setup.c @@ -16,6 +16,7 @@ #ifndef _SB800_EARLY_SETUP_C_ #define _SB800_EARLY_SETUP_C_ +#include <arch/io.h> #include <reset.h> #include <southbridge/amd/common/amd_defs.h> #include <southbridge/amd/common/reset.h> diff --git a/src/southbridge/broadcom/bcm5785/early_setup.c b/src/southbridge/broadcom/bcm5785/early_setup.c index ee9967d694..a8a38f2bc9 100644 --- a/src/southbridge/broadcom/bcm5785/early_setup.c +++ b/src/southbridge/broadcom/bcm5785/early_setup.c @@ -14,6 +14,7 @@ * GNU General Public License for more details. */ +#include <arch/io.h> #include <reset.h> #include <southbridge/amd/common/reset.h> #include "bcm5785.h" diff --git a/src/southbridge/broadcom/bcm5785/early_smbus.c b/src/southbridge/broadcom/bcm5785/early_smbus.c index 260f1fc01a..bcbfb12990 100644 --- a/src/southbridge/broadcom/bcm5785/early_smbus.c +++ b/src/southbridge/broadcom/bcm5785/early_smbus.c @@ -14,6 +14,7 @@ * GNU General Public License for more details. */ +#include <arch/io.h> #include <device/pci_ops.h> #include "smbus.h" diff --git a/src/southbridge/broadcom/bcm5785/smbus.h b/src/southbridge/broadcom/bcm5785/smbus.h index 1c3c9d7dad..657d97d858 100644 --- a/src/southbridge/broadcom/bcm5785/smbus.h +++ b/src/southbridge/broadcom/bcm5785/smbus.h @@ -14,6 +14,7 @@ * GNU General Public License for more details. */ +#include <arch/io.h> #include <device/smbus_def.h> #define SMBHSTSTAT 0x0 diff --git a/src/southbridge/nvidia/ck804/early_setup_car.c b/src/southbridge/nvidia/ck804/early_setup_car.c index 25faa356e1..bc1e781115 100644 --- a/src/southbridge/nvidia/ck804/early_setup_car.c +++ b/src/southbridge/nvidia/ck804/early_setup_car.c @@ -16,6 +16,7 @@ * GNU General Public License for more details. */ +#include <arch/io.h> #include <southbridge/amd/common/reset.h> #include "ck804.h" diff --git a/src/southbridge/nvidia/ck804/smbus.h b/src/southbridge/nvidia/ck804/smbus.h index 40b8cb7dcd..cec62b3f49 100644 --- a/src/southbridge/nvidia/ck804/smbus.h +++ b/src/southbridge/nvidia/ck804/smbus.h @@ -14,6 +14,7 @@ * GNU General Public License for more details. */ +#include <arch/io.h> #include <device/smbus_def.h> #define SMBHSTSTAT 0x1 diff --git a/src/southbridge/nvidia/mcp55/early_setup_car.c b/src/southbridge/nvidia/mcp55/early_setup_car.c index cc5e539fce..582cb5254e 100644 --- a/src/southbridge/nvidia/mcp55/early_setup_car.c +++ b/src/southbridge/nvidia/mcp55/early_setup_car.c @@ -15,6 +15,8 @@ * GNU General Public License for more details. */ +#include <arch/io.h> + #ifdef UNUSED_CODE int set_ht_link_buffer_counts_chain(u8 ht_c_num, unsigned vendorid, unsigned val); diff --git a/src/southbridge/nvidia/mcp55/smbus.h b/src/southbridge/nvidia/mcp55/smbus.h index 274ccfea38..f2704525bb 100644 --- a/src/southbridge/nvidia/mcp55/smbus.h +++ b/src/southbridge/nvidia/mcp55/smbus.h @@ -17,6 +17,7 @@ * GNU General Public License for more details. */ +#include <arch/io.h> #include <device/smbus_def.h> #define SMBHSTSTAT 0x1 |