summaryrefslogtreecommitdiff
path: root/src/southbridge/amd/amd8111
diff options
context:
space:
mode:
authorKyösti Mälkki <kyosti.malkki@gmail.com>2019-03-02 20:16:23 +0200
committerPatrick Georgi <pgeorgi@google.com>2019-03-05 16:19:37 +0000
commit7362768c5097249bf8823d5c4446804f3ccd87e6 (patch)
treeefc8b34a8dcd570267e1519c16da09c0d77780aa /src/southbridge/amd/amd8111
parent1368244d487096685f1ef340ab6628be8c1d7149 (diff)
downloadcoreboot-7362768c5097249bf8823d5c4446804f3ccd87e6.tar.xz
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/amd/amd8111')
-rw-r--r--src/southbridge/amd/amd8111/amd8111_smbus.h1
-rw-r--r--src/southbridge/amd/amd8111/early_ctrl.c1
-rw-r--r--src/southbridge/amd/amd8111/early_smbus.c1
3 files changed, 3 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"