commit | 13f66507afdcde5170546e5ca1ce5a945895eb10 | [log] [tgz] |
---|---|---|
author | Kyösti Mälkki <kyosti.malkki@gmail.com> | Sun Mar 03 08:01:05 2019 +0200 |
committer | Kyösti Mälkki <kyosti.malkki@gmail.com> | Mon Mar 04 15:57:39 2019 +0000 |
tree | 40c1d05a05b05b596f290c186aa59a8b4d9768ab | |
parent | 065857ee7fd61b05025d7a803e82f2b9b53cbc9a [diff] |
device/mmio.h: Add include file for MMIO ops MMIO operations are arch-agnostic so the include path should not be arch/. Change-Id: I0fd70f5aeca02e98e96b980c3aca0819f5c44b98 Signed-off-by: Kyösti Mälkki <kyosti.malkki@gmail.com> Reviewed-on: https://review.coreboot.org/c/31691 Reviewed-by: Aaron Durbin <adurbin@chromium.org> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
diff --git a/src/soc/intel/common/block/fast_spi/fast_spi.c b/src/soc/intel/common/block/fast_spi/fast_spi.c index ae4abc8..d196f61 100644 --- a/src/soc/intel/common/block/fast_spi/fast_spi.c +++ b/src/soc/intel/common/block/fast_spi/fast_spi.c
@@ -13,7 +13,7 @@ * GNU General Public License for more details. */ -#include <arch/io.h> +#include <device/mmio.h> #include <assert.h> #include <device/pci_def.h> #include <device/pci_ops.h>
diff --git a/src/soc/intel/common/block/fast_spi/fast_spi_flash.c b/src/soc/intel/common/block/fast_spi/fast_spi_flash.c index 65708a6..97e231c 100644 --- a/src/soc/intel/common/block/fast_spi/fast_spi_flash.c +++ b/src/soc/intel/common/block/fast_spi/fast_spi_flash.c
@@ -14,7 +14,7 @@ */ #include <arch/early_variables.h> -#include <arch/io.h> +#include <device/mmio.h> #include <console/console.h> #include <fast_spi_def.h> #include <intelblocks/fast_spi.h>