diff options
author | Kyösti Mälkki <kyosti.malkki@gmail.com> | 2019-03-02 19:06:17 +0200 |
---|---|---|
committer | Patrick Georgi <pgeorgi@google.com> | 2019-03-04 14:06:57 +0000 |
commit | e132d5711df1bec0a83eb9deb0f892bb22579df6 (patch) | |
tree | 9b50cad4914262923946212757216a6c7987675b /src | |
parent | 71a652c7742aefadd3698aad771be1caec18f241 (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')
-rw-r--r-- | src/soc/amd/stoneyridge/smbus.c | 2 | ||||
-rw-r--r-- | src/soc/intel/denverton_ns/uart_debug.c | 1 | ||||
-rw-r--r-- | src/southbridge/amd/agesa/hudson/smbus.c | 2 | ||||
-rw-r--r-- | src/southbridge/amd/pi/hudson/smbus.c | 2 |
4 files changed, 3 insertions, 4 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) \ 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" |