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 | |
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')
95 files changed, 98 insertions, 56 deletions
diff --git a/src/soc/intel/apollolake/acpi.c b/src/soc/intel/apollolake/acpi.c index 6780ec4860..c87b51cfbe 100644 --- a/src/soc/intel/apollolake/acpi.c +++ b/src/soc/intel/apollolake/acpi.c @@ -18,7 +18,7 @@ #include <arch/acpi.h> #include <arch/acpigen.h> -#include <arch/io.h> +#include <device/mmio.h> #include <arch/smp/mpspec.h> #include <device/pci_ops.h> #include <cbmem.h> diff --git a/src/soc/intel/apollolake/chip.c b/src/soc/intel/apollolake/chip.c index 3eed45c167..6b8479d352 100644 --- a/src/soc/intel/apollolake/chip.c +++ b/src/soc/intel/apollolake/chip.c @@ -23,6 +23,7 @@ #include <console/console.h> #include <cpu/x86/mp.h> #include <cpu/x86/msr.h> +#include <device/mmio.h> #include <device/device.h> #include <device/pci.h> #include <device/pci_ops.h> diff --git a/src/soc/intel/apollolake/cse.c b/src/soc/intel/apollolake/cse.c index 0ff7dcc1ed..85a2b197df 100644 --- a/src/soc/intel/apollolake/cse.c +++ b/src/soc/intel/apollolake/cse.c @@ -13,7 +13,7 @@ * GNU General Public License for more details. */ -#include <arch/io.h> +#include <device/mmio.h> #include <bootstate.h> #include <commonlib/region.h> #include <console/console.h> diff --git a/src/soc/intel/apollolake/pmc.c b/src/soc/intel/apollolake/pmc.c index 15ef2430ab..0400a9df85 100644 --- a/src/soc/intel/apollolake/pmc.c +++ b/src/soc/intel/apollolake/pmc.c @@ -17,6 +17,7 @@ #include "chip.h" #include <console/console.h> +#include <device/mmio.h> #include <device/device.h> #include <device/pci.h> #include <intelblocks/pmc.h> diff --git a/src/soc/intel/apollolake/pmutil.c b/src/soc/intel/apollolake/pmutil.c index e40f820471..e766c77f3f 100644 --- a/src/soc/intel/apollolake/pmutil.c +++ b/src/soc/intel/apollolake/pmutil.c @@ -19,6 +19,7 @@ #include <arch/acpi.h> #include <arch/io.h> +#include <device/mmio.h> #include <cbmem.h> #include <console/console.h> #include <cpu/x86/msr.h> diff --git a/src/soc/intel/apollolake/xdci.c b/src/soc/intel/apollolake/xdci.c index 07207b3bbb..0a85f2651c 100644 --- a/src/soc/intel/apollolake/xdci.c +++ b/src/soc/intel/apollolake/xdci.c @@ -13,7 +13,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 <device/pci.h> diff --git a/src/soc/intel/baytrail/acpi.c b/src/soc/intel/baytrail/acpi.c index b2cac4cd1e..666a9daaf3 100644 --- a/src/soc/intel/baytrail/acpi.c +++ b/src/soc/intel/baytrail/acpi.c @@ -16,7 +16,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 <console/console.h> diff --git a/src/soc/intel/baytrail/gfx.c b/src/soc/intel/baytrail/gfx.c index 5a36de57f3..73c0d152d8 100644 --- a/src/soc/intel/baytrail/gfx.c +++ b/src/soc/intel/baytrail/gfx.c @@ -13,7 +13,7 @@ * GNU General Public License for more details. */ -#include <arch/io.h> +#include <device/mmio.h> #include <device/pci_ops.h> #include <console/console.h> #include <delay.h> diff --git a/src/soc/intel/baytrail/gpio.c b/src/soc/intel/baytrail/gpio.c index 743ab9fbef..8d9ce0075e 100644 --- a/src/soc/intel/baytrail/gpio.c +++ b/src/soc/intel/baytrail/gpio.c @@ -13,6 +13,8 @@ * GNU General Public License for more details. */ +#include <arch/io.h> +#include <device/mmio.h> #include <device/pci.h> #include <console/console.h> #include <soc/gpio.h> diff --git a/src/soc/intel/baytrail/include/soc/gpio.h b/src/soc/intel/baytrail/include/soc/gpio.h index 474aaea314..2fed005c90 100644 --- a/src/soc/intel/baytrail/include/soc/gpio.h +++ b/src/soc/intel/baytrail/include/soc/gpio.h @@ -17,7 +17,7 @@ #define _BAYTRAIL_GPIO_H_ #include <stdint.h> -#include <arch/io.h> +#include <device/mmio.h> #include <soc/iomap.h> /* #define GPIO_DEBUG */ diff --git a/src/soc/intel/baytrail/iosf.c b/src/soc/intel/baytrail/iosf.c index 5496b011a3..9e308bcc1e 100644 --- a/src/soc/intel/baytrail/iosf.c +++ b/src/soc/intel/baytrail/iosf.c @@ -13,7 +13,7 @@ * GNU General Public License for more details. */ -#include <arch/io.h> +#include <device/mmio.h> #include <device/pci_ops.h> #include <soc/iosf.h> diff --git a/src/soc/intel/baytrail/lpe.c b/src/soc/intel/baytrail/lpe.c index caa37103bb..1843f08073 100644 --- a/src/soc/intel/baytrail/lpe.c +++ b/src/soc/intel/baytrail/lpe.c @@ -13,7 +13,7 @@ * GNU General Public License for more details. */ -#include <arch/io.h> +#include <device/mmio.h> #include <device/pci_ops.h> #include <cbmem.h> #include <console/console.h> diff --git a/src/soc/intel/baytrail/pmutil.c b/src/soc/intel/baytrail/pmutil.c index 5ef1f714bd..b740a03818 100644 --- a/src/soc/intel/baytrail/pmutil.c +++ b/src/soc/intel/baytrail/pmutil.c @@ -16,6 +16,7 @@ #include <stdint.h> #include <arch/acpi.h> #include <arch/io.h> +#include <device/mmio.h> #include <device/pci_ops.h> #include <cbmem.h> #include <console/console.h> diff --git a/src/soc/intel/baytrail/romstage/romstage.c b/src/soc/intel/baytrail/romstage/romstage.c index 3e0ba32a45..7ea1443ed6 100644 --- a/src/soc/intel/baytrail/romstage/romstage.c +++ b/src/soc/intel/baytrail/romstage/romstage.c @@ -16,6 +16,7 @@ #include <stddef.h> #include <arch/cpu.h> #include <arch/io.h> +#include <device/mmio.h> #include <device/pci_ops.h> #include <bootblock_common.h> #include <console/console.h> diff --git a/src/soc/intel/baytrail/sata.c b/src/soc/intel/baytrail/sata.c index adf0f96f84..e7636fe4f4 100644 --- a/src/soc/intel/baytrail/sata.c +++ b/src/soc/intel/baytrail/sata.c @@ -13,7 +13,7 @@ * GNU General Public License for more details. */ -#include <arch/io.h> +#include <device/mmio.h> #include <device/pci_ops.h> #include <soc/pci_devs.h> #include <soc/ramstage.h> diff --git a/src/soc/intel/baytrail/smm.c b/src/soc/intel/baytrail/smm.c index a65e10e55f..ec0aa8585b 100644 --- a/src/soc/intel/baytrail/smm.c +++ b/src/soc/intel/baytrail/smm.c @@ -18,6 +18,7 @@ #include <device/pci.h> #include <console/console.h> #include <arch/io.h> +#include <device/mmio.h> #include <cpu/x86/smm.h> #include <string.h> diff --git a/src/soc/intel/baytrail/southcluster.c b/src/soc/intel/baytrail/southcluster.c index 89b6b31ebf..7b01cfa8e1 100644 --- a/src/soc/intel/baytrail/southcluster.c +++ b/src/soc/intel/baytrail/southcluster.c @@ -17,6 +17,7 @@ #include <stdint.h> #include <arch/io.h> +#include <device/mmio.h> #include <device/pci_ops.h> #include <arch/acpi.h> #include <arch/cpu.h> diff --git a/src/soc/intel/baytrail/spi.c b/src/soc/intel/baytrail/spi.c index 7cbb082116..9dd89d2a8d 100644 --- a/src/soc/intel/baytrail/spi.c +++ b/src/soc/intel/baytrail/spi.c @@ -18,7 +18,7 @@ #include <string.h> #include <bootstate.h> #include <delay.h> -#include <arch/io.h> +#include <device/mmio.h> #include <device/pci_ops.h> #include <commonlib/helpers.h> #include <console/console.h> diff --git a/src/soc/intel/braswell/acpi.c b/src/soc/intel/braswell/acpi.c index b67303e6d8..4ace22aab9 100644 --- a/src/soc/intel/braswell/acpi.c +++ b/src/soc/intel/braswell/acpi.c @@ -19,7 +19,7 @@ #include <arch/acpi.h> #include <arch/acpigen.h> #include <arch/cpu.h> -#include <arch/io.h> +#include <device/mmio.h> #include <arch/smp/mpspec.h> #include <cbmem.h> #include <console/console.h> diff --git a/src/soc/intel/braswell/gpio.c b/src/soc/intel/braswell/gpio.c index a5b289401f..77547b8a8e 100644 --- a/src/soc/intel/braswell/gpio.c +++ b/src/soc/intel/braswell/gpio.c @@ -15,6 +15,8 @@ */ #include <console/console.h> +#include <arch/io.h> +#include <device/mmio.h> #include <device/pci.h> #include <soc/gpio.h> #include <soc/pm.h> diff --git a/src/soc/intel/braswell/gpio_support.c b/src/soc/intel/braswell/gpio_support.c index 5ca34ec3ab..253cfa2674 100644 --- a/src/soc/intel/braswell/gpio_support.c +++ b/src/soc/intel/braswell/gpio_support.c @@ -12,6 +12,8 @@ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. */ + +#include <device/mmio.h> #include <gpio.h> #include <console/console.h> #include <soc/gpio.h> diff --git a/src/soc/intel/braswell/include/soc/gpio.h b/src/soc/intel/braswell/include/soc/gpio.h index 894096f59a..2240ae1e4b 100644 --- a/src/soc/intel/braswell/include/soc/gpio.h +++ b/src/soc/intel/braswell/include/soc/gpio.h @@ -18,7 +18,6 @@ #define _SOC_GPIO_H_ #include <stdint.h> -#include <arch/io.h> #include <soc/gpio_defs.h> #include <soc/iomap.h> diff --git a/src/soc/intel/braswell/iosf.c b/src/soc/intel/braswell/iosf.c index aff1c3dd11..7b5374a01e 100644 --- a/src/soc/intel/braswell/iosf.c +++ b/src/soc/intel/braswell/iosf.c @@ -14,7 +14,7 @@ * GNU General Public License for more details. */ -#include <arch/io.h> +#include <device/mmio.h> #include <device/pci_ops.h> #include <console/console.h> #include <soc/iosf.h> diff --git a/src/soc/intel/braswell/lpc_init.c b/src/soc/intel/braswell/lpc_init.c index 12ee42c88d..1c89187fd7 100644 --- a/src/soc/intel/braswell/lpc_init.c +++ b/src/soc/intel/braswell/lpc_init.c @@ -16,6 +16,7 @@ #include <arch/io.h> #include <soc/gpio.h> #include <soc/pm.h> +#include <device/mmio.h> #include <soc/iomap.h> #define SUSPEND_CYCLE 1 diff --git a/src/soc/intel/braswell/lpe.c b/src/soc/intel/braswell/lpe.c index 7b7eb9b359..a06d7a658f 100644 --- a/src/soc/intel/braswell/lpe.c +++ b/src/soc/intel/braswell/lpe.c @@ -14,7 +14,7 @@ * GNU General Public License for more details. */ -#include <arch/io.h> +#include <device/mmio.h> #include <device/pci_ops.h> #include <cbmem.h> #include <console/console.h> diff --git a/src/soc/intel/braswell/pmutil.c b/src/soc/intel/braswell/pmutil.c index fbaac2e21e..271eefed08 100644 --- a/src/soc/intel/braswell/pmutil.c +++ b/src/soc/intel/braswell/pmutil.c @@ -16,6 +16,7 @@ #include <arch/acpi.h> #include <arch/io.h> +#include <device/mmio.h> #include <device/pci_ops.h> #include <cbmem.h> #include <console/console.h> diff --git a/src/soc/intel/braswell/romstage/romstage.c b/src/soc/intel/braswell/romstage/romstage.c index 38047ed429..5fe3550509 100644 --- a/src/soc/intel/braswell/romstage/romstage.c +++ b/src/soc/intel/braswell/romstage/romstage.c @@ -19,6 +19,7 @@ #include <stddef.h> #include <arch/early_variables.h> #include <arch/io.h> +#include <device/mmio.h> #include <device/pci_ops.h> #include <arch/cbfs.h> #include <chip.h> diff --git a/src/soc/intel/braswell/smihandler.c b/src/soc/intel/braswell/smihandler.c index 1129e04ccd..1f02269cec 100644 --- a/src/soc/intel/braswell/smihandler.c +++ b/src/soc/intel/braswell/smihandler.c @@ -16,6 +16,7 @@ #include <arch/hlt.h> #include <arch/io.h> +#include <device/mmio.h> #include <device/pci_ops.h> #include <console/console.h> #include <cpu/x86/cache.h> diff --git a/src/soc/intel/braswell/smm.c b/src/soc/intel/braswell/smm.c index ae0d80a8d0..6f54d78aef 100644 --- a/src/soc/intel/braswell/smm.c +++ b/src/soc/intel/braswell/smm.c @@ -16,6 +16,7 @@ */ #include <arch/io.h> +#include <device/mmio.h> #include <console/console.h> #include <cpu/x86/smm.h> #include <device/device.h> diff --git a/src/soc/intel/braswell/southcluster.c b/src/soc/intel/braswell/southcluster.c index 3cd22082b0..22fe85326a 100644 --- a/src/soc/intel/braswell/southcluster.c +++ b/src/soc/intel/braswell/southcluster.c @@ -17,6 +17,7 @@ */ #include <arch/io.h> +#include <device/mmio.h> #include <device/pci_ops.h> #include <arch/acpi.h> #include <arch/acpigen.h> diff --git a/src/soc/intel/braswell/spi.c b/src/soc/intel/braswell/spi.c index 0937268119..fa22cf7c06 100644 --- a/src/soc/intel/braswell/spi.c +++ b/src/soc/intel/braswell/spi.c @@ -14,7 +14,7 @@ */ /* This file is derived from the flashrom project. */ -#include <arch/io.h> +#include <device/mmio.h> #include <device/pci_ops.h> #include <bootstate.h> #include <commonlib/helpers.h> diff --git a/src/soc/intel/broadwell/adsp.c b/src/soc/intel/broadwell/adsp.c index 72a4b8cd92..d0296e0b2a 100644 --- a/src/soc/intel/broadwell/adsp.c +++ b/src/soc/intel/broadwell/adsp.c @@ -19,7 +19,7 @@ #include <device/pci.h> #include <device/pci_ids.h> #include <device/pci_ops.h> -#include <arch/io.h> +#include <device/mmio.h> #include <delay.h> #include <soc/adsp.h> #include <soc/device_nvs.h> diff --git a/src/soc/intel/broadwell/hda.c b/src/soc/intel/broadwell/hda.c index 3fd87dcfbc..9ef51c6cd5 100644 --- a/src/soc/intel/broadwell/hda.c +++ b/src/soc/intel/broadwell/hda.c @@ -21,7 +21,7 @@ #include <device/pci.h> #include <device/pci_ids.h> #include <device/pci_ops.h> -#include <arch/io.h> +#include <device/mmio.h> #include <delay.h> #include <soc/intel/common/hda_verb.h> #include <soc/pch.h> diff --git a/src/soc/intel/broadwell/igd.c b/src/soc/intel/broadwell/igd.c index da6db7d7c3..94ec3a72f8 100644 --- a/src/soc/intel/broadwell/igd.c +++ b/src/soc/intel/broadwell/igd.c @@ -14,7 +14,7 @@ */ #include <arch/acpi.h> -#include <arch/io.h> +#include <device/mmio.h> #include <device/pci_ops.h> #include <bootmode.h> #include <console/console.h> diff --git a/src/soc/intel/broadwell/me.c b/src/soc/intel/broadwell/me.c index fc1406d71b..73317e3e71 100644 --- a/src/soc/intel/broadwell/me.c +++ b/src/soc/intel/broadwell/me.c @@ -22,7 +22,7 @@ */ #include <arch/acpi.h> -#include <arch/io.h> +#include <device/mmio.h> #include <device/pci_ops.h> #include <console/console.h> #include <device/device.h> diff --git a/src/soc/intel/broadwell/minihd.c b/src/soc/intel/broadwell/minihd.c index a9fc3d688b..1b2489cc5c 100644 --- a/src/soc/intel/broadwell/minihd.c +++ b/src/soc/intel/broadwell/minihd.c @@ -20,7 +20,7 @@ #include <device/pci.h> #include <device/pci_ids.h> #include <device/pci_ops.h> -#include <arch/io.h> +#include <device/mmio.h> #include <delay.h> #include <stdlib.h> #include <soc/intel/common/hda_verb.h> diff --git a/src/soc/intel/broadwell/romstage/systemagent.c b/src/soc/intel/broadwell/romstage/systemagent.c index 9911ad10fa..8be5b82a9b 100644 --- a/src/soc/intel/broadwell/romstage/systemagent.c +++ b/src/soc/intel/broadwell/romstage/systemagent.c @@ -15,7 +15,7 @@ */ #include <stdlib.h> -#include <arch/io.h> +#include <device/mmio.h> #include <device/pci_ops.h> #include <device/pci_def.h> #include <reg_script.h> diff --git a/src/soc/intel/broadwell/sata.c b/src/soc/intel/broadwell/sata.c index 0853753fe3..cb08ae7d3b 100644 --- a/src/soc/intel/broadwell/sata.c +++ b/src/soc/intel/broadwell/sata.c @@ -14,7 +14,7 @@ * GNU General Public License for more details. */ -#include <arch/io.h> +#include <device/mmio.h> #include <device/pci_ops.h> #include <console/console.h> #include <device/device.h> diff --git a/src/soc/intel/broadwell/serialio.c b/src/soc/intel/broadwell/serialio.c index 9d751e5c2f..0330acb91b 100644 --- a/src/soc/intel/broadwell/serialio.c +++ b/src/soc/intel/broadwell/serialio.c @@ -13,7 +13,7 @@ * GNU General Public License for more details. */ -#include <arch/io.h> +#include <device/mmio.h> #include <device/pci_ops.h> #include <cbmem.h> #include <console/console.h> diff --git a/src/soc/intel/broadwell/smihandler.c b/src/soc/intel/broadwell/smihandler.c index 6b2dfc2314..9f5d81dc31 100644 --- a/src/soc/intel/broadwell/smihandler.c +++ b/src/soc/intel/broadwell/smihandler.c @@ -17,6 +17,7 @@ #include <delay.h> #include <types.h> #include <arch/io.h> +#include <device/mmio.h> #include <device/pci_ops.h> #include <console/console.h> #include <cpu/x86/cache.h> diff --git a/src/soc/intel/broadwell/spi.c b/src/soc/intel/broadwell/spi.c index 7770731b1f..21417cf828 100644 --- a/src/soc/intel/broadwell/spi.c +++ b/src/soc/intel/broadwell/spi.c @@ -18,7 +18,7 @@ #include <bootstate.h> #include <commonlib/helpers.h> #include <delay.h> -#include <arch/io.h> +#include <device/mmio.h> #include <device/pci_ops.h> #include <console/console.h> #include <device/device.h> diff --git a/src/soc/intel/broadwell/xhci.c b/src/soc/intel/broadwell/xhci.c index bd11807156..477998731d 100644 --- a/src/soc/intel/broadwell/xhci.c +++ b/src/soc/intel/broadwell/xhci.c @@ -18,7 +18,7 @@ #include <device/pci.h> #include <device/pci_ids.h> #include <arch/acpi.h> -#include <arch/io.h> +#include <device/mmio.h> #include <device/pci_ops.h> #include <soc/ramstage.h> #include <soc/xhci.h> 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> diff --git a/src/soc/intel/common/block/cse/cse.c b/src/soc/intel/common/block/cse/cse.c index 1d48b82293..302e6dec05 100644 --- a/src/soc/intel/common/block/cse/cse.c +++ b/src/soc/intel/common/block/cse/cse.c @@ -17,6 +17,7 @@ #include <assert.h> #include <commonlib/helpers.h> #include <console/console.h> +#include <device/mmio.h> #include <delay.h> #include <device/pci.h> #include <device/pci_ids.h> 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 ae4abc8ff1..d196f6195f 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 65708a6b19..97e231ca3f 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> diff --git a/src/soc/intel/common/block/graphics/graphics.c b/src/soc/intel/common/block/graphics/graphics.c index da2b25f158..bc2bef11c6 100644 --- a/src/soc/intel/common/block/graphics/graphics.c +++ b/src/soc/intel/common/block/graphics/graphics.c @@ -16,6 +16,7 @@ #include <assert.h> #include <console/console.h> +#include <device/mmio.h> #include <device/pci.h> #include <device/pci_ids.h> #include <intelblocks/graphics.h> diff --git a/src/soc/intel/common/block/gspi/gspi.c b/src/soc/intel/common/block/gspi/gspi.c index 445da363b9..3e58d60e2e 100644 --- a/src/soc/intel/common/block/gspi/gspi.c +++ b/src/soc/intel/common/block/gspi/gspi.c @@ -15,7 +15,7 @@ */ #include <arch/early_variables.h> -#include <arch/io.h> +#include <device/mmio.h> #include <assert.h> #include <console/console.h> #include <delay.h> diff --git a/src/soc/intel/common/block/lpss/lpss.c b/src/soc/intel/common/block/lpss/lpss.c index 6d4fb336f3..1168871d09 100644 --- a/src/soc/intel/common/block/lpss/lpss.c +++ b/src/soc/intel/common/block/lpss/lpss.c @@ -13,7 +13,7 @@ * GNU General Public License for more details. */ -#include <arch/io.h> +#include <device/mmio.h> #include <intelblocks/lpss.h> /* Clock register */ diff --git a/src/soc/intel/common/block/pcr/pcr.c b/src/soc/intel/common/block/pcr/pcr.c index e354c032fc..61991c2f55 100644 --- a/src/soc/intel/common/block/pcr/pcr.c +++ b/src/soc/intel/common/block/pcr/pcr.c @@ -13,7 +13,7 @@ * GNU General Public License for more details. */ -#include <arch/io.h> +#include <device/mmio.h> #include <assert.h> #include <console/console.h> #include <intelblocks/pcr.h> diff --git a/src/soc/intel/common/block/pmc/pmclib.c b/src/soc/intel/common/block/pmc/pmclib.c index a4696805a1..6c967adfb0 100644 --- a/src/soc/intel/common/block/pmc/pmclib.c +++ b/src/soc/intel/common/block/pmc/pmclib.c @@ -15,6 +15,7 @@ #include <arch/early_variables.h> #include <arch/io.h> +#include <device/mmio.h> #include <cbmem.h> #include <console/console.h> #include <halt.h> diff --git a/src/soc/intel/common/block/sata/sata.c b/src/soc/intel/common/block/sata/sata.c index 129a35929e..4c32520123 100644 --- a/src/soc/intel/common/block/sata/sata.c +++ b/src/soc/intel/common/block/sata/sata.c @@ -13,6 +13,7 @@ * GNU General Public License for more details. */ +#include <device/mmio.h> #include <device/device.h> #include <device/pci.h> #include <device/pci_ops.h> diff --git a/src/soc/intel/common/block/systemagent/systemagent_early.c b/src/soc/intel/common/block/systemagent/systemagent_early.c index 17df42dea9..93fa5df9c9 100644 --- a/src/soc/intel/common/block/systemagent/systemagent_early.c +++ b/src/soc/intel/common/block/systemagent/systemagent_early.c @@ -13,7 +13,7 @@ * GNU General Public License for more details. */ -#include <arch/io.h> +#include <device/mmio.h> #include <device/pci_ops.h> #include <delay.h> #include <device/device.h> diff --git a/src/soc/intel/common/hda_verb.c b/src/soc/intel/common/hda_verb.c index 58732e5eff..3edad9be1e 100644 --- a/src/soc/intel/common/hda_verb.c +++ b/src/soc/intel/common/hda_verb.c @@ -16,7 +16,7 @@ */ #include <console/console.h> -#include <arch/io.h> +#include <device/mmio.h> #include <delay.h> #include "hda_verb.h" diff --git a/src/soc/intel/denverton_ns/bootblock/uart.c b/src/soc/intel/denverton_ns/bootblock/uart.c index c0aa25fca9..955bf4b936 100644 --- a/src/soc/intel/denverton_ns/bootblock/uart.c +++ b/src/soc/intel/denverton_ns/bootblock/uart.c @@ -14,7 +14,7 @@ * GNU General Public License for more details. */ -#include <arch/io.h> +#include <device/mmio.h> #include <device/pci_ops.h> #include <device/pci_def.h> #include <fsp/soc_binding.h> diff --git a/src/soc/intel/denverton_ns/gpio_dnv.c b/src/soc/intel/denverton_ns/gpio_dnv.c index b8576ae357..b083768a54 100644 --- a/src/soc/intel/denverton_ns/gpio_dnv.c +++ b/src/soc/intel/denverton_ns/gpio_dnv.c @@ -16,7 +16,7 @@ #include <stdint.h> #include <string.h> -#include <arch/io.h> +#include <device/mmio.h> #include <console/console.h> #include <device/device.h> #include <device/pci.h> diff --git a/src/soc/intel/denverton_ns/lpc.c b/src/soc/intel/denverton_ns/lpc.c index 5f16f04393..c937709255 100644 --- a/src/soc/intel/denverton_ns/lpc.c +++ b/src/soc/intel/denverton_ns/lpc.c @@ -19,6 +19,7 @@ #include <device/pci.h> #include <device/pci_ids.h> #include <arch/io.h> +#include <device/mmio.h> #include <device/pci_ops.h> #include <arch/ioapic.h> #include <arch/acpi.h> diff --git a/src/soc/intel/denverton_ns/romstage.c b/src/soc/intel/denverton_ns/romstage.c index 73c8269b01..77364b80d2 100644 --- a/src/soc/intel/denverton_ns/romstage.c +++ b/src/soc/intel/denverton_ns/romstage.c @@ -21,6 +21,7 @@ #include <cpu/x86/mtrr.h> #include <device/pci_ops.h> #include <soc/fiamux.h> +#include <device/mmio.h> #include <soc/iomap.h> #include <soc/pci_devs.h> #include <soc/pcr.h> diff --git a/src/soc/intel/denverton_ns/sata.c b/src/soc/intel/denverton_ns/sata.c index 844a037afa..ad62e51a68 100644 --- a/src/soc/intel/denverton_ns/sata.c +++ b/src/soc/intel/denverton_ns/sata.c @@ -15,7 +15,7 @@ * */ -#include <arch/io.h> +#include <device/mmio.h> #include <device/pci_ops.h> #include <console/console.h> #include <device/device.h> diff --git a/src/soc/intel/denverton_ns/soc_util.c b/src/soc/intel/denverton_ns/soc_util.c index fcfeaf7fb2..1e44021d92 100644 --- a/src/soc/intel/denverton_ns/soc_util.c +++ b/src/soc/intel/denverton_ns/soc_util.c @@ -15,7 +15,7 @@ */ #include <stdint.h> -#include <arch/io.h> +#include <device/mmio.h> #include <device/pci_ops.h> #include <device/pci.h> #include <device/pci_def.h> diff --git a/src/soc/intel/denverton_ns/systemagent.c b/src/soc/intel/denverton_ns/systemagent.c index 65cbbfb81a..22eae36ac3 100644 --- a/src/soc/intel/denverton_ns/systemagent.c +++ b/src/soc/intel/denverton_ns/systemagent.c @@ -17,7 +17,7 @@ #include <console/console.h> #include <arch/acpi.h> -#include <arch/io.h> +#include <device/mmio.h> #include <device/pci_ops.h> #include <stdint.h> #include <delay.h> diff --git a/src/soc/intel/fsp_baytrail/acpi.c b/src/soc/intel/fsp_baytrail/acpi.c index 48568d11ff..9701a338eb 100644 --- a/src/soc/intel/fsp_baytrail/acpi.c +++ b/src/soc/intel/fsp_baytrail/acpi.c @@ -37,7 +37,7 @@ #include <soc/pmc.h> #include <soc/irq.h> #include <soc/iosf.h> -#include <arch/io.h> +#include <device/mmio.h> #include <device/pci_ops.h> #include <soc/msr.h> #include <soc/pattrs.h> diff --git a/src/soc/intel/fsp_baytrail/bootblock/bootblock.c b/src/soc/intel/fsp_baytrail/bootblock/bootblock.c index 315c1a2f1b..b471e5cf08 100644 --- a/src/soc/intel/fsp_baytrail/bootblock/bootblock.c +++ b/src/soc/intel/fsp_baytrail/bootblock/bootblock.c @@ -15,6 +15,7 @@ */ #include <arch/io.h> +#include <device/mmio.h> #include <device/pci_ops.h> #include <cpu/x86/cache.h> #include <cpu/x86/msr.h> diff --git a/src/soc/intel/fsp_baytrail/gpio.c b/src/soc/intel/fsp_baytrail/gpio.c index 3cc69b9441..282083aa55 100644 --- a/src/soc/intel/fsp_baytrail/gpio.c +++ b/src/soc/intel/fsp_baytrail/gpio.c @@ -13,6 +13,8 @@ * GNU General Public License for more details. */ +#include <arch/io.h> +#include <device/mmio.h> #include <device/pci.h> #include <console/console.h> #include <soc/gpio.h> diff --git a/src/soc/intel/fsp_baytrail/i2c.c b/src/soc/intel/fsp_baytrail/i2c.c index fbbbfe9089..68f56261d3 100644 --- a/src/soc/intel/fsp_baytrail/i2c.c +++ b/src/soc/intel/fsp_baytrail/i2c.c @@ -18,6 +18,7 @@ #include <soc/baytrail.h> #include <soc/pci_devs.h> #include <soc/iosf.h> +#include <device/mmio.h> #include <delay.h> #include <soc/i2c.h> diff --git a/src/soc/intel/fsp_baytrail/include/soc/gpio.h b/src/soc/intel/fsp_baytrail/include/soc/gpio.h index 13013db121..3549894287 100644 --- a/src/soc/intel/fsp_baytrail/include/soc/gpio.h +++ b/src/soc/intel/fsp_baytrail/include/soc/gpio.h @@ -17,7 +17,7 @@ #define _BAYTRAIL_GPIO_H_ #include <stdint.h> -#include <arch/io.h> +#include <device/mmio.h> #include <soc/iomap.h> /* #define GPIO_DEBUG */ diff --git a/src/soc/intel/fsp_baytrail/iosf.c b/src/soc/intel/fsp_baytrail/iosf.c index 252d69e29d..6308593c77 100644 --- a/src/soc/intel/fsp_baytrail/iosf.c +++ b/src/soc/intel/fsp_baytrail/iosf.c @@ -15,7 +15,7 @@ * GNU General Public License for more details. */ -#include <arch/io.h> +#include <device/mmio.h> #include <device/pci_ops.h> #include <soc/iosf.h> diff --git a/src/soc/intel/fsp_baytrail/lpe.c b/src/soc/intel/fsp_baytrail/lpe.c index a5a18b71f9..8373b91931 100644 --- a/src/soc/intel/fsp_baytrail/lpe.c +++ b/src/soc/intel/fsp_baytrail/lpe.c @@ -13,7 +13,7 @@ * GNU General Public License for more details. */ -#include <arch/io.h> +#include <device/mmio.h> #include <device/pci_ops.h> #include <cbmem.h> #include <console/console.h> diff --git a/src/soc/intel/fsp_baytrail/pmutil.c b/src/soc/intel/fsp_baytrail/pmutil.c index 03d0e8f5a1..10838e3a99 100644 --- a/src/soc/intel/fsp_baytrail/pmutil.c +++ b/src/soc/intel/fsp_baytrail/pmutil.c @@ -15,6 +15,7 @@ #include <stdint.h> #include <arch/io.h> +#include <device/mmio.h> #include <device/pci_ops.h> #include <cbmem.h> #include <console/console.h> diff --git a/src/soc/intel/fsp_baytrail/romstage/romstage.c b/src/soc/intel/fsp_baytrail/romstage/romstage.c index 83121fad07..62cc189b60 100644 --- a/src/soc/intel/fsp_baytrail/romstage/romstage.c +++ b/src/soc/intel/fsp_baytrail/romstage/romstage.c @@ -17,6 +17,7 @@ #include <stddef.h> #include <lib.h> #include <arch/io.h> +#include <device/mmio.h> #include <device/pci_ops.h> #include <arch/cbfs.h> #include <arch/early_variables.h> diff --git a/src/soc/intel/fsp_baytrail/smm.c b/src/soc/intel/fsp_baytrail/smm.c index 84f8d28d6d..651e7d13a5 100644 --- a/src/soc/intel/fsp_baytrail/smm.c +++ b/src/soc/intel/fsp_baytrail/smm.c @@ -18,6 +18,7 @@ #include <device/pci.h> #include <console/console.h> #include <arch/io.h> +#include <device/mmio.h> #include <cpu/x86/smm.h> #include <string.h> diff --git a/src/soc/intel/fsp_baytrail/southcluster.c b/src/soc/intel/fsp_baytrail/southcluster.c index 3c268084a7..8fce928a2d 100644 --- a/src/soc/intel/fsp_baytrail/southcluster.c +++ b/src/soc/intel/fsp_baytrail/southcluster.c @@ -18,6 +18,7 @@ #include <stdint.h> #include <arch/io.h> +#include <device/mmio.h> #include <device/pci_ops.h> #include <arch/ioapic.h> #include <console/console.h> diff --git a/src/soc/intel/fsp_baytrail/spi.c b/src/soc/intel/fsp_baytrail/spi.c index 025588899d..4bc924c500 100644 --- a/src/soc/intel/fsp_baytrail/spi.c +++ b/src/soc/intel/fsp_baytrail/spi.c @@ -20,7 +20,7 @@ #include <string.h> #include <commonlib/helpers.h> #include <delay.h> -#include <arch/io.h> +#include <device/mmio.h> #include <device/pci_ops.h> #include <console/console.h> #include <device/device.h> diff --git a/src/soc/intel/icelake/acpi.c b/src/soc/intel/icelake/acpi.c index 0a26ee53ee..967fe284bd 100644 --- a/src/soc/intel/icelake/acpi.c +++ b/src/soc/intel/icelake/acpi.c @@ -15,7 +15,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/icelake/bootblock/pch.c b/src/soc/intel/icelake/bootblock/pch.c index 00de28e10d..ff4d966079 100644 --- a/src/soc/intel/icelake/bootblock/pch.c +++ b/src/soc/intel/icelake/bootblock/pch.c @@ -14,6 +14,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/icelake/finalize.c b/src/soc/intel/icelake/finalize.c index a9c9ea12c3..3ada73d79c 100644 --- a/src/soc/intel/icelake/finalize.c +++ b/src/soc/intel/icelake/finalize.c @@ -14,6 +14,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/icelake/lockdown.c b/src/soc/intel/icelake/lockdown.c index 5581e1657f..8fa5e154f2 100644 --- a/src/soc/intel/icelake/lockdown.c +++ b/src/soc/intel/icelake/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/icelake/pmc.c b/src/soc/intel/icelake/pmc.c index 9d1c47f63d..ac48da24f8 100644 --- a/src/soc/intel/icelake/pmc.c +++ b/src/soc/intel/icelake/pmc.c @@ -16,6 +16,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/icelake/pmutil.c b/src/soc/intel/icelake/pmutil.c index 2f089331d3..ea9a41bcd6 100644 --- a/src/soc/intel/icelake/pmutil.c +++ b/src/soc/intel/icelake/pmutil.c @@ -20,7 +20,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/icelake/romstage/power_state.c b/src/soc/intel/icelake/romstage/power_state.c index fd25217cba..cfeffbbb1c 100644 --- a/src/soc/intel/icelake/romstage/power_state.c +++ b/src/soc/intel/icelake/romstage/power_state.c @@ -13,7 +13,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> diff --git a/src/soc/intel/quark/spi.c b/src/soc/intel/quark/spi.c index d7b29e7dc7..0822e7d28d 100644 --- a/src/soc/intel/quark/spi.c +++ b/src/soc/intel/quark/spi.c @@ -14,7 +14,7 @@ * GNU General Public License for more details. */ -#include <arch/io.h> +#include <device/mmio.h> #include <device/pci_ops.h> #include <assert.h> #include <bootstate.h> diff --git a/src/soc/intel/skylake/elog.c b/src/soc/intel/skylake/elog.c index de790fa461..7a8932b50f 100644 --- a/src/soc/intel/skylake/elog.c +++ b/src/soc/intel/skylake/elog.c @@ -17,6 +17,7 @@ #include <bootstate.h> #include <cbmem.h> #include <console/console.h> +#include <device/mmio.h> #include <device/pci_ops.h> #include <stdint.h> #include <elog.h> diff --git a/src/soc/intel/skylake/finalize.c b/src/soc/intel/skylake/finalize.c index e337d8b976..c69dffbe41 100644 --- a/src/soc/intel/skylake/finalize.c +++ b/src/soc/intel/skylake/finalize.c @@ -15,6 +15,7 @@ */ #include <arch/io.h> +#include <device/mmio.h> #include <device/pci_ops.h> #include <bootstate.h> #include <chip.h> diff --git a/src/soc/intel/skylake/include/soc/pm.h b/src/soc/intel/skylake/include/soc/pm.h index f622edbde9..24bc2a8c1d 100644 --- a/src/soc/intel/skylake/include/soc/pm.h +++ b/src/soc/intel/skylake/include/soc/pm.h @@ -18,7 +18,7 @@ #define _SOC_PM_H_ #include <arch/acpi.h> -#include <arch/io.h> +#include <device/mmio.h> #include <soc/gpe.h> #include <soc/iomap.h> #include <soc/pmc.h> diff --git a/src/soc/intel/skylake/lockdown.c b/src/soc/intel/skylake/lockdown.c index e4818dc212..864cefe0b9 100644 --- a/src/soc/intel/skylake/lockdown.c +++ b/src/soc/intel/skylake/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 <intelblocks/lpc_lib.h> #include <intelpch/lockdown.h> diff --git a/src/soc/intel/skylake/memmap.c b/src/soc/intel/skylake/memmap.c index f0ccb1dabc..bca151e522 100644 --- a/src/soc/intel/skylake/memmap.c +++ b/src/soc/intel/skylake/memmap.c @@ -15,7 +15,7 @@ */ #include <arch/ebda.h> -#include <arch/io.h> +#include <device/mmio.h> #include <cbmem.h> #include <chip.h> #include <console/console.h> diff --git a/src/soc/intel/skylake/pmc.c b/src/soc/intel/skylake/pmc.c index 5b823923ef..5ff05c26c2 100644 --- a/src/soc/intel/skylake/pmc.c +++ b/src/soc/intel/skylake/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/skylake/pmutil.c b/src/soc/intel/skylake/pmutil.c index 40075536f3..5ea09025ec 100644 --- a/src/soc/intel/skylake/pmutil.c +++ b/src/soc/intel/skylake/pmutil.c @@ -20,7 +20,7 @@ */ #include <arch/acpi.h> -#include <arch/io.h> +#include <device/mmio.h> #include <device/pci_ops.h> #include <device/device.h> #include <device/pci.h> diff --git a/src/soc/intel/skylake/thermal.c b/src/soc/intel/skylake/thermal.c index eef42b2b31..711b714b04 100644 --- a/src/soc/intel/skylake/thermal.c +++ b/src/soc/intel/skylake/thermal.c @@ -13,7 +13,7 @@ * GNU General Public License for more details. */ -#include <arch/io.h> +#include <device/mmio.h> #include <device/pci_ops.h> #include <chip.h> #include <console/console.h> |