summaryrefslogtreecommitdiff
path: root/src/southbridge/amd
diff options
context:
space:
mode:
authorKyösti Mälkki <kyosti.malkki@gmail.com>2019-03-02 23:18:29 +0200
committerPatrick Georgi <pgeorgi@google.com>2019-03-04 14:07:46 +0000
commitbdaec07a859c0c05e7fd5276a15b3933da574368 (patch)
tree505cf472c2fd579367ae7ab9635d384c7e2b456a /src/southbridge/amd
parent3e6913b389736ba38e104596871e0dac78c09beb (diff)
downloadcoreboot-bdaec07a859c0c05e7fd5276a15b3933da574368.tar.xz
arch/io.h: Add missing includes
Fixes indirect includes that would break with followup work. Change-Id: I37ca01b904a0b422a4d09475377e755e167a6ab3 Signed-off-by: Kyösti Mälkki <kyosti.malkki@gmail.com> Reviewed-on: https://review.coreboot.org/c/31697 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Felix Held <felix-coreboot@felixheld.de>
Diffstat (limited to 'src/southbridge/amd')
-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
4 files changed, 4 insertions, 0 deletions
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 <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 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 <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 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 <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 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 <arch/io.h>
#include "smbus.h"
static int smbus_wait_until_ready(u32 smbus_io_base)