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/southbridge | |
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/southbridge')
65 files changed, 65 insertions, 48 deletions
diff --git a/src/southbridge/amd/agesa/hudson/enable_usbdebug.c b/src/southbridge/amd/agesa/hudson/enable_usbdebug.c index 88b28f4d32..47b5990a69 100644 --- a/src/southbridge/amd/agesa/hudson/enable_usbdebug.c +++ b/src/southbridge/amd/agesa/hudson/enable_usbdebug.c @@ -18,6 +18,7 @@ #include <stdint.h> #include <arch/io.h> +#include <device/mmio.h> #include <device/pci_ehci.h> #include <device/pci_def.h> #include "hudson.h" diff --git a/src/southbridge/amd/agesa/hudson/hudson.c b/src/southbridge/amd/agesa/hudson/hudson.c index 5d32a83d91..6de016a0c8 100644 --- a/src/southbridge/amd/agesa/hudson/hudson.c +++ b/src/southbridge/amd/agesa/hudson/hudson.c @@ -15,7 +15,7 @@ #include <console/console.h> -#include <arch/io.h> +#include <device/mmio.h> #include <arch/acpi.h> #include <device/device.h> diff --git a/src/southbridge/amd/agesa/hudson/imc.c b/src/southbridge/amd/agesa/hudson/imc.c index 267f47447b..606a529c94 100644 --- a/src/southbridge/amd/agesa/hudson/imc.c +++ b/src/southbridge/amd/agesa/hudson/imc.c @@ -14,7 +14,7 @@ */ #include "imc.h" -#include <arch/io.h> +#include <device/mmio.h> #include <delay.h> #include <Porting.h> #include <AGESA.h> diff --git a/src/southbridge/amd/agesa/hudson/smi.h b/src/southbridge/amd/agesa/hudson/smi.h index b67aec39cf..d1594f3da8 100644 --- a/src/southbridge/amd/agesa/hudson/smi.h +++ b/src/southbridge/amd/agesa/hudson/smi.h @@ -21,7 +21,7 @@ #ifndef _SOUTHBRIDGE_AMD_AGESA_HUDSON_SMI_H #define _SOUTHBRIDGE_AMD_AGESA_HUDSON_SMI_H -#include <arch/io.h> +#include <device/mmio.h> /* ACPI_MMIO_BASE + 0x200 -- leave this string here so grep catches it. * This is defined by AGESA, but we dpn't include AGESA headers to avoid diff --git a/src/southbridge/amd/agesa/hudson/spi.c b/src/southbridge/amd/agesa/hudson/spi.c index ade7a02376..a1c0755da0 100644 --- a/src/southbridge/amd/agesa/hudson/spi.c +++ b/src/southbridge/amd/agesa/hudson/spi.c @@ -15,7 +15,7 @@ #include <stdint.h> #include <stdlib.h> #include <string.h> -#include <arch/io.h> +#include <device/mmio.h> #include <console/console.h> #include <spi_flash.h> #include <spi-generic.h> diff --git a/src/southbridge/amd/amd8111/nic.c b/src/southbridge/amd/amd8111/nic.c index 30601fd630..adf8af0d43 100644 --- a/src/southbridge/amd/amd8111/nic.c +++ b/src/southbridge/amd/amd8111/nic.c @@ -18,7 +18,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 "amd8111.h" diff --git a/src/southbridge/amd/cimx/sb800/late.c b/src/southbridge/amd/cimx/sb800/late.c index 872e045a1d..38a2b76dec 100644 --- a/src/southbridge/amd/cimx/sb800/late.c +++ b/src/southbridge/amd/cimx/sb800/late.c @@ -15,6 +15,7 @@ */ +#include <device/mmio.h> #include <device/device.h> #include <device/pci.h> /* device_operations */ #include <device/pci_ops.h> diff --git a/src/southbridge/amd/cimx/sb800/spi.c b/src/southbridge/amd/cimx/sb800/spi.c index 8cfa24bbc5..90fe8f3697 100644 --- a/src/southbridge/amd/cimx/sb800/spi.c +++ b/src/southbridge/amd/cimx/sb800/spi.c @@ -15,7 +15,7 @@ #include <stdint.h> #include <stdlib.h> #include <string.h> -#include <arch/io.h> +#include <device/mmio.h> #include <console/console.h> #include <spi_flash.h> #include <spi-generic.h> diff --git a/src/southbridge/amd/pi/hudson/early_setup.c b/src/southbridge/amd/pi/hudson/early_setup.c index 0bed6ad17e..1e9f189022 100644 --- a/src/southbridge/amd/pi/hudson/early_setup.c +++ b/src/southbridge/amd/pi/hudson/early_setup.c @@ -19,6 +19,7 @@ #include <assert.h> #include <stdint.h> #include <arch/io.h> +#include <device/mmio.h> #include <device/pci_ops.h> #include <arch/acpi.h> #include <console/console.h> diff --git a/src/southbridge/amd/pi/hudson/enable_usbdebug.c b/src/southbridge/amd/pi/hudson/enable_usbdebug.c index 7bea799d0a..9ad03dcc75 100644 --- a/src/southbridge/amd/pi/hudson/enable_usbdebug.c +++ b/src/southbridge/amd/pi/hudson/enable_usbdebug.c @@ -18,6 +18,7 @@ #include <stdint.h> #include <arch/io.h> +#include <device/mmio.h> #include <device/pci_ehci.h> #include <device/pci_def.h> #include "hudson.h" diff --git a/src/southbridge/amd/pi/hudson/gpio.c b/src/southbridge/amd/pi/hudson/gpio.c index d3e5cfa063..8e3c969f3f 100644 --- a/src/southbridge/amd/pi/hudson/gpio.c +++ b/src/southbridge/amd/pi/hudson/gpio.c @@ -15,7 +15,7 @@ * GNU General Public License for more details. */ -#include <arch/io.h> +#include <device/mmio.h> #include "gpio.h" int gpio_get(gpio_t gpio_num) diff --git a/src/southbridge/amd/pi/hudson/hudson.c b/src/southbridge/amd/pi/hudson/hudson.c index bf9cad0faf..4db03d8abe 100644 --- a/src/southbridge/amd/pi/hudson/hudson.c +++ b/src/southbridge/amd/pi/hudson/hudson.c @@ -16,6 +16,7 @@ #include <console/console.h> #include <arch/io.h> +#include <device/mmio.h> #include <arch/acpi.h> #include <device/device.h> diff --git a/src/southbridge/amd/pi/hudson/imc.c b/src/southbridge/amd/pi/hudson/imc.c index 4b41ab5749..461d7b41f8 100644 --- a/src/southbridge/amd/pi/hudson/imc.c +++ b/src/southbridge/amd/pi/hudson/imc.c @@ -16,7 +16,7 @@ #define __SIMPLE_DEVICE__ #include "imc.h" -#include <arch/io.h> +#include <device/mmio.h> #include <device/pci_ops.h> #include <device/device.h> #include <delay.h> diff --git a/src/southbridge/amd/pi/hudson/smi.h b/src/southbridge/amd/pi/hudson/smi.h index a75bd1ed61..dde9d6e4a7 100644 --- a/src/southbridge/amd/pi/hudson/smi.h +++ b/src/southbridge/amd/pi/hudson/smi.h @@ -21,7 +21,7 @@ #ifndef _SOUTHBRIDGE_AMD_PI_HUDSON_SMI_H #define _SOUTHBRIDGE_AMD_PI_HUDSON_SMI_H -#include <arch/io.h> +#include <device/mmio.h> /* ACPI_MMIO_BASE + 0x200 -- leave this string here so grep catches it. * This is defined by AGESA, but we dpn't include AGESA headers to avoid diff --git a/src/southbridge/amd/sb700/enable_usbdebug.c b/src/southbridge/amd/sb700/enable_usbdebug.c index 654c1acbcf..4f859c6da6 100644 --- a/src/southbridge/amd/sb700/enable_usbdebug.c +++ b/src/southbridge/amd/sb700/enable_usbdebug.c @@ -18,7 +18,7 @@ #define __SIMPLE_DEVICE__ #include <stdint.h> -#include <arch/io.h> +#include <device/mmio.h> #include <device/pci_ehci.h> #include <device/pci_def.h> #include "sb700.h" diff --git a/src/southbridge/amd/sb700/hda.c b/src/southbridge/amd/sb700/hda.c index af2c837905..bf988b72c0 100644 --- a/src/southbridge/amd/sb700/hda.c +++ b/src/southbridge/amd/sb700/hda.c @@ -18,7 +18,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 "sb700.h" diff --git a/src/southbridge/amd/sb700/sata.c b/src/southbridge/amd/sb700/sata.c index f1c05f62f6..98b8b6ad77 100644 --- a/src/southbridge/amd/sb700/sata.c +++ b/src/southbridge/amd/sb700/sata.c @@ -21,6 +21,7 @@ #include <device/pci_ids.h> #include <device/pci_ops.h> #include <arch/io.h> +#include <device/mmio.h> #include <option.h> #include "sb700.h" diff --git a/src/southbridge/amd/sb700/spi.c b/src/southbridge/amd/sb700/spi.c index 8dc142db45..6b70d9d7fc 100644 --- a/src/southbridge/amd/sb700/spi.c +++ b/src/southbridge/amd/sb700/spi.c @@ -17,7 +17,7 @@ #include <stdint.h> #include <stdlib.h> #include <string.h> -#include <arch/io.h> +#include <device/mmio.h> #include <console/console.h> #include <spi-generic.h> #include <spi_flash.h> diff --git a/src/southbridge/amd/sb700/usb.c b/src/southbridge/amd/sb700/usb.c index 3ca12f6866..9805bf6bc1 100644 --- a/src/southbridge/amd/sb700/usb.c +++ b/src/southbridge/amd/sb700/usb.c @@ -19,7 +19,7 @@ #include <device/pci_ids.h> #include <device/pci_ops.h> #include <device/pci_ehci.h> -#include <arch/io.h> +#include <device/mmio.h> #include <option.h> #include "sb700.h" diff --git a/src/southbridge/amd/sb800/enable_usbdebug.c b/src/southbridge/amd/sb800/enable_usbdebug.c index 938a4a6617..2c193cbe4c 100644 --- a/src/southbridge/amd/sb800/enable_usbdebug.c +++ b/src/southbridge/amd/sb800/enable_usbdebug.c @@ -18,6 +18,7 @@ #include <stdint.h> #include <arch/io.h> +#include <device/mmio.h> #include <device/pci_ehci.h> #include <device/pci_def.h> #include "sb800.h" diff --git a/src/southbridge/amd/sb800/hda.c b/src/southbridge/amd/sb800/hda.c index feb0eb2a2d..8cac15369d 100644 --- a/src/southbridge/amd/sb800/hda.c +++ b/src/southbridge/amd/sb800/hda.c @@ -18,7 +18,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 "sb800.h" diff --git a/src/southbridge/amd/sb800/sata.c b/src/southbridge/amd/sb800/sata.c index 9ac37947cb..48a8740122 100644 --- a/src/southbridge/amd/sb800/sata.c +++ b/src/southbridge/amd/sb800/sata.c @@ -20,6 +20,7 @@ #include <device/pci_ids.h> #include <device/pci_ops.h> #include <arch/io.h> +#include <device/mmio.h> #include "sb800.h" static int sata_drive_detect(int portnum, u16 iobar) diff --git a/src/southbridge/amd/sb800/usb.c b/src/southbridge/amd/sb800/usb.c index 9850014de1..bc8c1c664e 100644 --- a/src/southbridge/amd/sb800/usb.c +++ b/src/southbridge/amd/sb800/usb.c @@ -19,7 +19,7 @@ #include <device/pci_ids.h> #include <device/pci_ops.h> #include <device/pci_ehci.h> -#include <arch/io.h> +#include <device/mmio.h> #include "sb800.h" static struct pci_operations lops_pci = { diff --git a/src/southbridge/amd/sr5650/sr5650.c b/src/southbridge/amd/sr5650/sr5650.c index 119e4f3141..9c72750b90 100644 --- a/src/southbridge/amd/sr5650/sr5650.c +++ b/src/southbridge/amd/sr5650/sr5650.c @@ -15,7 +15,7 @@ */ #include <console/console.h> -#include <arch/io.h> +#include <device/mmio.h> #include <arch/acpi_ivrs.h> #include <device/device.h> #include <device/pci.h> diff --git a/src/southbridge/broadcom/bcm5785/sata.c b/src/southbridge/broadcom/bcm5785/sata.c index 007a2fa38c..4a9425d465 100644 --- a/src/southbridge/broadcom/bcm5785/sata.c +++ b/src/southbridge/broadcom/bcm5785/sata.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 "bcm5785.h" static void sata_init(struct device *dev) diff --git a/src/southbridge/intel/bd82x6x/azalia.c b/src/southbridge/intel/bd82x6x/azalia.c index e960b061cb..0cc9efa133 100644 --- a/src/southbridge/intel/bd82x6x/azalia.c +++ b/src/southbridge/intel/bd82x6x/azalia.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 <device/azalia_device.h> #include "pch.h" diff --git a/src/southbridge/intel/bd82x6x/early_pch.c b/src/southbridge/intel/bd82x6x/early_pch.c index 2e1c5fc2a2..b5fbfbb071 100644 --- a/src/southbridge/intel/bd82x6x/early_pch.c +++ b/src/southbridge/intel/bd82x6x/early_pch.c @@ -14,7 +14,7 @@ */ #include <string.h> -#include <arch/io.h> +#include <device/mmio.h> #include <device/pci_ops.h> #include <arch/cbfs.h> #include <ip_checksum.h> diff --git a/src/southbridge/intel/bd82x6x/early_thermal.c b/src/southbridge/intel/bd82x6x/early_thermal.c index f29ba5da6a..63da2d65f4 100644 --- a/src/southbridge/intel/bd82x6x/early_thermal.c +++ b/src/southbridge/intel/bd82x6x/early_thermal.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 "pch.h" #include "cpu/intel/model_206ax/model_206ax.h" diff --git a/src/southbridge/intel/bd82x6x/early_usb.c b/src/southbridge/intel/bd82x6x/early_usb.c index a7321c9991..17919af53a 100644 --- a/src/southbridge/intel/bd82x6x/early_usb.c +++ b/src/southbridge/intel/bd82x6x/early_usb.c @@ -15,6 +15,7 @@ */ #include <arch/io.h> +#include <device/mmio.h> #include <device/pci_ops.h> #include <device/pci_def.h> #include <northbridge/intel/sandybridge/sandybridge.h> diff --git a/src/southbridge/intel/bd82x6x/me.c b/src/southbridge/intel/bd82x6x/me.c index f5516e39e9..58c24784db 100644 --- a/src/southbridge/intel/bd82x6x/me.c +++ b/src/southbridge/intel/bd82x6x/me.c @@ -23,7 +23,7 @@ */ #include <arch/acpi.h> -#include <arch/io.h> +#include <device/mmio.h> #include <device/pci_ops.h> #include <console/console.h> #include <device/pci_ids.h> diff --git a/src/southbridge/intel/bd82x6x/me_8.x.c b/src/southbridge/intel/bd82x6x/me_8.x.c index 951c8ab4e4..bdd57cdd33 100644 --- a/src/southbridge/intel/bd82x6x/me_8.x.c +++ b/src/southbridge/intel/bd82x6x/me_8.x.c @@ -23,7 +23,7 @@ */ #include <arch/acpi.h> -#include <arch/io.h> +#include <device/mmio.h> #include <device/pci_ops.h> #include <console/console.h> #include <device/pci_ids.h> diff --git a/src/southbridge/intel/bd82x6x/sata.c b/src/southbridge/intel/bd82x6x/sata.c index 02d478ccb0..3ee0a5983b 100644 --- a/src/southbridge/intel/bd82x6x/sata.c +++ b/src/southbridge/intel/bd82x6x/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/southbridge/intel/bd82x6x/usb_ehci.c b/src/southbridge/intel/bd82x6x/usb_ehci.c index b4060e526f..e98b8bef7a 100644 --- a/src/southbridge/intel/bd82x6x/usb_ehci.c +++ b/src/southbridge/intel/bd82x6x/usb_ehci.c @@ -20,7 +20,7 @@ #include <device/pci_ids.h> #include "pch.h" #include <device/pci_ehci.h> -#include <arch/io.h> +#include <device/mmio.h> #include <device/pci_ops.h> static void usb_ehci_init(struct device *dev) diff --git a/src/southbridge/intel/common/spi.c b/src/southbridge/intel/common/spi.c index 429de8d447..a030ff4ef5 100644 --- a/src/southbridge/intel/common/spi.c +++ b/src/southbridge/intel/common/spi.c @@ -22,7 +22,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/southbridge/intel/fsp_rangeley/early_init.c b/src/southbridge/intel/fsp_rangeley/early_init.c index 05e2812134..32e3bb5f4f 100644 --- a/src/southbridge/intel/fsp_rangeley/early_init.c +++ b/src/southbridge/intel/fsp_rangeley/early_init.c @@ -19,6 +19,7 @@ #include <stdlib.h> #include <console/console.h> #include <arch/io.h> +#include <device/mmio.h> #include <device/pci_ops.h> #include <device/pci_def.h> #include <pc80/mc146818rtc.h> diff --git a/src/southbridge/intel/fsp_rangeley/gpio.c b/src/southbridge/intel/fsp_rangeley/gpio.c index 740587a23c..831b1696c4 100644 --- a/src/southbridge/intel/fsp_rangeley/gpio.c +++ b/src/southbridge/intel/fsp_rangeley/gpio.c @@ -17,6 +17,7 @@ #include <stdint.h> #include <string.h> #include <arch/io.h> +#include <device/mmio.h> #include <device/pci_ops.h> #include "soc.h" diff --git a/src/southbridge/intel/fsp_rangeley/lpc.c b/src/southbridge/intel/fsp_rangeley/lpc.c index 4dee6362fb..b93bc09a62 100644 --- a/src/southbridge/intel/fsp_rangeley/lpc.c +++ b/src/southbridge/intel/fsp_rangeley/lpc.c @@ -23,6 +23,7 @@ #include <pc80/isa-dma.h> #include <pc80/i8259.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/southbridge/intel/fsp_rangeley/romstage.c b/src/southbridge/intel/fsp_rangeley/romstage.c index 39d4362635..65001cfff1 100644 --- a/src/southbridge/intel/fsp_rangeley/romstage.c +++ b/src/southbridge/intel/fsp_rangeley/romstage.c @@ -19,6 +19,7 @@ #include <lib.h> #include <timestamp.h> #include <arch/io.h> +#include <device/mmio.h> #include <device/pci_ops.h> #include <device/pci_def.h> #include <cpu/x86/lapic.h> diff --git a/src/southbridge/intel/fsp_rangeley/sata.c b/src/southbridge/intel/fsp_rangeley/sata.c index c4d6fdaf49..3f72a3dfe9 100644 --- a/src/southbridge/intel/fsp_rangeley/sata.c +++ b/src/southbridge/intel/fsp_rangeley/sata.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 <console/console.h> #include <device/device.h> diff --git a/src/southbridge/intel/fsp_rangeley/spi.c b/src/southbridge/intel/fsp_rangeley/spi.c index 34d0fa2111..99400fcbeb 100644 --- a/src/southbridge/intel/fsp_rangeley/spi.c +++ b/src/southbridge/intel/fsp_rangeley/spi.c @@ -19,7 +19,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/southbridge/intel/i82801gx/azalia.c b/src/southbridge/intel/i82801gx/azalia.c index f1866a5116..7bf48ef7b0 100644 --- a/src/southbridge/intel/i82801gx/azalia.c +++ b/src/southbridge/intel/i82801gx/azalia.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 <device/azalia_device.h> #include "i82801gx.h" diff --git a/src/southbridge/intel/i82801gx/usb_ehci.c b/src/southbridge/intel/i82801gx/usb_ehci.c index 9b79aff5c3..cbefe20540 100644 --- a/src/southbridge/intel/i82801gx/usb_ehci.c +++ b/src/southbridge/intel/i82801gx/usb_ehci.c @@ -20,7 +20,7 @@ #include <device/pci_ids.h> #include "i82801gx.h" #include <device/pci_ehci.h> -#include <arch/io.h> +#include <device/mmio.h> #include <device/pci_ops.h> static void usb_ehci_init(struct device *dev) diff --git a/src/southbridge/intel/i82801ix/hdaudio.c b/src/southbridge/intel/i82801ix/hdaudio.c index d6d72e1803..e47f6e0fcb 100644 --- a/src/southbridge/intel/i82801ix/hdaudio.c +++ b/src/southbridge/intel/i82801ix/hdaudio.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 <device/azalia_device.h> #include "i82801ix.h" diff --git a/src/southbridge/intel/i82801ix/sata.c b/src/southbridge/intel/i82801ix/sata.c index 65422c8344..0e7f35bce8 100644 --- a/src/southbridge/intel/i82801ix/sata.c +++ b/src/southbridge/intel/i82801ix/sata.c @@ -16,6 +16,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/southbridge/intel/i82801ix/thermal.c b/src/southbridge/intel/i82801ix/thermal.c index 325eb08aae..7316f951c2 100644 --- a/src/southbridge/intel/i82801ix/thermal.c +++ b/src/southbridge/intel/i82801ix/thermal.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 <device/device.h> #include <device/pci.h> diff --git a/src/southbridge/intel/i82801jx/hdaudio.c b/src/southbridge/intel/i82801jx/hdaudio.c index afde2cf6e2..1e852c0cd2 100644 --- a/src/southbridge/intel/i82801jx/hdaudio.c +++ b/src/southbridge/intel/i82801jx/hdaudio.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 <device/azalia_device.h> #include "i82801jx.h" diff --git a/src/southbridge/intel/i82801jx/sata.c b/src/southbridge/intel/i82801jx/sata.c index bb175e6eb1..bd035de742 100644 --- a/src/southbridge/intel/i82801jx/sata.c +++ b/src/southbridge/intel/i82801jx/sata.c @@ -16,6 +16,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/southbridge/intel/i82801jx/thermal.c b/src/southbridge/intel/i82801jx/thermal.c index d3f0122f22..ac4c596f28 100644 --- a/src/southbridge/intel/i82801jx/thermal.c +++ b/src/southbridge/intel/i82801jx/thermal.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 <device/device.h> #include <device/pci.h> diff --git a/src/southbridge/intel/ibexpeak/azalia.c b/src/southbridge/intel/ibexpeak/azalia.c index 7f3e6cdee4..3cec2a9d9f 100644 --- a/src/southbridge/intel/ibexpeak/azalia.c +++ b/src/southbridge/intel/ibexpeak/azalia.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 <device/azalia_device.h> #include "pch.h" diff --git a/src/southbridge/intel/ibexpeak/early_thermal.c b/src/southbridge/intel/ibexpeak/early_thermal.c index 6c9f794fc2..defe145404 100644 --- a/src/southbridge/intel/ibexpeak/early_thermal.c +++ b/src/southbridge/intel/ibexpeak/early_thermal.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 "pch.h" #include "cpu/intel/model_2065x/model_2065x.h" diff --git a/src/southbridge/intel/ibexpeak/lpc.c b/src/southbridge/intel/ibexpeak/lpc.c index 7ae178ef65..51b44381de 100644 --- a/src/southbridge/intel/ibexpeak/lpc.c +++ b/src/southbridge/intel/ibexpeak/lpc.c @@ -23,6 +23,7 @@ #include <pc80/isa-dma.h> #include <pc80/i8259.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/southbridge/intel/ibexpeak/me.c b/src/southbridge/intel/ibexpeak/me.c index 8eafd355c0..d774f80f03 100644 --- a/src/southbridge/intel/ibexpeak/me.c +++ b/src/southbridge/intel/ibexpeak/me.c @@ -23,7 +23,7 @@ */ #include <arch/acpi.h> -#include <arch/io.h> +#include <device/mmio.h> #include <device/pci_ops.h> #include <console/console.h> #include <device/pci_ids.h> diff --git a/src/southbridge/intel/ibexpeak/sata.c b/src/southbridge/intel/ibexpeak/sata.c index ea666663b2..2c24bbf64f 100644 --- a/src/southbridge/intel/ibexpeak/sata.c +++ b/src/southbridge/intel/ibexpeak/sata.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 <console/console.h> #include <device/device.h> diff --git a/src/southbridge/intel/ibexpeak/thermal.c b/src/southbridge/intel/ibexpeak/thermal.c index bafc83ba31..ca8492b7b3 100644 --- a/src/southbridge/intel/ibexpeak/thermal.c +++ b/src/southbridge/intel/ibexpeak/thermal.c @@ -19,7 +19,7 @@ #include <device/pci.h> #include <device/pci_ids.h> #include "pch.h" -#include <arch/io.h> +#include <device/mmio.h> #include <device/pci_ops.h> static void thermal_init(struct device *dev) diff --git a/src/southbridge/intel/ibexpeak/usb_ehci.c b/src/southbridge/intel/ibexpeak/usb_ehci.c index b67a96a1e2..4eacd1b9aa 100644 --- a/src/southbridge/intel/ibexpeak/usb_ehci.c +++ b/src/southbridge/intel/ibexpeak/usb_ehci.c @@ -21,7 +21,7 @@ #include <device/pci_ids.h> #include "pch.h" #include <device/pci_ehci.h> -#include <arch/io.h> +#include <device/mmio.h> #include <device/pci_ops.h> static void usb_ehci_init(struct device *dev) diff --git a/src/southbridge/intel/lynxpoint/azalia.c b/src/southbridge/intel/lynxpoint/azalia.c index 38db1a47fc..5dd46b2ef5 100644 --- a/src/southbridge/intel/lynxpoint/azalia.c +++ b/src/southbridge/intel/lynxpoint/azalia.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 <device/azalia_device.h> #include "pch.h" diff --git a/src/southbridge/intel/lynxpoint/hda_verb.c b/src/southbridge/intel/lynxpoint/hda_verb.c index 93a004eb79..1b3c695175 100644 --- a/src/southbridge/intel/lynxpoint/hda_verb.c +++ b/src/southbridge/intel/lynxpoint/hda_verb.c @@ -16,7 +16,7 @@ */ #include <console/console.h> -#include <arch/io.h> +#include <device/mmio.h> #include <delay.h> #include "pch.h" #include "hda_verb.h" diff --git a/src/southbridge/intel/lynxpoint/me_9.x.c b/src/southbridge/intel/lynxpoint/me_9.x.c index 08085afb58..450091c623 100644 --- a/src/southbridge/intel/lynxpoint/me_9.x.c +++ b/src/southbridge/intel/lynxpoint/me_9.x.c @@ -23,7 +23,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/southbridge/intel/lynxpoint/sata.c b/src/southbridge/intel/lynxpoint/sata.c index aa18f4a59b..97b55e1d29 100644 --- a/src/southbridge/intel/lynxpoint/sata.c +++ b/src/southbridge/intel/lynxpoint/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/southbridge/intel/lynxpoint/serialio.c b/src/southbridge/intel/lynxpoint/serialio.c index 44c9a07882..5224f688ba 100644 --- a/src/southbridge/intel/lynxpoint/serialio.c +++ b/src/southbridge/intel/lynxpoint/serialio.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/southbridge/intel/lynxpoint/usb_ehci.c b/src/southbridge/intel/lynxpoint/usb_ehci.c index 977dcfac40..b54e36b8f8 100644 --- a/src/southbridge/intel/lynxpoint/usb_ehci.c +++ b/src/southbridge/intel/lynxpoint/usb_ehci.c @@ -20,7 +20,7 @@ #include <device/pci.h> #include <device/pci_ids.h> #include <device/pci_ehci.h> -#include <arch/io.h> +#include <device/mmio.h> #include <device/pci_ops.h> #include "pch.h" diff --git a/src/southbridge/intel/lynxpoint/usb_xhci.c b/src/southbridge/intel/lynxpoint/usb_xhci.c index 490740e730..ee25e5c409 100644 --- a/src/southbridge/intel/lynxpoint/usb_xhci.c +++ b/src/southbridge/intel/lynxpoint/usb_xhci.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 "pch.h" diff --git a/src/southbridge/nvidia/ck804/nic.c b/src/southbridge/nvidia/ck804/nic.c index 8ea1040c87..5dbb6b4aa9 100644 --- a/src/southbridge/nvidia/ck804/nic.c +++ b/src/southbridge/nvidia/ck804/nic.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 "chip.h" static void nic_init(struct device *dev) diff --git a/src/southbridge/nvidia/mcp55/azalia.c b/src/southbridge/nvidia/mcp55/azalia.c index cc2c729ad7..8944edc376 100644 --- a/src/southbridge/nvidia/mcp55/azalia.c +++ b/src/southbridge/nvidia/mcp55/azalia.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 "mcp55.h" diff --git a/src/southbridge/nvidia/mcp55/nic.c b/src/southbridge/nvidia/mcp55/nic.c index 788b6efd17..4ee3a3b79a 100644 --- a/src/southbridge/nvidia/mcp55/nic.c +++ b/src/southbridge/nvidia/mcp55/nic.c @@ -23,7 +23,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 "mcp55.h" |