summaryrefslogtreecommitdiff
path: root/src/soc
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/soc
parent71a652c7742aefadd3698aad771be1caec18f241 (diff)
downloadcoreboot-e132d5711df1bec0a83eb9deb0f892bb22579df6.tar.xz
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/soc')
-rw-r--r--src/soc/amd/stoneyridge/smbus.c2
-rw-r--r--src/soc/intel/denverton_ns/uart_debug.c1
2 files changed, 1 insertions, 2 deletions
diff --git a/src/soc/amd/stoneyridge/smbus.c b/src/soc/amd/stoneyridge/smbus.c
index 21750d8be9..c4a022a9a9 100644
--- a/src/soc/amd/stoneyridge/smbus.c
+++ b/src/soc/amd/stoneyridge/smbus.c
@@ -13,7 +13,7 @@
* GNU General Public License for more details.
*/
-#include <io.h>
+#include <arch/io.h>
#include <stdint.h>
#include <soc/smbus.h>
#include <soc/southbridge.h>
diff --git a/src/soc/intel/denverton_ns/uart_debug.c b/src/soc/intel/denverton_ns/uart_debug.c
index 5911a451e5..f7d523ea5e 100644
--- a/src/soc/intel/denverton_ns/uart_debug.c
+++ b/src/soc/intel/denverton_ns/uart_debug.c
@@ -17,7 +17,6 @@
#include <stdint.h>
#include <device/pci_def.h>
#include <device/pci_ops.h>
-#include <io.h>
#include <soc/uart.h>
#define MY_PCI_DEV(SEGBUS, DEV, FN) \