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>
This commit is contained in:
Kyösti Mälkki 2019-03-02 19:06:17 +02:00 committed by Patrick Georgi
parent 71a652c774
commit e132d5711d
4 changed files with 3 additions and 4 deletions

View File

@ -13,7 +13,7 @@
* GNU General Public License for more details. * GNU General Public License for more details.
*/ */
#include <io.h> #include <arch/io.h>
#include <stdint.h> #include <stdint.h>
#include <soc/smbus.h> #include <soc/smbus.h>
#include <soc/southbridge.h> #include <soc/southbridge.h>

View File

@ -17,7 +17,6 @@
#include <stdint.h> #include <stdint.h>
#include <device/pci_def.h> #include <device/pci_def.h>
#include <device/pci_ops.h> #include <device/pci_ops.h>
#include <io.h>
#include <soc/uart.h> #include <soc/uart.h>
#define MY_PCI_DEV(SEGBUS, DEV, FN) \ #define MY_PCI_DEV(SEGBUS, DEV, FN) \

View File

@ -16,7 +16,7 @@
#ifndef _HUDSON_SMBUS_C_ #ifndef _HUDSON_SMBUS_C_
#define _HUDSON_SMBUS_C_ #define _HUDSON_SMBUS_C_
#include <io.h> #include <arch/io.h>
#include <stdint.h> #include <stdint.h>
#include "smbus.h" #include "smbus.h"

View File

@ -16,7 +16,7 @@
#ifndef _HUDSON_SMBUS_C_ #ifndef _HUDSON_SMBUS_C_
#define _HUDSON_SMBUS_C_ #define _HUDSON_SMBUS_C_
#include <io.h> #include <arch/io.h>
#include <stdint.h> #include <stdint.h>
#include "smbus.h" #include "smbus.h"