summaryrefslogtreecommitdiff
path: root/src/southbridge
diff options
context:
space:
mode:
authorKyösti Mälkki <kyosti.malkki@gmail.com>2019-03-02 19:06:17 +0200
committerPatrick Georgi <pgeorgi@google.com>2019-03-04 14:06:57 +0000
commite132d5711df1bec0a83eb9deb0f892bb22579df6 (patch)
tree9b50cad4914262923946212757216a6c7987675b /src/southbridge
parent71a652c7742aefadd3698aad771be1caec18f241 (diff)
Fix <io.h> includes
These resolved to <device/oprom/include/io.h> which included <arch/io.h> that we really wanted. Change-Id: I9aa0bdf34cd1d53e20b4494c7986f0878f4fd840 Signed-off-by: Kyösti Mälkki <kyosti.malkki@gmail.com> Reviewed-on: https://review.coreboot.org/c/31693 Reviewed-by: Arthur Heymans <arthur@aheymans.xyz> Reviewed-by: Felix Held <felix-coreboot@felixheld.de> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/southbridge')
-rw-r--r--src/southbridge/amd/agesa/hudson/smbus.c2
-rw-r--r--src/southbridge/amd/pi/hudson/smbus.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/southbridge/amd/agesa/hudson/smbus.c b/src/southbridge/amd/agesa/hudson/smbus.c
index 33bc91774b..783c324f95 100644
--- a/src/southbridge/amd/agesa/hudson/smbus.c
+++ b/src/southbridge/amd/agesa/hudson/smbus.c
@@ -16,7 +16,7 @@
#ifndef _HUDSON_SMBUS_C_
#define _HUDSON_SMBUS_C_
-#include <io.h>
+#include <arch/io.h>
#include <stdint.h>
#include "smbus.h"
diff --git a/src/southbridge/amd/pi/hudson/smbus.c b/src/southbridge/amd/pi/hudson/smbus.c
index 33bc91774b..783c324f95 100644
--- a/src/southbridge/amd/pi/hudson/smbus.c
+++ b/src/southbridge/amd/pi/hudson/smbus.c
@@ -16,7 +16,7 @@
#ifndef _HUDSON_SMBUS_C_
#define _HUDSON_SMBUS_C_
-#include <io.h>
+#include <arch/io.h>
#include <stdint.h>
#include "smbus.h"