diff options
author | Kyösti Mälkki <kyosti.malkki@gmail.com> | 2019-03-03 08:01:05 +0200 |
---|---|---|
committer | Kyösti Mälkki <kyosti.malkki@gmail.com> | 2019-03-04 15:57:39 +0000 |
commit | 13f66507afdcde5170546e5ca1ce5a945895eb10 (patch) | |
tree | 40c1d05a05b05b596f290c186aa59a8b4d9768ab /src/soc/intel/cannonlake | |
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>
Diffstat (limited to 'src/soc/intel/cannonlake')
-rw-r--r-- | src/soc/intel/cannonlake/acpi.c | 2 | ||||
-rw-r--r-- | src/soc/intel/cannonlake/bootblock/pch.c | 1 | ||||
-rw-r--r-- | src/soc/intel/cannonlake/finalize.c | 1 | ||||
-rw-r--r-- | src/soc/intel/cannonlake/lockdown.c | 2 | ||||
-rw-r--r-- | src/soc/intel/cannonlake/pmc.c | 1 | ||||
-rw-r--r-- | src/soc/intel/cannonlake/pmutil.c | 2 | ||||
-rw-r--r-- | src/soc/intel/cannonlake/romstage/power_state.c | 2 |
7 files changed, 7 insertions, 4 deletions
diff --git a/src/soc/intel/cannonlake/acpi.c b/src/soc/intel/cannonlake/acpi.c index 92a4711f23..127d9c8b64 100644 --- a/src/soc/intel/cannonlake/acpi.c +++ b/src/soc/intel/cannonlake/acpi.c @@ -17,7 +17,7 @@ #include <arch/acpi.h> #include <arch/acpigen.h> -#include <arch/io.h> +#include <device/mmio.h> #include <arch/smp/mpspec.h> #include <cbmem.h> #include <chip.h> diff --git a/src/soc/intel/cannonlake/bootblock/pch.c b/src/soc/intel/cannonlake/bootblock/pch.c index 5ca19e5217..018ccfc467 100644 --- a/src/soc/intel/cannonlake/bootblock/pch.c +++ b/src/soc/intel/cannonlake/bootblock/pch.c @@ -15,6 +15,7 @@ */ #include <console/console.h> +#include <device/mmio.h> #include <device/device.h> #include <device/pci_ops.h> #include <intelblocks/fast_spi.h> diff --git a/src/soc/intel/cannonlake/finalize.c b/src/soc/intel/cannonlake/finalize.c index 03ff616a60..bc4ae02d66 100644 --- a/src/soc/intel/cannonlake/finalize.c +++ b/src/soc/intel/cannonlake/finalize.c @@ -15,6 +15,7 @@ */ #include <arch/io.h> +#include <device/mmio.h> #include <bootstate.h> #include <chip.h> #include <console/console.h> diff --git a/src/soc/intel/cannonlake/lockdown.c b/src/soc/intel/cannonlake/lockdown.c index c57cde8aed..e2fcc3a46e 100644 --- a/src/soc/intel/cannonlake/lockdown.c +++ b/src/soc/intel/cannonlake/lockdown.c @@ -13,7 +13,7 @@ * GNU General Public License for more details. */ -#include <arch/io.h> +#include <device/mmio.h> #include <intelblocks/chip.h> #include <intelpch/lockdown.h> #include <soc/pm.h> diff --git a/src/soc/intel/cannonlake/pmc.c b/src/soc/intel/cannonlake/pmc.c index 84bfba06c0..931c4af89b 100644 --- a/src/soc/intel/cannonlake/pmc.c +++ b/src/soc/intel/cannonlake/pmc.c @@ -18,6 +18,7 @@ #include <bootstate.h> #include <chip.h> #include <console/console.h> +#include <device/mmio.h> #include <device/device.h> #include <device/pci_ops.h> #include <intelblocks/pmc.h> diff --git a/src/soc/intel/cannonlake/pmutil.c b/src/soc/intel/cannonlake/pmutil.c index 6783b93230..7d6ee6583c 100644 --- a/src/soc/intel/cannonlake/pmutil.c +++ b/src/soc/intel/cannonlake/pmutil.c @@ -21,7 +21,7 @@ #define __SIMPLE_DEVICE__ -#include <arch/io.h> +#include <device/mmio.h> #include <cbmem.h> #include <device/device.h> #include <device/pci.h> diff --git a/src/soc/intel/cannonlake/romstage/power_state.c b/src/soc/intel/cannonlake/romstage/power_state.c index 4214fcc06c..9137507d4b 100644 --- a/src/soc/intel/cannonlake/romstage/power_state.c +++ b/src/soc/intel/cannonlake/romstage/power_state.c @@ -14,7 +14,7 @@ * GNU General Public License for more details. */ -#include <arch/io.h> +#include <device/mmio.h> #include <console/console.h> #include <device/device.h> #include <intelblocks/pmclib.h> |