summaryrefslogtreecommitdiff
path: root/src/southbridge/broadcom/bcm5785
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/broadcom/bcm5785
parent1368244d487096685f1ef340ab6628be8c1d7149 (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/broadcom/bcm5785')
-rw-r--r--src/southbridge/broadcom/bcm5785/early_setup.c1
-rw-r--r--src/southbridge/broadcom/bcm5785/early_smbus.c1
-rw-r--r--src/southbridge/broadcom/bcm5785/smbus.h1
3 files changed, 3 insertions, 0 deletions
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