Kyösti Mälkki has submitted this change and it was merged. ( https://review.coreboot.org/c/coreboot/+/31691 )
Change subject: device/mmio.h: Add include file for MMIO ops ......................................................................
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 --- M src/arch/riscv/arch_timer.c M src/arch/x86/ioapic.c M src/commonlib/storage/sdhci.h M src/cpu/allwinner/a10/clock.c M src/cpu/allwinner/a10/gpio.c M src/cpu/allwinner/a10/pinmux.c M src/cpu/allwinner/a10/raminit.c M src/cpu/allwinner/a10/timer.c M src/cpu/allwinner/a10/twi.c M src/cpu/allwinner/a10/uart.c M src/cpu/amd/microcode/microcode.c M src/cpu/ti/am335x/gpio.c M src/cpu/ti/am335x/pinmux.c M src/cpu/ti/am335x/uart.c M src/device/azalia_device.c M src/device/oprom/realmode/x86.c M src/device/pci_ops_mmconf.c M src/drivers/aspeed/common/aspeed_coreboot.h M src/drivers/gic/gic.c M src/drivers/i2c/designware/dw_i2c.c M src/drivers/intel/fsp2_0/hand_off_block.c M src/drivers/intel/fsp2_0/util.c M src/drivers/intel/gma/edid.c M src/drivers/maxim/max77686/max77686.c M src/drivers/net/atl1e.c M src/drivers/pc80/tpm/tis.c M src/drivers/siemens/nc_fpga/nc_fpga.c M src/drivers/uart/oxpcie.c M src/drivers/uart/pl011.c M src/drivers/uart/sifive.c M src/drivers/uart/uart8250mem.c M src/drivers/usb/ehci_debug.c M src/drivers/usb/pci_ehci.c M src/drivers/xgi/common/xgi_coreboot.h M src/include/device/azalia_device.h A src/include/device/mmio.h M src/include/device/pci.h M src/include/device/pci_mmio_cfg.h M src/lib/reg_script.c M src/mainboard/adi/rcc-dff/romstage.c M src/mainboard/amd/bettong/boardid.c M src/mainboard/amd/persimmon/mainboard.c M src/mainboard/amd/torpedo/mptable.c M src/mainboard/asrock/e350m1/mainboard.c M src/mainboard/asus/kcma-d8/mainboard.c M src/mainboard/asus/kgpe-d16/mainboard.c M src/mainboard/asus/kgpe-d16/romstage.c M src/mainboard/cubietech/cubieboard/bootblock.c M src/mainboard/elmex/pcm205400/mainboard.c M src/mainboard/emulation/qemu-armv7/cbmem.c M src/mainboard/emulation/qemu-armv7/mainboard.c M src/mainboard/gizmosphere/gizmo/mainboard.c M src/mainboard/google/cyan/chromeos.c M src/mainboard/google/cyan/com_init.c M src/mainboard/google/cyan/smihandler.c M src/mainboard/google/foster/bootblock.c M src/mainboard/google/gale/reset.c M src/mainboard/google/gru/bootblock.c M src/mainboard/google/gru/mainboard.c M src/mainboard/google/gru/pwm_regulator.c M src/mainboard/google/kahlee/mainboard.c M src/mainboard/google/kahlee/variants/baseboard/mainboard.c M src/mainboard/google/nyan/bootblock.c M src/mainboard/google/nyan/mainboard.c M src/mainboard/google/nyan_big/bootblock.c M src/mainboard/google/nyan_big/mainboard.c M src/mainboard/google/nyan_blaze/bootblock.c M src/mainboard/google/nyan_blaze/mainboard.c M src/mainboard/google/oak/bootblock.c M src/mainboard/google/peach_pit/mainboard.c M src/mainboard/google/smaug/bootblock.c M src/mainboard/google/smaug/mainboard.c M src/mainboard/google/storm/cdp.c M src/mainboard/google/storm/reset.c M src/mainboard/google/urara/bootblock.c M src/mainboard/google/veyron/bootblock.c M src/mainboard/google/veyron/mainboard.c M src/mainboard/google/veyron/romstage.c M src/mainboard/google/veyron_mickey/bootblock.c M src/mainboard/google/veyron_mickey/mainboard.c M src/mainboard/google/veyron_mickey/romstage.c M src/mainboard/google/veyron_rialto/bootblock.c M src/mainboard/google/veyron_rialto/mainboard.c M src/mainboard/google/veyron_rialto/romstage.c M src/mainboard/intel/littleplains/romstage.c M src/mainboard/intel/mohonpeak/romstage.c M src/mainboard/intel/strago/com_init.c M src/mainboard/jetway/nf81-t56n-lf/mainboard.c M src/mainboard/lippert/frontrunner-af/mainboard.c M src/mainboard/lippert/toucan-af/mainboard.c M src/mainboard/pcengines/apu1/mainboard.c M src/mainboard/pcengines/apu2/gpio_ftns.c M src/mainboard/pcengines/apu2/mainboard.c M src/mainboard/siemens/mc_apl1/mainboard.c M src/mainboard/siemens/mc_bdx1/mainboard.c M src/mainboard/ti/beaglebone/bootblock.c M src/northbridge/intel/e7505/raminit.c M src/northbridge/intel/gm45/gma.c M src/northbridge/intel/gm45/raminit.c M src/northbridge/intel/gm45/raminit_read_write_training.c M src/northbridge/intel/gm45/raminit_receive_enable_calibration.c M src/northbridge/intel/haswell/early_init.c M src/northbridge/intel/haswell/gma.c M src/northbridge/intel/haswell/minihd.c M src/northbridge/intel/i440bx/raminit.c M src/northbridge/intel/i945/gma.c M src/northbridge/intel/i945/raminit.c M src/northbridge/intel/i945/rcven.c M src/northbridge/intel/nehalem/gma.c M src/northbridge/intel/nehalem/raminit.c M src/northbridge/intel/pineview/gma.c M src/northbridge/intel/pineview/raminit.c M src/northbridge/intel/sandybridge/gma.c M src/northbridge/intel/sandybridge/iommu.c M src/northbridge/intel/sandybridge/raminit.c M src/northbridge/intel/sandybridge/raminit_common.c M src/northbridge/intel/x4x/dq_dqs.c M src/northbridge/intel/x4x/raminit_ddr23.c M src/northbridge/intel/x4x/rcven.c M src/soc/amd/common/block/psp/psp.c M src/soc/amd/common/block/s3/s3_resume.c M src/soc/amd/stoneyridge/gpio.c M src/soc/amd/stoneyridge/sb_util.c M src/soc/amd/stoneyridge/southbridge.c M src/soc/amd/stoneyridge/spi.c M src/soc/cavium/cn81xx/clock.c M src/soc/cavium/cn81xx/cpu.c M src/soc/cavium/cn81xx/ecam0.c M src/soc/cavium/cn81xx/gpio.c M src/soc/cavium/cn81xx/sdram.c M src/soc/cavium/cn81xx/spi.c M src/soc/cavium/cn81xx/timer.c M src/soc/cavium/cn81xx/twsi.c M src/soc/cavium/cn81xx/uart.c M src/soc/imgtec/pistachio/clocks.c M src/soc/imgtec/pistachio/ddr2_init.c M src/soc/imgtec/pistachio/ddr3_init.c M src/soc/imgtec/pistachio/include/soc/cpu.h M src/soc/imgtec/pistachio/include/soc/ddr_private_reg.h M src/soc/imgtec/pistachio/monotonic_timer.c M src/soc/imgtec/pistachio/reset.c M src/soc/imgtec/pistachio/spi.c M src/soc/imgtec/pistachio/uart.c M src/soc/intel/apollolake/acpi.c M src/soc/intel/apollolake/chip.c M src/soc/intel/apollolake/cse.c M src/soc/intel/apollolake/pmc.c M src/soc/intel/apollolake/pmutil.c M src/soc/intel/apollolake/xdci.c M src/soc/intel/baytrail/acpi.c M src/soc/intel/baytrail/gfx.c M src/soc/intel/baytrail/gpio.c M src/soc/intel/baytrail/include/soc/gpio.h M src/soc/intel/baytrail/iosf.c M src/soc/intel/baytrail/lpe.c M src/soc/intel/baytrail/pmutil.c M src/soc/intel/baytrail/romstage/romstage.c M src/soc/intel/baytrail/sata.c M src/soc/intel/baytrail/smm.c M src/soc/intel/baytrail/southcluster.c M src/soc/intel/baytrail/spi.c M src/soc/intel/braswell/acpi.c M src/soc/intel/braswell/gpio.c M src/soc/intel/braswell/gpio_support.c M src/soc/intel/braswell/include/soc/gpio.h M src/soc/intel/braswell/iosf.c M src/soc/intel/braswell/lpc_init.c M src/soc/intel/braswell/lpe.c M src/soc/intel/braswell/pmutil.c M src/soc/intel/braswell/romstage/romstage.c M src/soc/intel/braswell/smihandler.c M src/soc/intel/braswell/smm.c M src/soc/intel/braswell/southcluster.c M src/soc/intel/braswell/spi.c M src/soc/intel/broadwell/adsp.c M src/soc/intel/broadwell/hda.c M src/soc/intel/broadwell/igd.c M src/soc/intel/broadwell/me.c M src/soc/intel/broadwell/minihd.c M src/soc/intel/broadwell/romstage/systemagent.c M src/soc/intel/broadwell/sata.c M src/soc/intel/broadwell/serialio.c M src/soc/intel/broadwell/smihandler.c M src/soc/intel/broadwell/spi.c M src/soc/intel/broadwell/xhci.c M src/soc/intel/cannonlake/acpi.c M src/soc/intel/cannonlake/bootblock/pch.c M src/soc/intel/cannonlake/finalize.c M src/soc/intel/cannonlake/lockdown.c M src/soc/intel/cannonlake/pmc.c M src/soc/intel/cannonlake/pmutil.c M src/soc/intel/cannonlake/romstage/power_state.c M src/soc/intel/common/block/cse/cse.c M src/soc/intel/common/block/fast_spi/fast_spi.c M src/soc/intel/common/block/fast_spi/fast_spi_flash.c M src/soc/intel/common/block/graphics/graphics.c M src/soc/intel/common/block/gspi/gspi.c M src/soc/intel/common/block/lpss/lpss.c M src/soc/intel/common/block/pcr/pcr.c M src/soc/intel/common/block/pmc/pmclib.c M src/soc/intel/common/block/sata/sata.c M src/soc/intel/common/block/systemagent/systemagent_early.c M src/soc/intel/common/hda_verb.c M src/soc/intel/denverton_ns/bootblock/uart.c M src/soc/intel/denverton_ns/gpio_dnv.c M src/soc/intel/denverton_ns/lpc.c M src/soc/intel/denverton_ns/romstage.c M src/soc/intel/denverton_ns/sata.c M src/soc/intel/denverton_ns/soc_util.c M src/soc/intel/denverton_ns/systemagent.c M src/soc/intel/fsp_baytrail/acpi.c M src/soc/intel/fsp_baytrail/bootblock/bootblock.c M src/soc/intel/fsp_baytrail/gpio.c M src/soc/intel/fsp_baytrail/i2c.c M src/soc/intel/fsp_baytrail/include/soc/gpio.h M src/soc/intel/fsp_baytrail/iosf.c M src/soc/intel/fsp_baytrail/lpe.c M src/soc/intel/fsp_baytrail/pmutil.c M src/soc/intel/fsp_baytrail/romstage/romstage.c M src/soc/intel/fsp_baytrail/smm.c M src/soc/intel/fsp_baytrail/southcluster.c M src/soc/intel/fsp_baytrail/spi.c M src/soc/intel/icelake/acpi.c M src/soc/intel/icelake/bootblock/pch.c M src/soc/intel/icelake/finalize.c M src/soc/intel/icelake/lockdown.c M src/soc/intel/icelake/pmc.c M src/soc/intel/icelake/pmutil.c M src/soc/intel/icelake/romstage/power_state.c M src/soc/intel/quark/spi.c M src/soc/intel/skylake/elog.c M src/soc/intel/skylake/finalize.c M src/soc/intel/skylake/include/soc/pm.h M src/soc/intel/skylake/lockdown.c M src/soc/intel/skylake/memmap.c M src/soc/intel/skylake/pmc.c M src/soc/intel/skylake/pmutil.c M src/soc/intel/skylake/thermal.c M src/soc/mediatek/common/gpio.c M src/soc/mediatek/common/mtcmos.c M src/soc/mediatek/common/pll.c M src/soc/mediatek/common/pmic_wrap.c M src/soc/mediatek/common/reset.c M src/soc/mediatek/common/spi.c M src/soc/mediatek/common/timer.c M src/soc/mediatek/common/uart.c M src/soc/mediatek/common/usb.c M src/soc/mediatek/common/wdt.c M src/soc/mediatek/mt8173/ddp.c M src/soc/mediatek/mt8173/dramc_pi_basic_api.c M src/soc/mediatek/mt8173/dramc_pi_calibration_api.c M src/soc/mediatek/mt8173/dsi.c M src/soc/mediatek/mt8173/emi.c M src/soc/mediatek/mt8173/flash_controller.c M src/soc/mediatek/mt8173/gpio.c M src/soc/mediatek/mt8173/gpio_init.c M src/soc/mediatek/mt8173/i2c.c M src/soc/mediatek/mt8173/mmu_operations.c M src/soc/mediatek/mt8173/pll.c M src/soc/mediatek/mt8173/pmic_wrap.c M src/soc/mediatek/mt8173/spi.c M src/soc/mediatek/mt8173/timer.c M src/soc/mediatek/mt8183/auxadc.c M src/soc/mediatek/mt8183/dramc_init_setting.c M src/soc/mediatek/mt8183/dramc_pi_basic_api.c M src/soc/mediatek/mt8183/dramc_pi_calibration_api.c M src/soc/mediatek/mt8183/emi.c M src/soc/mediatek/mt8183/gpio.c M src/soc/mediatek/mt8183/mmu_operations.c M src/soc/mediatek/mt8183/mtcmos.c M src/soc/mediatek/mt8183/pll.c M src/soc/mediatek/mt8183/pmic_wrap.c M src/soc/mediatek/mt8183/spi.c M src/soc/nvidia/tegra/apbmisc.c M src/soc/nvidia/tegra/gpio.c M src/soc/nvidia/tegra/i2c.c M src/soc/nvidia/tegra/pingroup.c M src/soc/nvidia/tegra/pinmux.c M src/soc/nvidia/tegra/usb.c M src/soc/nvidia/tegra124/clock.c M src/soc/nvidia/tegra124/display.c M src/soc/nvidia/tegra124/dma.c M src/soc/nvidia/tegra124/include/soc/clock.h M src/soc/nvidia/tegra124/monotonic_timer.c M src/soc/nvidia/tegra124/power.c M src/soc/nvidia/tegra124/sdram.c M src/soc/nvidia/tegra124/spi.c M src/soc/nvidia/tegra124/uart.c M src/soc/nvidia/tegra210/addressmap.c M src/soc/nvidia/tegra210/bootblock.c M src/soc/nvidia/tegra210/ccplex.c M src/soc/nvidia/tegra210/clock.c M src/soc/nvidia/tegra210/cpu.c M src/soc/nvidia/tegra210/dc.c M src/soc/nvidia/tegra210/dma.c M src/soc/nvidia/tegra210/dsi.c M src/soc/nvidia/tegra210/flow_ctrl.c M src/soc/nvidia/tegra210/i2c6.c M src/soc/nvidia/tegra210/include/soc/clock.h M src/soc/nvidia/tegra210/include/soc/id.h M src/soc/nvidia/tegra210/include/soc/tegra_dsi.h M src/soc/nvidia/tegra210/mipi.c M src/soc/nvidia/tegra210/monotonic_timer.c M src/soc/nvidia/tegra210/padconfig.c M src/soc/nvidia/tegra210/power.c M src/soc/nvidia/tegra210/ram_code.c M src/soc/nvidia/tegra210/ramstage.c M src/soc/nvidia/tegra210/sdram.c M src/soc/nvidia/tegra210/spi.c M src/soc/nvidia/tegra210/uart.c M src/soc/qualcomm/ipq40xx/blobs_init.c M src/soc/qualcomm/ipq40xx/blsp.c M src/soc/qualcomm/ipq40xx/clock.c M src/soc/qualcomm/ipq40xx/gpio.c M src/soc/qualcomm/ipq40xx/include/soc/iomap.h M src/soc/qualcomm/ipq40xx/lcc.c M src/soc/qualcomm/ipq40xx/qup.c M src/soc/qualcomm/ipq40xx/spi.c M src/soc/qualcomm/ipq40xx/timer.c M src/soc/qualcomm/ipq40xx/uart.c M src/soc/qualcomm/ipq40xx/usb.c M src/soc/qualcomm/ipq806x/blobs_init.c M src/soc/qualcomm/ipq806x/clock.c M src/soc/qualcomm/ipq806x/gpio.c M src/soc/qualcomm/ipq806x/gsbi.c M src/soc/qualcomm/ipq806x/include/soc/iomap.h M src/soc/qualcomm/ipq806x/lcc.c M src/soc/qualcomm/ipq806x/qup.c M src/soc/qualcomm/ipq806x/spi.c M src/soc/qualcomm/ipq806x/uart.c M src/soc/qualcomm/ipq806x/usb.c M src/soc/qualcomm/sdm845/clock.c M src/soc/qualcomm/sdm845/gpio.c M src/soc/qualcomm/sdm845/qspi.c M src/soc/rockchip/common/edp.c M src/soc/rockchip/common/gpio.c M src/soc/rockchip/common/i2c.c M src/soc/rockchip/common/include/soc/soc.h M src/soc/rockchip/common/pwm.c M src/soc/rockchip/common/spi.c M src/soc/rockchip/common/vop.c M src/soc/rockchip/rk3288/clock.c M src/soc/rockchip/rk3288/crypto.c M src/soc/rockchip/rk3288/display.c M src/soc/rockchip/rk3288/hdmi.c M src/soc/rockchip/rk3288/sdram.c M src/soc/rockchip/rk3288/software_i2c.c M src/soc/rockchip/rk3288/timer.c M src/soc/rockchip/rk3288/tsadc.c M src/soc/rockchip/rk3399/bootblock.c M src/soc/rockchip/rk3399/clock.c M src/soc/rockchip/rk3399/display.c M src/soc/rockchip/rk3399/mipi.c M src/soc/rockchip/rk3399/saradc.c M src/soc/rockchip/rk3399/sdram.c M src/soc/rockchip/rk3399/timer.c M src/soc/rockchip/rk3399/tsadc.c M src/soc/rockchip/rk3399/usb.c M src/soc/samsung/exynos5250/clock.c M src/soc/samsung/exynos5250/clock_init.c M src/soc/samsung/exynos5250/cpu.c M src/soc/samsung/exynos5250/dmc_common.c M src/soc/samsung/exynos5250/dmc_init_ddr3.c M src/soc/samsung/exynos5250/dp-reg.c M src/soc/samsung/exynos5250/fb.c M src/soc/samsung/exynos5250/gpio.c M src/soc/samsung/exynos5250/i2c.c M src/soc/samsung/exynos5250/include/soc/cpu.h M src/soc/samsung/exynos5250/power.c M src/soc/samsung/exynos5250/spi.c M src/soc/samsung/exynos5250/timer.c M src/soc/samsung/exynos5250/tmu.c M src/soc/samsung/exynos5250/trustzone.c M src/soc/samsung/exynos5250/uart.c M src/soc/samsung/exynos5250/usb.c M src/soc/samsung/exynos5420/clock.c M src/soc/samsung/exynos5420/clock_init.c M src/soc/samsung/exynos5420/cpu.c M src/soc/samsung/exynos5420/dmc_common.c M src/soc/samsung/exynos5420/dmc_init_ddr3.c M src/soc/samsung/exynos5420/dp_lowlevel.c M src/soc/samsung/exynos5420/fimd.c M src/soc/samsung/exynos5420/gpio.c M src/soc/samsung/exynos5420/i2c.c M src/soc/samsung/exynos5420/include/soc/cpu.h M src/soc/samsung/exynos5420/power.c M src/soc/samsung/exynos5420/smp.c M src/soc/samsung/exynos5420/spi.c M src/soc/samsung/exynos5420/timer.c M src/soc/samsung/exynos5420/tmu.c M src/soc/samsung/exynos5420/trustzone.c M src/soc/samsung/exynos5420/uart.c M src/soc/samsung/exynos5420/usb.c M src/soc/sifive/fu540/bootblock.c M src/soc/sifive/fu540/clint.c M src/soc/sifive/fu540/clock.c M src/soc/sifive/fu540/otp.c M src/southbridge/amd/agesa/hudson/enable_usbdebug.c M src/southbridge/amd/agesa/hudson/hudson.c M src/southbridge/amd/agesa/hudson/imc.c M src/southbridge/amd/agesa/hudson/smi.h M src/southbridge/amd/agesa/hudson/spi.c M src/southbridge/amd/amd8111/nic.c M src/southbridge/amd/cimx/sb800/late.c M src/southbridge/amd/cimx/sb800/spi.c M src/southbridge/amd/pi/hudson/early_setup.c M src/southbridge/amd/pi/hudson/enable_usbdebug.c M src/southbridge/amd/pi/hudson/gpio.c M src/southbridge/amd/pi/hudson/hudson.c M src/southbridge/amd/pi/hudson/imc.c M src/southbridge/amd/pi/hudson/smi.h M src/southbridge/amd/sb700/enable_usbdebug.c M src/southbridge/amd/sb700/hda.c M src/southbridge/amd/sb700/sata.c M src/southbridge/amd/sb700/spi.c M src/southbridge/amd/sb700/usb.c M src/southbridge/amd/sb800/enable_usbdebug.c M src/southbridge/amd/sb800/hda.c M src/southbridge/amd/sb800/sata.c M src/southbridge/amd/sb800/usb.c M src/southbridge/amd/sr5650/sr5650.c M src/southbridge/broadcom/bcm5785/sata.c M src/southbridge/intel/bd82x6x/azalia.c M src/southbridge/intel/bd82x6x/early_pch.c M src/southbridge/intel/bd82x6x/early_thermal.c M src/southbridge/intel/bd82x6x/early_usb.c M src/southbridge/intel/bd82x6x/me.c M src/southbridge/intel/bd82x6x/me_8.x.c M src/southbridge/intel/bd82x6x/sata.c M src/southbridge/intel/bd82x6x/usb_ehci.c M src/southbridge/intel/common/spi.c M src/southbridge/intel/fsp_rangeley/early_init.c M src/southbridge/intel/fsp_rangeley/gpio.c M src/southbridge/intel/fsp_rangeley/lpc.c M src/southbridge/intel/fsp_rangeley/romstage.c M src/southbridge/intel/fsp_rangeley/sata.c M src/southbridge/intel/fsp_rangeley/spi.c M src/southbridge/intel/i82801gx/azalia.c M src/southbridge/intel/i82801gx/usb_ehci.c M src/southbridge/intel/i82801ix/hdaudio.c M src/southbridge/intel/i82801ix/sata.c M src/southbridge/intel/i82801ix/thermal.c M src/southbridge/intel/i82801jx/hdaudio.c M src/southbridge/intel/i82801jx/sata.c M src/southbridge/intel/i82801jx/thermal.c M src/southbridge/intel/ibexpeak/azalia.c M src/southbridge/intel/ibexpeak/early_thermal.c M src/southbridge/intel/ibexpeak/lpc.c M src/southbridge/intel/ibexpeak/me.c M src/southbridge/intel/ibexpeak/sata.c M src/southbridge/intel/ibexpeak/thermal.c M src/southbridge/intel/ibexpeak/usb_ehci.c M src/southbridge/intel/lynxpoint/azalia.c M src/southbridge/intel/lynxpoint/hda_verb.c M src/southbridge/intel/lynxpoint/me_9.x.c M src/southbridge/intel/lynxpoint/sata.c M src/southbridge/intel/lynxpoint/serialio.c M src/southbridge/intel/lynxpoint/usb_ehci.c M src/southbridge/intel/lynxpoint/usb_xhci.c M src/southbridge/nvidia/ck804/nic.c M src/southbridge/nvidia/mcp55/azalia.c M src/southbridge/nvidia/mcp55/nic.c M src/vendorcode/cavium/include/bdk/bdk-coreboot.h M src/vendorcode/google/chromeos/watchdog.c M src/vendorcode/siemens/hwilib/hwilib.c 465 files changed, 489 insertions(+), 358 deletions(-)
Approvals: build bot (Jenkins): Verified Aaron Durbin: Looks good to me, approved
diff --git a/src/arch/riscv/arch_timer.c b/src/arch/riscv/arch_timer.c index 78157e6..55b1f72 100644 --- a/src/arch/riscv/arch_timer.c +++ b/src/arch/riscv/arch_timer.c @@ -13,7 +13,7 @@ * GNU General Public License for more details. */
-#include <arch/io.h> +#include <device/mmio.h> #include <arch/encoding.h> #include <console/console.h> #include <stddef.h> diff --git a/src/arch/x86/ioapic.c b/src/arch/x86/ioapic.c index 7bd52f5..a396952 100644 --- a/src/arch/x86/ioapic.c +++ b/src/arch/x86/ioapic.c @@ -13,7 +13,7 @@ * GNU General Public License for more details. */
-#include <arch/io.h> +#include <device/mmio.h> #include <arch/ioapic.h> #include <console/console.h> #include <cpu/x86/lapic.h> diff --git a/src/commonlib/storage/sdhci.h b/src/commonlib/storage/sdhci.h index 5dd5391..ed8984a 100644 --- a/src/commonlib/storage/sdhci.h +++ b/src/commonlib/storage/sdhci.h @@ -17,7 +17,7 @@ #ifndef __COMMONLIB_STORAGE_SDHCI_H__ #define __COMMONLIB_STORAGE_SDHCI_H__
-#include <arch/io.h> +#include <device/mmio.h> #include <commonlib/sd_mmc_ctrlr.h>
/* diff --git a/src/cpu/allwinner/a10/clock.c b/src/cpu/allwinner/a10/clock.c index 8f64f06..76198b7 100644 --- a/src/cpu/allwinner/a10/clock.c +++ b/src/cpu/allwinner/a10/clock.c @@ -18,7 +18,7 @@
#include "clock.h"
-#include <arch/io.h> +#include <device/mmio.h> #include <console/console.h> #include <delay.h> #include <lib.h> diff --git a/src/cpu/allwinner/a10/gpio.c b/src/cpu/allwinner/a10/gpio.c index 1614c5f..7f6bbd8 100644 --- a/src/cpu/allwinner/a10/gpio.c +++ b/src/cpu/allwinner/a10/gpio.c @@ -18,7 +18,7 @@
#include "gpio.h"
-#include <arch/io.h> +#include <device/mmio.h>
static struct a10_gpio *const gpio = (void *)GPIO_BASE;
diff --git a/src/cpu/allwinner/a10/pinmux.c b/src/cpu/allwinner/a10/pinmux.c index b8bf607..3415e4f 100644 --- a/src/cpu/allwinner/a10/pinmux.c +++ b/src/cpu/allwinner/a10/pinmux.c @@ -20,7 +20,7 @@
#include "gpio.h"
-#include <arch/io.h> +#include <device/mmio.h>
static struct a10_gpio *const gpio = (void *)GPIO_BASE;
diff --git a/src/cpu/allwinner/a10/raminit.c b/src/cpu/allwinner/a10/raminit.c index f7d66d5..3c18183 100644 --- a/src/cpu/allwinner/a10/raminit.c +++ b/src/cpu/allwinner/a10/raminit.c @@ -29,7 +29,7 @@ #include "memmap.h" #include "timer.h"
-#include <arch/io.h> +#include <device/mmio.h> #include <delay.h>
static struct a1x_dramc *const dram = (void *)A1X_DRAMC_BASE; diff --git a/src/cpu/allwinner/a10/timer.c b/src/cpu/allwinner/a10/timer.c index 3eacf54..c91d492 100644 --- a/src/cpu/allwinner/a10/timer.c +++ b/src/cpu/allwinner/a10/timer.c @@ -19,7 +19,7 @@
#include "timer.h"
-#include <arch/io.h> +#include <device/mmio.h> #include <delay.h> #include <timer.h>
diff --git a/src/cpu/allwinner/a10/twi.c b/src/cpu/allwinner/a10/twi.c index 6601db3..6e7f9e2 100644 --- a/src/cpu/allwinner/a10/twi.c +++ b/src/cpu/allwinner/a10/twi.c @@ -23,7 +23,7 @@ #include "memmap.h" #include "twi.h"
-#include <arch/io.h> +#include <device/mmio.h> #include <delay.h> #include <device/i2c_simple.h>
diff --git a/src/cpu/allwinner/a10/uart.c b/src/cpu/allwinner/a10/uart.c index 9bcedeb..c721a67 100644 --- a/src/cpu/allwinner/a10/uart.c +++ b/src/cpu/allwinner/a10/uart.c @@ -19,7 +19,7 @@ */
#include "uart.h" -#include <arch/io.h> +#include <device/mmio.h> #include <console/uart.h> #include <drivers/uart/uart8250reg.h>
diff --git a/src/cpu/amd/microcode/microcode.c b/src/cpu/amd/microcode/microcode.c index e8ab175..783675d 100644 --- a/src/cpu/amd/microcode/microcode.c +++ b/src/cpu/amd/microcode/microcode.c @@ -20,7 +20,7 @@ #include <cpu/amd/msr.h> #include <cpu/amd/microcode.h> #include <cbfs.h> -#include <arch/io.h> +#include <device/mmio.h> #include <smp/spinlock.h>
#define UCODE_DEBUG(fmt, args...) \ diff --git a/src/cpu/ti/am335x/gpio.c b/src/cpu/ti/am335x/gpio.c index bfbbbd2..e1c6967 100644 --- a/src/cpu/ti/am335x/gpio.c +++ b/src/cpu/ti/am335x/gpio.c @@ -12,7 +12,7 @@ * GNU General Public License for more details. */
-#include <arch/io.h> +#include <device/mmio.h> #include <console/console.h> #include <cpu/ti/am335x/gpio.h> #include <stdint.h> diff --git a/src/cpu/ti/am335x/pinmux.c b/src/cpu/ti/am335x/pinmux.c index 1e45142..71e9cad 100644 --- a/src/cpu/ti/am335x/pinmux.c +++ b/src/cpu/ti/am335x/pinmux.c @@ -15,7 +15,7 @@
#include "pinmux.h"
-#include <arch/io.h> +#include <device/mmio.h>
static struct am335x_pinmux_regs *regs = (struct am335x_pinmux_regs *)(uintptr_t)AM335X_PINMUX_REG_ADDR; diff --git a/src/cpu/ti/am335x/uart.c b/src/cpu/ti/am335x/uart.c index 38a13ac..c482a85 100644 --- a/src/cpu/ti/am335x/uart.c +++ b/src/cpu/ti/am335x/uart.c @@ -15,7 +15,7 @@ #include <stdlib.h> #include <types.h> #include <console/uart.h> -#include <arch/io.h> +#include <device/mmio.h> #include <boot/coreboot_tables.h> #include <cpu/ti/am335x/uart.h>
diff --git a/src/device/azalia_device.c b/src/device/azalia_device.c index 6ca80a8..a2849b7 100644 --- a/src/device/azalia_device.c +++ b/src/device/azalia_device.c @@ -18,7 +18,7 @@ #include <device/pci.h> #include <device/pci_ops.h> #include <device/azalia_device.h> -#include <arch/io.h> +#include <device/mmio.h> #include <delay.h>
#define HDA_ICII_REG 0x68 diff --git a/src/device/oprom/realmode/x86.c b/src/device/oprom/realmode/x86.c index 20c6ea9..0b19d79 100644 --- a/src/device/oprom/realmode/x86.c +++ b/src/device/oprom/realmode/x86.c @@ -14,7 +14,7 @@ * GNU General Public License for more details. */
-#include <arch/io.h> +#include <device/mmio.h> #include <arch/interrupt.h> #include <arch/registers.h> #include <boot/coreboot_tables.h> diff --git a/src/device/pci_ops_mmconf.c b/src/device/pci_ops_mmconf.c index 0af8f8e..d1f285f 100644 --- a/src/device/pci_ops_mmconf.c +++ b/src/device/pci_ops_mmconf.c @@ -11,7 +11,7 @@ * GNU General Public License for more details. */
-#include <arch/io.h> +#include <device/mmio.h> #include <device/pci.h> #include <device/pci_ops.h>
diff --git a/src/drivers/aspeed/common/aspeed_coreboot.h b/src/drivers/aspeed/common/aspeed_coreboot.h index 4798ec2..d1dff33 100644 --- a/src/drivers/aspeed/common/aspeed_coreboot.h +++ b/src/drivers/aspeed/common/aspeed_coreboot.h @@ -22,6 +22,7 @@ #include <stdint.h> #include <string.h> #include <arch/io.h> +#include <device/mmio.h>
#include <console/console.h> #include <device/device.h> diff --git a/src/drivers/gic/gic.c b/src/drivers/gic/gic.c index 9ace09f..1d416bf 100644 --- a/src/drivers/gic/gic.c +++ b/src/drivers/gic/gic.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 <gic.h> #include <stddef.h> diff --git a/src/drivers/i2c/designware/dw_i2c.c b/src/drivers/i2c/designware/dw_i2c.c index 46df7b1..617e663 100644 --- a/src/drivers/i2c/designware/dw_i2c.c +++ b/src/drivers/i2c/designware/dw_i2c.c @@ -16,7 +16,7 @@ */
#include <arch/acpigen.h> -#include <arch/io.h> +#include <device/mmio.h> #include <console/console.h> #include <device/device.h> #include <device/i2c_bus.h> diff --git a/src/drivers/intel/fsp2_0/hand_off_block.c b/src/drivers/intel/fsp2_0/hand_off_block.c index a5ca52d..86f0b26 100644 --- a/src/drivers/intel/fsp2_0/hand_off_block.c +++ b/src/drivers/intel/fsp2_0/hand_off_block.c @@ -11,7 +11,7 @@ */
#include <arch/early_variables.h> -#include <arch/io.h> +#include <device/mmio.h> #include <cbmem.h> #include <commonlib/helpers.h> #include <console/console.h> diff --git a/src/drivers/intel/fsp2_0/util.c b/src/drivers/intel/fsp2_0/util.c index 1f08c34..5aaa17f 100644 --- a/src/drivers/intel/fsp2_0/util.c +++ b/src/drivers/intel/fsp2_0/util.c @@ -11,7 +11,7 @@ * (at your option) any later version. */
-#include <arch/io.h> +#include <device/mmio.h> #include <cf9_reset.h> #include <console/console.h> #include <fsp/util.h> diff --git a/src/drivers/intel/gma/edid.c b/src/drivers/intel/gma/edid.c index d2475cf..6c464ee 100644 --- a/src/drivers/intel/gma/edid.c +++ b/src/drivers/intel/gma/edid.c @@ -15,7 +15,7 @@ * GNU General Public License for more details. */
-#include <arch/io.h> +#include <device/mmio.h> #include <console/console.h> #include <delay.h>
diff --git a/src/drivers/maxim/max77686/max77686.c b/src/drivers/maxim/max77686/max77686.c index f1ee32f..7519082 100644 --- a/src/drivers/maxim/max77686/max77686.c +++ b/src/drivers/maxim/max77686/max77686.c @@ -14,7 +14,7 @@ */
#include <console/console.h> -#include <arch/io.h> +#include <device/mmio.h> #include <device/i2c_simple.h>
#include "max77686.h" diff --git a/src/drivers/net/atl1e.c b/src/drivers/net/atl1e.c index bbfe98a..d6e7a84 100644 --- a/src/drivers/net/atl1e.c +++ b/src/drivers/net/atl1e.c @@ -20,6 +20,7 @@ * This driver sets the macaddress of a Atheros AR8121/AR8113/AR8114 */
+#include <device/mmio.h> #include <device/device.h> #include <cbfs.h> #include <string.h> diff --git a/src/drivers/pc80/tpm/tis.c b/src/drivers/pc80/tpm/tis.c index d63dcbe..d7925bc 100644 --- a/src/drivers/pc80/tpm/tis.c +++ b/src/drivers/pc80/tpm/tis.c @@ -27,7 +27,7 @@ #include <stdlib.h> #include <string.h> #include <delay.h> -#include <arch/io.h> +#include <device/mmio.h> #include <arch/acpi.h> #include <arch/acpigen.h> #include <arch/acpi_device.h> diff --git a/src/drivers/siemens/nc_fpga/nc_fpga.c b/src/drivers/siemens/nc_fpga/nc_fpga.c index 846c870..01b4f53 100644 --- a/src/drivers/siemens/nc_fpga/nc_fpga.c +++ b/src/drivers/siemens/nc_fpga/nc_fpga.c @@ -19,6 +19,7 @@ #include <device/pci_ops.h> #include <device/pci_def.h> #include <string.h> +#include <device/mmio.h> #include <delay.h> #include <hwilib.h> #include <bootstate.h> diff --git a/src/drivers/uart/oxpcie.c b/src/drivers/uart/oxpcie.c index 168ed6a..2f40c3f 100644 --- a/src/drivers/uart/oxpcie.c +++ b/src/drivers/uart/oxpcie.c @@ -19,7 +19,7 @@ #include <device/pci_ids.h> #include <console/console.h> #include <console/uart.h> -#include <arch/io.h> +#include <device/mmio.h> #include <device/pci_ops.h>
static void oxford_oxpcie_enable(struct device *dev) diff --git a/src/drivers/uart/pl011.c b/src/drivers/uart/pl011.c index 9cb702f..4e3af52 100644 --- a/src/drivers/uart/pl011.c +++ b/src/drivers/uart/pl011.c @@ -14,7 +14,7 @@ * GNU General Public License for more details. */
-#include <arch/io.h> +#include <device/mmio.h> #include <boot/coreboot_tables.h> #include <console/uart.h> #include <drivers/uart/pl011.h> diff --git a/src/drivers/uart/sifive.c b/src/drivers/uart/sifive.c index ce8ead0..1b0f75e 100644 --- a/src/drivers/uart/sifive.c +++ b/src/drivers/uart/sifive.c @@ -13,7 +13,7 @@ * GNU General Public License for more details. */
-#include <arch/io.h> +#include <device/mmio.h> #include <boot/coreboot_tables.h> #include <console/uart.h> #include <types.h> diff --git a/src/drivers/uart/uart8250mem.c b/src/drivers/uart/uart8250mem.c index 94a7fc9..cf9acf4 100644 --- a/src/drivers/uart/uart8250mem.c +++ b/src/drivers/uart/uart8250mem.c @@ -14,7 +14,7 @@ * GNU General Public License for more details. */
-#include <arch/io.h> +#include <device/mmio.h> #include <boot/coreboot_tables.h> #include <console/uart.h> #include <device/device.h> diff --git a/src/drivers/usb/ehci_debug.c b/src/drivers/usb/ehci_debug.c index 0cb89ce..d867d6c 100644 --- a/src/drivers/usb/ehci_debug.c +++ b/src/drivers/usb/ehci_debug.c @@ -18,6 +18,7 @@ #include <console/console.h> #include <console/usb.h> #include <arch/io.h> +#include <device/mmio.h> #include <arch/symbols.h> #include <arch/early_variables.h> #include <string.h> diff --git a/src/drivers/usb/pci_ehci.c b/src/drivers/usb/pci_ehci.c index 4028d4b..5621b37 100644 --- a/src/drivers/usb/pci_ehci.c +++ b/src/drivers/usb/pci_ehci.c @@ -17,7 +17,7 @@ #include <stddef.h> #include <console/console.h> #include <device/pci_ehci.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/drivers/xgi/common/xgi_coreboot.h b/src/drivers/xgi/common/xgi_coreboot.h index 6c0fd6c..39e74d1 100644 --- a/src/drivers/xgi/common/xgi_coreboot.h +++ b/src/drivers/xgi/common/xgi_coreboot.h @@ -24,6 +24,7 @@ #include <stdint.h> #include <string.h> #include <arch/io.h> +#include <device/mmio.h>
#include <console/console.h> #include <device/device.h> diff --git a/src/include/device/azalia_device.h b/src/include/device/azalia_device.h index 774b550..002b8244 100644 --- a/src/include/device/azalia_device.h +++ b/src/include/device/azalia_device.h @@ -20,7 +20,7 @@ #include <string.h> #include <console/console.h> #include <arch/acpi.h> -#include <arch/io.h> +#include <device/mmio.h> #include <arch/interrupt.h>
#include <device/device.h> diff --git a/src/include/device/mmio.h b/src/include/device/mmio.h new file mode 100644 index 0000000..bebf0cf --- /dev/null +++ b/src/include/device/mmio.h @@ -0,0 +1,21 @@ +/* + * This file is part of the coreboot project. + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU General Public License as + * published by the Free Software Foundation; version 2 of + * the License. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + */ + +#ifndef __DEVICE_MMIO_H__ +#define __DEVICE_MMIO_H__ + +/* FIXME: We only want the volatile MMIO ops. */ +#include <arch/io.h> + +#endif diff --git a/src/include/device/pci.h b/src/include/device/pci.h index 0ead578..a4f6536 100644 --- a/src/include/device/pci.h +++ b/src/include/device/pci.h @@ -19,12 +19,11 @@
#include <stdint.h> #include <stddef.h> -#include <arch/io.h> #include <device/pci_def.h> #include <device/resource.h> #include <device/device.h> #include <device/pci_rom.h> - +#include <device/pci_type.h>
/* Common pci operations without a standard interface */ struct pci_operations { diff --git a/src/include/device/pci_mmio_cfg.h b/src/include/device/pci_mmio_cfg.h index d7ada4d..147b630 100644 --- a/src/include/device/pci_mmio_cfg.h +++ b/src/include/device/pci_mmio_cfg.h @@ -17,7 +17,7 @@ #define _PCI_MMIO_CFG_H
#include <stdint.h> -#include <arch/io.h> +#include <device/mmio.h> #include <device/pci_type.h>
#define DEFAULT_PCIEXBAR CONFIG_MMCONF_BASE_ADDRESS diff --git a/src/lib/reg_script.c b/src/lib/reg_script.c index ed709ee..6234af6 100644 --- a/src/lib/reg_script.c +++ b/src/lib/reg_script.c @@ -14,6 +14,7 @@ */
#include <arch/io.h> +#include <device/mmio.h> #include <device/pci_ops.h> #include <console/console.h> #include <delay.h> diff --git a/src/mainboard/adi/rcc-dff/romstage.c b/src/mainboard/adi/rcc-dff/romstage.c index 3f97c82..08dd02d 100644 --- a/src/mainboard/adi/rcc-dff/romstage.c +++ b/src/mainboard/adi/rcc-dff/romstage.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/pci_def.h> #include <cpu/x86/lapic.h> diff --git a/src/mainboard/amd/bettong/boardid.c b/src/mainboard/amd/bettong/boardid.c index a78f9f6..a3c568f 100644 --- a/src/mainboard/amd/bettong/boardid.c +++ b/src/mainboard/amd/bettong/boardid.c @@ -14,7 +14,7 @@ */
#include <stdint.h> -#include <arch/io.h> +#include <device/mmio.h> #include <southbridge/amd/common/amd_defs.h> #include <boardid.h>
diff --git a/src/mainboard/amd/persimmon/mainboard.c b/src/mainboard/amd/persimmon/mainboard.c index 3fe513f..43be863 100644 --- a/src/mainboard/amd/persimmon/mainboard.c +++ b/src/mainboard/amd/persimmon/mainboard.c @@ -16,7 +16,7 @@
#include <console/console.h> #include <device/device.h> -#include <arch/io.h> +#include <device/mmio.h> #include <southbridge/amd/common/amd_pci_util.h> #include <southbridge/amd/cimx/cimx_util.h> #include <southbridge/amd/cimx/sb800/SBPLATFORM.h> diff --git a/src/mainboard/amd/torpedo/mptable.c b/src/mainboard/amd/torpedo/mptable.c index 2219d01..743651e 100644 --- a/src/mainboard/amd/torpedo/mptable.c +++ b/src/mainboard/amd/torpedo/mptable.c @@ -16,6 +16,7 @@ #include <arch/smp/mpspec.h> #include <device/pci.h> #include <arch/io.h> +#include <device/mmio.h> #include <string.h> #include <stdint.h> #include <arch/cpu.h> diff --git a/src/mainboard/asrock/e350m1/mainboard.c b/src/mainboard/asrock/e350m1/mainboard.c index 35aa9ec..b83a57f 100644 --- a/src/mainboard/asrock/e350m1/mainboard.c +++ b/src/mainboard/asrock/e350m1/mainboard.c @@ -15,7 +15,7 @@
#include <console/console.h> #include <device/device.h> -#include <arch/io.h> +#include <device/mmio.h> #include <southbridge/amd/cimx/cimx_util.h> #include <southbridge/amd/cimx/sb800/SBPLATFORM.h>
diff --git a/src/mainboard/asus/kcma-d8/mainboard.c b/src/mainboard/asus/kcma-d8/mainboard.c index dca89ef..145d957 100644 --- a/src/mainboard/asus/kcma-d8/mainboard.c +++ b/src/mainboard/asus/kcma-d8/mainboard.c @@ -17,7 +17,7 @@ #include <console/console.h> #include <device/device.h> #include <device/pci.h> -#include <arch/io.h> +#include <device/mmio.h> #include <device/pci_ops.h> #include <cpu/x86/msr.h> #include <cpu/amd/mtrr.h> diff --git a/src/mainboard/asus/kgpe-d16/mainboard.c b/src/mainboard/asus/kgpe-d16/mainboard.c index 564826b..14bb986 100644 --- a/src/mainboard/asus/kgpe-d16/mainboard.c +++ b/src/mainboard/asus/kgpe-d16/mainboard.c @@ -17,7 +17,7 @@ #include <console/console.h> #include <device/device.h> #include <device/pci.h> -#include <arch/io.h> +#include <device/mmio.h> #include <device/pci_ops.h> #include <cpu/x86/msr.h> #include <cpu/amd/mtrr.h> diff --git a/src/mainboard/asus/kgpe-d16/romstage.c b/src/mainboard/asus/kgpe-d16/romstage.c index 5c4dbe8..7e82347 100644 --- a/src/mainboard/asus/kgpe-d16/romstage.c +++ b/src/mainboard/asus/kgpe-d16/romstage.c @@ -21,6 +21,7 @@ #include <string.h> #include <device/pci_def.h> #include <arch/io.h> +#include <device/mmio.h> #include <device/pci_ops.h> #include <arch/cpu.h> #include <cpu/x86/lapic.h> diff --git a/src/mainboard/cubietech/cubieboard/bootblock.c b/src/mainboard/cubietech/cubieboard/bootblock.c index e2ce666..e1eb820 100644 --- a/src/mainboard/cubietech/cubieboard/bootblock.c +++ b/src/mainboard/cubietech/cubieboard/bootblock.c @@ -19,7 +19,7 @@ * It sets up CPU clock, and enables the bootblock console. */
-#include <arch/io.h> +#include <device/mmio.h> #include <bootblock_common.h> #include <console/uart.h> #include <console/console.h> diff --git a/src/mainboard/elmex/pcm205400/mainboard.c b/src/mainboard/elmex/pcm205400/mainboard.c index 3fe513f..43be863 100644 --- a/src/mainboard/elmex/pcm205400/mainboard.c +++ b/src/mainboard/elmex/pcm205400/mainboard.c @@ -16,7 +16,7 @@
#include <console/console.h> #include <device/device.h> -#include <arch/io.h> +#include <device/mmio.h> #include <southbridge/amd/common/amd_pci_util.h> #include <southbridge/amd/cimx/cimx_util.h> #include <southbridge/amd/cimx/sb800/SBPLATFORM.h> diff --git a/src/mainboard/emulation/qemu-armv7/cbmem.c b/src/mainboard/emulation/qemu-armv7/cbmem.c index f26ca6c..927bd42 100644 --- a/src/mainboard/emulation/qemu-armv7/cbmem.c +++ b/src/mainboard/emulation/qemu-armv7/cbmem.c @@ -14,7 +14,7 @@ #include <stddef.h> #include <cbmem.h> #include <symbols.h> -#include <arch/io.h> +#include <device/mmio.h> #include "mainboard.h"
#define PATTERN1 0x55 diff --git a/src/mainboard/emulation/qemu-armv7/mainboard.c b/src/mainboard/emulation/qemu-armv7/mainboard.c index 857365b..08b9bf2 100644 --- a/src/mainboard/emulation/qemu-armv7/mainboard.c +++ b/src/mainboard/emulation/qemu-armv7/mainboard.c @@ -21,7 +21,7 @@ #include <halt.h> #include "mainboard.h" #include <edid.h> -#include <arch/io.h> +#include <device/mmio.h>
static void init_gfx(void) { diff --git a/src/mainboard/gizmosphere/gizmo/mainboard.c b/src/mainboard/gizmosphere/gizmo/mainboard.c index 04d3ac1..5d4fbd7 100644 --- a/src/mainboard/gizmosphere/gizmo/mainboard.c +++ b/src/mainboard/gizmosphere/gizmo/mainboard.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 <delay.h> #include <device/device.h> diff --git a/src/mainboard/google/cyan/chromeos.c b/src/mainboard/google/cyan/chromeos.c index fd403a7..752637c 100644 --- a/src/mainboard/google/cyan/chromeos.c +++ b/src/mainboard/google/cyan/chromeos.c @@ -14,7 +14,7 @@ * GNU General Public License for more details. */
-#include <arch/io.h> +#include <device/mmio.h> #include <gpio.h> #include <soc/gpio.h> #include <string.h> diff --git a/src/mainboard/google/cyan/com_init.c b/src/mainboard/google/cyan/com_init.c index e4fe6be..44260bb 100644 --- a/src/mainboard/google/cyan/com_init.c +++ b/src/mainboard/google/cyan/com_init.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 <soc/gpio.h> #include <soc/lpc.h> diff --git a/src/mainboard/google/cyan/smihandler.c b/src/mainboard/google/cyan/smihandler.c index b09fea3..88400f7 100644 --- a/src/mainboard/google/cyan/smihandler.c +++ b/src/mainboard/google/cyan/smihandler.c @@ -16,6 +16,7 @@
#include <arch/acpi.h> #include <arch/io.h> +#include <device/mmio.h> #include <console/console.h> #include <cpu/x86/smm.h> #include "ec.h" diff --git a/src/mainboard/google/foster/bootblock.c b/src/mainboard/google/foster/bootblock.c index e4f4d29..b13bf55 100644 --- a/src/mainboard/google/foster/bootblock.c +++ b/src/mainboard/google/foster/bootblock.c @@ -14,7 +14,7 @@ * GNU General Public License for more details. */
-#include <arch/io.h> +#include <device/mmio.h> #include <bootblock_common.h> #include <device/i2c_simple.h> #include <soc/addressmap.h> diff --git a/src/mainboard/google/gale/reset.c b/src/mainboard/google/gale/reset.c index 98fbc0c..1820ac9 100644 --- a/src/mainboard/google/gale/reset.c +++ b/src/mainboard/google/gale/reset.c @@ -15,6 +15,7 @@ * GNU General Public License for more details. */
+#include <device/mmio.h> #include <soc/iomap.h> #include <reset.h>
diff --git a/src/mainboard/google/gru/bootblock.c b/src/mainboard/google/gru/bootblock.c index b2f7d57..9a716ae 100644 --- a/src/mainboard/google/gru/bootblock.c +++ b/src/mainboard/google/gru/bootblock.c @@ -14,7 +14,7 @@ * */
-#include <arch/io.h> +#include <device/mmio.h> #include <bootblock_common.h> #include <console/console.h> #include <delay.h> diff --git a/src/mainboard/google/gru/mainboard.c b/src/mainboard/google/gru/mainboard.c index 41307c7..d4fa7fc 100644 --- a/src/mainboard/google/gru/mainboard.c +++ b/src/mainboard/google/gru/mainboard.c @@ -17,6 +17,7 @@ #include <assert.h> #include <boardid.h> #include <console/console.h> +#include <device/mmio.h> #include <delay.h> #include <device/device.h> #include <device/i2c_simple.h> diff --git a/src/mainboard/google/gru/pwm_regulator.c b/src/mainboard/google/gru/pwm_regulator.c index 3ea37cf..0da6539 100644 --- a/src/mainboard/google/gru/pwm_regulator.c +++ b/src/mainboard/google/gru/pwm_regulator.c @@ -13,7 +13,7 @@ * GNU General Public License for more details. */
-#include <arch/io.h> +#include <device/mmio.h> #include <assert.h> #include <boardid.h> #include <console/console.h> diff --git a/src/mainboard/google/kahlee/mainboard.c b/src/mainboard/google/kahlee/mainboard.c index ed48593..32bf88e 100644 --- a/src/mainboard/google/kahlee/mainboard.c +++ b/src/mainboard/google/kahlee/mainboard.c @@ -16,8 +16,8 @@ #include <string.h> #include <console/console.h> #include <device/device.h> +#include <device/mmio.h> #include <arch/acpi.h> -#include <arch/io.h> #include <amdblocks/agesawrapper.h> #include <amdblocks/amd_pci_util.h> #include <cbmem.h> diff --git a/src/mainboard/google/kahlee/variants/baseboard/mainboard.c b/src/mainboard/google/kahlee/variants/baseboard/mainboard.c index 6600793..518d457 100644 --- a/src/mainboard/google/kahlee/variants/baseboard/mainboard.c +++ b/src/mainboard/google/kahlee/variants/baseboard/mainboard.c @@ -19,6 +19,7 @@ #include <gpio.h> #include <smbios.h> #include <variant/gpio.h> +#include <device/mmio.h> #include <device/pci.h> #include <device/pci_ops.h> #include <drivers/generic/bayhub/bh720.h> diff --git a/src/mainboard/google/nyan/bootblock.c b/src/mainboard/google/nyan/bootblock.c index f904cb1..2c969dd 100644 --- a/src/mainboard/google/nyan/bootblock.c +++ b/src/mainboard/google/nyan/bootblock.c @@ -13,7 +13,7 @@ * GNU General Public License for more details. */
-#include <arch/io.h> +#include <device/mmio.h> #include <bootblock_common.h> #include <device/i2c_simple.h> #include <gpio.h> diff --git a/src/mainboard/google/nyan/mainboard.c b/src/mainboard/google/nyan/mainboard.c index 47d6fb2..b1cf19e 100644 --- a/src/mainboard/google/nyan/mainboard.c +++ b/src/mainboard/google/nyan/mainboard.c @@ -13,7 +13,7 @@ * GNU General Public License for more details. */
-#include <arch/io.h> +#include <device/mmio.h> #include <device/device.h> #include <elog.h> #include <boot/coreboot_tables.h> diff --git a/src/mainboard/google/nyan_big/bootblock.c b/src/mainboard/google/nyan_big/bootblock.c index dccdbe8f..e5234fb 100644 --- a/src/mainboard/google/nyan_big/bootblock.c +++ b/src/mainboard/google/nyan_big/bootblock.c @@ -13,7 +13,7 @@ * GNU General Public License for more details. */
-#include <arch/io.h> +#include <device/mmio.h> #include <bootblock_common.h> #include <device/i2c_simple.h> #include <gpio.h> diff --git a/src/mainboard/google/nyan_big/mainboard.c b/src/mainboard/google/nyan_big/mainboard.c index 72d348d..c0769f1 100644 --- a/src/mainboard/google/nyan_big/mainboard.c +++ b/src/mainboard/google/nyan_big/mainboard.c @@ -13,7 +13,7 @@ * GNU General Public License for more details. */
-#include <arch/io.h> +#include <device/mmio.h> #include <boot/coreboot_tables.h> #include <device/device.h> #include <elog.h> diff --git a/src/mainboard/google/nyan_blaze/bootblock.c b/src/mainboard/google/nyan_blaze/bootblock.c index dccdbe8f..e5234fb 100644 --- a/src/mainboard/google/nyan_blaze/bootblock.c +++ b/src/mainboard/google/nyan_blaze/bootblock.c @@ -13,7 +13,7 @@ * GNU General Public License for more details. */
-#include <arch/io.h> +#include <device/mmio.h> #include <bootblock_common.h> #include <device/i2c_simple.h> #include <gpio.h> diff --git a/src/mainboard/google/nyan_blaze/mainboard.c b/src/mainboard/google/nyan_blaze/mainboard.c index 446bd53..a296092 100644 --- a/src/mainboard/google/nyan_blaze/mainboard.c +++ b/src/mainboard/google/nyan_blaze/mainboard.c @@ -13,7 +13,7 @@ * GNU General Public License for more details. */
-#include <arch/io.h> +#include <device/mmio.h> #include <boot/coreboot_tables.h> #include <device/device.h> #include <elog.h> diff --git a/src/mainboard/google/oak/bootblock.c b/src/mainboard/google/oak/bootblock.c index 9cba3b4..3c705e8 100644 --- a/src/mainboard/google/oak/bootblock.c +++ b/src/mainboard/google/oak/bootblock.c @@ -13,11 +13,11 @@ * GNU General Public License for more details. */
-#include <arch/io.h> #include <boardid.h> #include <bootblock_common.h> #include <delay.h> #include <gpio.h> +#include <device/mmio.h> #include <soc/gpio.h> #include <soc/i2c.h> #include <soc/mt6391.h> diff --git a/src/mainboard/google/peach_pit/mainboard.c b/src/mainboard/google/peach_pit/mainboard.c index a2df5f5..0441e52 100644 --- a/src/mainboard/google/peach_pit/mainboard.c +++ b/src/mainboard/google/peach_pit/mainboard.c @@ -16,6 +16,7 @@ #include <arch/cache.h> #include <boot/coreboot_tables.h> #include <console/console.h> +#include <device/mmio.h> #include <delay.h> #include <device/device.h> #include <device/i2c_simple.h> diff --git a/src/mainboard/google/smaug/bootblock.c b/src/mainboard/google/smaug/bootblock.c index 70a29c5..65ef1a1 100644 --- a/src/mainboard/google/smaug/bootblock.c +++ b/src/mainboard/google/smaug/bootblock.c @@ -13,7 +13,7 @@ * GNU General Public License for more details. */
-#include <arch/io.h> +#include <device/mmio.h> #include <bootblock_common.h> #include <device/i2c_simple.h> #include <soc/addressmap.h> diff --git a/src/mainboard/google/smaug/mainboard.c b/src/mainboard/google/smaug/mainboard.c index 8628426..162456e 100644 --- a/src/mainboard/google/smaug/mainboard.c +++ b/src/mainboard/google/smaug/mainboard.c @@ -14,7 +14,7 @@ * GNU General Public License for more details. */
-#include <arch/io.h> +#include <device/mmio.h> #include <arch/mmu.h> #include <bootmode.h> #include <boot/coreboot_tables.h> diff --git a/src/mainboard/google/storm/cdp.c b/src/mainboard/google/storm/cdp.c index f8af96a..3c27491 100644 --- a/src/mainboard/google/storm/cdp.c +++ b/src/mainboard/google/storm/cdp.c @@ -13,6 +13,7 @@ * GNU General Public License for more details. */
+#include <device/mmio.h> #include <gpio.h> #include <soc/cdp.h> #include <soc/ebi2.h> diff --git a/src/mainboard/google/storm/reset.c b/src/mainboard/google/storm/reset.c index f598de9..0ab5054 100644 --- a/src/mainboard/google/storm/reset.c +++ b/src/mainboard/google/storm/reset.c @@ -16,6 +16,7 @@ */
#include <console/console.h> +#include <device/mmio.h> #include <soc/iomap.h> #include <reset.h>
diff --git a/src/mainboard/google/urara/bootblock.c b/src/mainboard/google/urara/bootblock.c index 2b5a48a..682bef7 100644 --- a/src/mainboard/google/urara/bootblock.c +++ b/src/mainboard/google/urara/bootblock.c @@ -14,7 +14,7 @@ * GNU General Public License for more details. */
-#include <arch/io.h> +#include <device/mmio.h> #include <stdint.h> #include <soc/clocks.h> #include <assert.h> diff --git a/src/mainboard/google/veyron/bootblock.c b/src/mainboard/google/veyron/bootblock.c index 8648a3c..4c2f143 100644 --- a/src/mainboard/google/veyron/bootblock.c +++ b/src/mainboard/google/veyron/bootblock.c @@ -14,7 +14,7 @@ * GNU General Public License for more details. */
-#include <arch/io.h> +#include <device/mmio.h> #include <assert.h> #include <bootblock_common.h> #include <delay.h> diff --git a/src/mainboard/google/veyron/mainboard.c b/src/mainboard/google/veyron/mainboard.c index 230c008..d8ac310 100644 --- a/src/mainboard/google/veyron/mainboard.c +++ b/src/mainboard/google/veyron/mainboard.c @@ -14,7 +14,7 @@ */
#include <arch/cache.h> -#include <arch/io.h> +#include <device/mmio.h> #include <boot/coreboot_tables.h> #include <delay.h> #include <device/device.h> diff --git a/src/mainboard/google/veyron/romstage.c b/src/mainboard/google/veyron/romstage.c index 9d41049..9407528 100644 --- a/src/mainboard/google/veyron/romstage.c +++ b/src/mainboard/google/veyron/romstage.c @@ -19,6 +19,7 @@ #include <assert.h> #include <cbmem.h> #include <console/console.h> +#include <device/mmio.h> #include <delay.h> #include <program_loading.h> #include <soc/sdram.h> diff --git a/src/mainboard/google/veyron_mickey/bootblock.c b/src/mainboard/google/veyron_mickey/bootblock.c index 28f6b14..d9a07e7 100644 --- a/src/mainboard/google/veyron_mickey/bootblock.c +++ b/src/mainboard/google/veyron_mickey/bootblock.c @@ -14,7 +14,7 @@ * GNU General Public License for more details. */
-#include <arch/io.h> +#include <device/mmio.h> #include <assert.h> #include <bootblock_common.h> #include <delay.h> diff --git a/src/mainboard/google/veyron_mickey/mainboard.c b/src/mainboard/google/veyron_mickey/mainboard.c index 4b69cb1..f29c9d0 100644 --- a/src/mainboard/google/veyron_mickey/mainboard.c +++ b/src/mainboard/google/veyron_mickey/mainboard.c @@ -14,7 +14,7 @@ */
#include <arch/cache.h> -#include <arch/io.h> +#include <device/mmio.h> #include <boot/coreboot_tables.h> #include <delay.h> #include <device/device.h> diff --git a/src/mainboard/google/veyron_mickey/romstage.c b/src/mainboard/google/veyron_mickey/romstage.c index 31c3596..a2e8b36 100644 --- a/src/mainboard/google/veyron_mickey/romstage.c +++ b/src/mainboard/google/veyron_mickey/romstage.c @@ -19,6 +19,7 @@ #include <assert.h> #include <cbmem.h> #include <console/console.h> +#include <device/mmio.h> #include <delay.h> #include <program_loading.h> #include <soc/sdram.h> diff --git a/src/mainboard/google/veyron_rialto/bootblock.c b/src/mainboard/google/veyron_rialto/bootblock.c index 626d987..909a8ef 100644 --- a/src/mainboard/google/veyron_rialto/bootblock.c +++ b/src/mainboard/google/veyron_rialto/bootblock.c @@ -14,7 +14,7 @@ * GNU General Public License for more details. */
-#include <arch/io.h> +#include <device/mmio.h> #include <assert.h> #include <bootblock_common.h> #include <delay.h> diff --git a/src/mainboard/google/veyron_rialto/mainboard.c b/src/mainboard/google/veyron_rialto/mainboard.c index e3aa901..0597305 100644 --- a/src/mainboard/google/veyron_rialto/mainboard.c +++ b/src/mainboard/google/veyron_rialto/mainboard.c @@ -14,7 +14,7 @@ */
#include <arch/cache.h> -#include <arch/io.h> +#include <device/mmio.h> #include <boot/coreboot_tables.h> #include <console/console.h> #include <delay.h> diff --git a/src/mainboard/google/veyron_rialto/romstage.c b/src/mainboard/google/veyron_rialto/romstage.c index 4dd7e0c..64119c1 100644 --- a/src/mainboard/google/veyron_rialto/romstage.c +++ b/src/mainboard/google/veyron_rialto/romstage.c @@ -15,7 +15,7 @@
#include <arch/cache.h> #include <arch/exception.h> -#include <arch/io.h> +#include <device/mmio.h> #include <armv7.h> #include <assert.h> #include <cbmem.h> diff --git a/src/mainboard/intel/littleplains/romstage.c b/src/mainboard/intel/littleplains/romstage.c index 3f97c82..08dd02d 100644 --- a/src/mainboard/intel/littleplains/romstage.c +++ b/src/mainboard/intel/littleplains/romstage.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/pci_def.h> #include <cpu/x86/lapic.h> diff --git a/src/mainboard/intel/mohonpeak/romstage.c b/src/mainboard/intel/mohonpeak/romstage.c index 3f97c82..08dd02d 100644 --- a/src/mainboard/intel/mohonpeak/romstage.c +++ b/src/mainboard/intel/mohonpeak/romstage.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/pci_def.h> #include <cpu/x86/lapic.h> diff --git a/src/mainboard/intel/strago/com_init.c b/src/mainboard/intel/strago/com_init.c index e1e6476..b89d655 100644 --- a/src/mainboard/intel/strago/com_init.c +++ b/src/mainboard/intel/strago/com_init.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 <soc/gpio.h> #include <soc/lpc.h> diff --git a/src/mainboard/jetway/nf81-t56n-lf/mainboard.c b/src/mainboard/jetway/nf81-t56n-lf/mainboard.c index 567a586..3439d2f 100644 --- a/src/mainboard/jetway/nf81-t56n-lf/mainboard.c +++ b/src/mainboard/jetway/nf81-t56n-lf/mainboard.c @@ -16,7 +16,7 @@ */
-#include <arch/io.h> +#include <device/mmio.h> #include <console/console.h> #include <device/device.h>
diff --git a/src/mainboard/lippert/frontrunner-af/mainboard.c b/src/mainboard/lippert/frontrunner-af/mainboard.c index cdd3f80..8d4aff0 100644 --- a/src/mainboard/lippert/frontrunner-af/mainboard.c +++ b/src/mainboard/lippert/frontrunner-af/mainboard.c @@ -18,6 +18,7 @@ #include <device/device.h> #include <device/pci.h> #include <arch/io.h> +#include <device/mmio.h> #include <device/pci_ops.h> #include <device/pci_def.h> #include <southbridge/amd/sb800/sb800.h> diff --git a/src/mainboard/lippert/toucan-af/mainboard.c b/src/mainboard/lippert/toucan-af/mainboard.c index ddea58d..135b0a3 100644 --- a/src/mainboard/lippert/toucan-af/mainboard.c +++ b/src/mainboard/lippert/toucan-af/mainboard.c @@ -17,7 +17,7 @@ #include <console/console.h> #include <device/device.h> #include <device/pci.h> -#include <arch/io.h> +#include <device/mmio.h> #include <device/pci_ops.h> #include <device/pci_def.h> #include <southbridge/amd/sb800/sb800.h> diff --git a/src/mainboard/pcengines/apu1/mainboard.c b/src/mainboard/pcengines/apu1/mainboard.c index 3b7d0f5..ac95894 100644 --- a/src/mainboard/pcengines/apu1/mainboard.c +++ b/src/mainboard/pcengines/apu1/mainboard.c @@ -17,7 +17,7 @@ #include <console/console.h> #include <device/device.h> #include <device/pci.h> -#include <arch/io.h> +#include <device/mmio.h> #include <device/pci_ops.h> #include <device/pci_def.h> #include <southbridge/amd/common/amd_pci_util.h> diff --git a/src/mainboard/pcengines/apu2/gpio_ftns.c b/src/mainboard/pcengines/apu2/gpio_ftns.c index 69a0e3c..a1e2e51 100644 --- a/src/mainboard/pcengines/apu2/gpio_ftns.c +++ b/src/mainboard/pcengines/apu2/gpio_ftns.c @@ -14,7 +14,7 @@ */
#include <stdint.h> -#include <arch/io.h> +#include <device/mmio.h> #include <southbridge/amd/cimx/cimx_util.h> #include <FchPlatform.h> #include "gpio_ftns.h" diff --git a/src/mainboard/pcengines/apu2/mainboard.c b/src/mainboard/pcengines/apu2/mainboard.c index e8b52dd..baad54c 100644 --- a/src/mainboard/pcengines/apu2/mainboard.c +++ b/src/mainboard/pcengines/apu2/mainboard.c @@ -14,7 +14,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/mainboard/siemens/mc_apl1/mainboard.c b/src/mainboard/siemens/mc_apl1/mainboard.c index 07d0fb1..b39b681 100644 --- a/src/mainboard/siemens/mc_apl1/mainboard.c +++ b/src/mainboard/siemens/mc_apl1/mainboard.c @@ -15,6 +15,7 @@ */
#include <console/console.h> +#include <device/mmio.h> #include <device/device.h> #include <device/pci.h> #include <device/pci_ops.h> diff --git a/src/mainboard/siemens/mc_bdx1/mainboard.c b/src/mainboard/siemens/mc_bdx1/mainboard.c index d137586..fb4d1e3 100644 --- a/src/mainboard/siemens/mc_bdx1/mainboard.c +++ b/src/mainboard/siemens/mc_bdx1/mainboard.c @@ -27,7 +27,7 @@ #include <x86emu/x86emu.h> #endif #include <arch/acpi.h> -#include <arch/io.h> +#include <device/mmio.h> #include <arch/interrupt.h> #include <boot/coreboot_tables.h> #include <hwilib.h> diff --git a/src/mainboard/ti/beaglebone/bootblock.c b/src/mainboard/ti/beaglebone/bootblock.c index d947c8c..25e7434 100644 --- a/src/mainboard/ti/beaglebone/bootblock.c +++ b/src/mainboard/ti/beaglebone/bootblock.c @@ -13,7 +13,7 @@ * GNU General Public License for more details. */
-#include <arch/io.h> +#include <device/mmio.h> #include <types.h> #include <bootblock_common.h> #include <console/uart.h> diff --git a/src/northbridge/intel/e7505/raminit.c b/src/northbridge/intel/e7505/raminit.c index 276307d..fcf347c 100644 --- a/src/northbridge/intel/e7505/raminit.c +++ b/src/northbridge/intel/e7505/raminit.c @@ -27,6 +27,7 @@ #include <stdint.h> #include <device/pci_def.h> #include <arch/io.h> +#include <device/mmio.h> #include <device/pci_ops.h> #include <lib.h> #include <stdlib.h> diff --git a/src/northbridge/intel/gm45/gma.c b/src/northbridge/intel/gm45/gma.c index 347a5ae..4a5ebbd 100644 --- a/src/northbridge/intel/gm45/gma.c +++ b/src/northbridge/intel/gm45/gma.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 <delay.h> #include <device/device.h> diff --git a/src/northbridge/intel/gm45/raminit.c b/src/northbridge/intel/gm45/raminit.c index d4209dc..2826d74 100644 --- a/src/northbridge/intel/gm45/raminit.c +++ b/src/northbridge/intel/gm45/raminit.c @@ -17,7 +17,7 @@ #include <stdint.h> #include <stdlib.h> #include <arch/cpu.h> -#include <arch/io.h> +#include <device/mmio.h> #include <device/pci_ops.h> #include <device/pci_def.h> #include <device/device.h> diff --git a/src/northbridge/intel/gm45/raminit_read_write_training.c b/src/northbridge/intel/gm45/raminit_read_write_training.c index 49e565f..3f5dbca 100644 --- a/src/northbridge/intel/gm45/raminit_read_write_training.c +++ b/src/northbridge/intel/gm45/raminit_read_write_training.c @@ -15,7 +15,7 @@ */
#include <stdint.h> -#include <arch/io.h> +#include <device/mmio.h> #include <pc80/mc146818rtc.h> #include <console/console.h> #include "gm45.h" diff --git a/src/northbridge/intel/gm45/raminit_receive_enable_calibration.c b/src/northbridge/intel/gm45/raminit_receive_enable_calibration.c index 7d57a4e..7c7f56d 100644 --- a/src/northbridge/intel/gm45/raminit_receive_enable_calibration.c +++ b/src/northbridge/intel/gm45/raminit_receive_enable_calibration.c @@ -15,7 +15,7 @@ */
#include <stdint.h> -#include <arch/io.h> +#include <device/mmio.h> #include <console/console.h> #include "gm45.h"
diff --git a/src/northbridge/intel/haswell/early_init.c b/src/northbridge/intel/haswell/early_init.c index 75fc7a2..6fef0da 100644 --- a/src/northbridge/intel/haswell/early_init.c +++ b/src/northbridge/intel/haswell/early_init.c @@ -17,7 +17,7 @@ #include <stdint.h> #include <stdlib.h> #include <console/console.h> -#include <arch/io.h> +#include <device/mmio.h> #include <device/pci_def.h> #include <device/pci_ops.h> #include <elog.h> diff --git a/src/northbridge/intel/haswell/gma.c b/src/northbridge/intel/haswell/gma.c index a04b3f4..3b043a3 100644 --- a/src/northbridge/intel/haswell/gma.c +++ b/src/northbridge/intel/haswell/gma.c @@ -14,6 +14,7 @@ */
#include <arch/io.h> +#include <device/mmio.h> #include <device/pci_ops.h> #include <cbmem.h> #include <console/console.h> diff --git a/src/northbridge/intel/haswell/minihd.c b/src/northbridge/intel/haswell/minihd.c index 4f7e201..9a1df0f 100644 --- a/src/northbridge/intel/haswell/minihd.c +++ b/src/northbridge/intel/haswell/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 <southbridge/intel/lynxpoint/hda_verb.h> diff --git a/src/northbridge/intel/i440bx/raminit.c b/src/northbridge/intel/i440bx/raminit.c index 0c9496b..bf88418 100644 --- a/src/northbridge/intel/i440bx/raminit.c +++ b/src/northbridge/intel/i440bx/raminit.c @@ -19,7 +19,7 @@ #include <delay.h> #include <stdint.h> #include <stdlib.h> -#include <arch/io.h> +#include <device/mmio.h> #include <device/pci_ops.h> #include <device/pci_def.h> #include <console/console.h> diff --git a/src/northbridge/intel/i945/gma.c b/src/northbridge/intel/i945/gma.c index 3a01940..26b6c84 100644 --- a/src/northbridge/intel/i945/gma.c +++ b/src/northbridge/intel/i945/gma.c @@ -15,7 +15,9 @@
#include <console/console.h> #include <bootmode.h> +#include <device/mmio.h> #include <delay.h> +#include <arch/io.h> #include <device/device.h> #include <device/pci.h> #include <device/pci_ops.h> diff --git a/src/northbridge/intel/i945/raminit.c b/src/northbridge/intel/i945/raminit.c index c6a2e05..a9bfde7 100644 --- a/src/northbridge/intel/i945/raminit.c +++ b/src/northbridge/intel/i945/raminit.c @@ -18,6 +18,8 @@ #include <cpu/x86/cache.h> #include <device/pci_def.h> #include <device/pci_ops.h> +#include <arch/io.h> +#include <device/mmio.h> #include <device/device.h> #include <lib.h> #include <pc80/mc146818rtc.h> diff --git a/src/northbridge/intel/i945/rcven.c b/src/northbridge/intel/i945/rcven.c index 07580d1..5a90807 100644 --- a/src/northbridge/intel/i945/rcven.c +++ b/src/northbridge/intel/i945/rcven.c @@ -14,7 +14,7 @@ */
#include <console/console.h> -#include <arch/io.h> +#include <device/mmio.h> #include "raminit.h" #include "i945.h"
diff --git a/src/northbridge/intel/nehalem/gma.c b/src/northbridge/intel/nehalem/gma.c index 039923c..be17e2f 100644 --- a/src/northbridge/intel/nehalem/gma.c +++ b/src/northbridge/intel/nehalem/gma.c @@ -15,6 +15,7 @@ */
#include <arch/io.h> +#include <device/mmio.h> #include <console/console.h> #include <delay.h> #include <device/device.h> diff --git a/src/northbridge/intel/nehalem/raminit.c b/src/northbridge/intel/nehalem/raminit.c index 9812e53..78bc6de 100644 --- a/src/northbridge/intel/nehalem/raminit.c +++ b/src/northbridge/intel/nehalem/raminit.c @@ -18,6 +18,7 @@ #include <console/console.h> #include <string.h> #include <arch/io.h> +#include <device/mmio.h> #include <device/pci_ops.h> #include <cpu/x86/msr.h> #include <cbmem.h> diff --git a/src/northbridge/intel/pineview/gma.c b/src/northbridge/intel/pineview/gma.c index 56242ce..73a8240 100644 --- a/src/northbridge/intel/pineview/gma.c +++ b/src/northbridge/intel/pineview/gma.c @@ -16,6 +16,7 @@ */
#include <arch/io.h> +#include <device/mmio.h> #include <console/console.h> #include <delay.h> #include <device/device.h> diff --git a/src/northbridge/intel/pineview/raminit.c b/src/northbridge/intel/pineview/raminit.c index 1b2ad8d..4cdb27a 100644 --- a/src/northbridge/intel/pineview/raminit.c +++ b/src/northbridge/intel/pineview/raminit.c @@ -15,6 +15,7 @@ */
#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/northbridge/intel/sandybridge/gma.c b/src/northbridge/intel/sandybridge/gma.c index 2f797f1..ce2abd9 100644 --- a/src/northbridge/intel/sandybridge/gma.c +++ b/src/northbridge/intel/sandybridge/gma.c @@ -14,6 +14,7 @@ */
#include <arch/io.h> +#include <device/mmio.h> #include <console/console.h> #include <bootmode.h> #include <delay.h> diff --git a/src/northbridge/intel/sandybridge/iommu.c b/src/northbridge/intel/sandybridge/iommu.c index 26bbdf9..339397d 100644 --- a/src/northbridge/intel/sandybridge/iommu.c +++ b/src/northbridge/intel/sandybridge/iommu.c @@ -16,7 +16,7 @@
#include <stdint.h>
-#include <arch/io.h> +#include <device/mmio.h> #include <device/pci_ops.h> #include <device/device.h> #include <device/pci_def.h> diff --git a/src/northbridge/intel/sandybridge/raminit.c b/src/northbridge/intel/sandybridge/raminit.c index 115d515..caba76e 100644 --- a/src/northbridge/intel/sandybridge/raminit.c +++ b/src/northbridge/intel/sandybridge/raminit.c @@ -21,6 +21,7 @@ #include <string.h> #include <arch/cpu.h> #include <arch/io.h> +#include <device/mmio.h> #include <device/pci_ops.h> #include <cbmem.h> #include <halt.h> diff --git a/src/northbridge/intel/sandybridge/raminit_common.c b/src/northbridge/intel/sandybridge/raminit_common.c index afdd908..6bda9ed 100644 --- a/src/northbridge/intel/sandybridge/raminit_common.c +++ b/src/northbridge/intel/sandybridge/raminit_common.c @@ -18,7 +18,7 @@ #include <console/console.h> #include <string.h> #include <arch/cpu.h> -#include <arch/io.h> +#include <device/mmio.h> #include <device/pci_ops.h> #include <northbridge/intel/sandybridge/chip.h> #include <device/pci_def.h> diff --git a/src/northbridge/intel/x4x/dq_dqs.c b/src/northbridge/intel/x4x/dq_dqs.c index d5526f6..ce18440 100644 --- a/src/northbridge/intel/x4x/dq_dqs.c +++ b/src/northbridge/intel/x4x/dq_dqs.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 <delay.h> #include <stdint.h> diff --git a/src/northbridge/intel/x4x/raminit_ddr23.c b/src/northbridge/intel/x4x/raminit_ddr23.c index ffa861e..d14809e 100644 --- a/src/northbridge/intel/x4x/raminit_ddr23.c +++ b/src/northbridge/intel/x4x/raminit_ddr23.c @@ -16,7 +16,7 @@
#include <assert.h> #include <stdint.h> -#include <arch/io.h> +#include <device/mmio.h> #include <device/pci_ops.h> #include <console/console.h> #include <commonlib/helpers.h> diff --git a/src/northbridge/intel/x4x/rcven.c b/src/northbridge/intel/x4x/rcven.c index 5e79c73..7c49838 100644 --- a/src/northbridge/intel/x4x/rcven.c +++ b/src/northbridge/intel/x4x/rcven.c @@ -15,7 +15,7 @@ * GNU General Public License for more details. */
-#include <arch/io.h> +#include <device/mmio.h> #include <console/console.h> #include <delay.h> #include "iomap.h" diff --git a/src/soc/amd/common/block/psp/psp.c b/src/soc/amd/common/block/psp/psp.c index f8b1e6b..8bc0f36 100644 --- a/src/soc/amd/common/block/psp/psp.c +++ b/src/soc/amd/common/block/psp/psp.c @@ -13,7 +13,7 @@ * GNU General Public License for more details. */
-#include <arch/io.h> +#include <device/mmio.h> #include <cpu/x86/msr.h> #include <cbfs.h> #include <region_file.h> diff --git a/src/soc/amd/common/block/s3/s3_resume.c b/src/soc/amd/common/block/s3/s3_resume.c index eb0148f..0ba2f13 100644 --- a/src/soc/amd/common/block/s3/s3_resume.c +++ b/src/soc/amd/common/block/s3/s3_resume.c @@ -14,6 +14,7 @@ * GNU General Public License for more details. */
+#include <device/mmio.h> #include <stage_cache.h> #include <mrc_cache.h> #include <reset.h> diff --git a/src/soc/amd/stoneyridge/gpio.c b/src/soc/amd/stoneyridge/gpio.c index 621aca3..da1ba0b 100644 --- a/src/soc/amd/stoneyridge/gpio.c +++ b/src/soc/amd/stoneyridge/gpio.c @@ -15,7 +15,7 @@ * GNU General Public License for more details. */
-#include <arch/io.h> +#include <device/mmio.h> #include <console/console.h> #include <delay.h> #include <gpio.h> diff --git a/src/soc/amd/stoneyridge/sb_util.c b/src/soc/amd/stoneyridge/sb_util.c index eeb550c..b60f186 100644 --- a/src/soc/amd/stoneyridge/sb_util.c +++ b/src/soc/amd/stoneyridge/sb_util.c @@ -13,6 +13,8 @@ * GNU General Public License for more details. */
+#include <arch/io.h> +#include <device/mmio.h> #include <arch/acpi.h> #include <soc/southbridge.h>
diff --git a/src/soc/amd/stoneyridge/southbridge.c b/src/soc/amd/stoneyridge/southbridge.c index dfbd160..069fc78 100644 --- a/src/soc/amd/stoneyridge/southbridge.c +++ b/src/soc/amd/stoneyridge/southbridge.c @@ -16,6 +16,7 @@ #include <console/console.h>
#include <arch/io.h> +#include <device/mmio.h> #include <bootstate.h> #include <cpu/x86/smm.h> #include <device/device.h> diff --git a/src/soc/amd/stoneyridge/spi.c b/src/soc/amd/stoneyridge/spi.c index 9d62f67..409b9b1 100644 --- a/src/soc/amd/stoneyridge/spi.c +++ b/src/soc/amd/stoneyridge/spi.c @@ -16,7 +16,7 @@ #include <stdint.h> #include <stdlib.h> #include <string.h> -#include <arch/io.h> +#include <device/mmio.h> #include <lib.h> #include <timer.h> #include <console/console.h> diff --git a/src/soc/cavium/cn81xx/clock.c b/src/soc/cavium/cn81xx/clock.c index 02f152f..4525740 100644 --- a/src/soc/cavium/cn81xx/clock.c +++ b/src/soc/cavium/cn81xx/clock.c @@ -14,7 +14,7 @@ * GNU General Public License for more details. */ #include <soc/clock.h> -#include <arch/io.h> +#include <device/mmio.h> #include <soc/addressmap.h>
#define PLL_REF_CLK 50000000 /* 50 MHz */ diff --git a/src/soc/cavium/cn81xx/cpu.c b/src/soc/cavium/cn81xx/cpu.c index b655d8a..6c1d006 100644 --- a/src/soc/cavium/cn81xx/cpu.c +++ b/src/soc/cavium/cn81xx/cpu.c @@ -15,7 +15,7 @@
#include <types.h> #include <soc/addressmap.h> -#include <arch/io.h> +#include <device/mmio.h> #include <soc/cpu.h> #include <bdk-coreboot.h> #include <console/console.h> diff --git a/src/soc/cavium/cn81xx/ecam0.c b/src/soc/cavium/cn81xx/ecam0.c index 0ce0c8f..6e0cb9c 100644 --- a/src/soc/cavium/cn81xx/ecam0.c +++ b/src/soc/cavium/cn81xx/ecam0.c @@ -17,7 +17,7 @@ */
#include <console/console.h> -#include <arch/io.h> +#include <device/mmio.h> #include <device/pci.h> #include <device/pci_ops.h> #include <soc/addressmap.h> diff --git a/src/soc/cavium/cn81xx/gpio.c b/src/soc/cavium/cn81xx/gpio.c index 9de1839..676e953 100644 --- a/src/soc/cavium/cn81xx/gpio.c +++ b/src/soc/cavium/cn81xx/gpio.c @@ -15,7 +15,7 @@
#include <console/console.h> #include <soc/gpio.h> -#include <arch/io.h> +#include <device/mmio.h> #include <endian.h> #include <soc/addressmap.h>
diff --git a/src/soc/cavium/cn81xx/sdram.c b/src/soc/cavium/cn81xx/sdram.c index 05546cc..71d6b48 100644 --- a/src/soc/cavium/cn81xx/sdram.c +++ b/src/soc/cavium/cn81xx/sdram.c @@ -31,6 +31,7 @@ #include <libdram/libdram-config.h> #include <soc/ecam.h> #include <device/pci_ops.h> +#include <device/mmio.h> #include <device/pci.h>
size_t sdram_size_mb(void) diff --git a/src/soc/cavium/cn81xx/spi.c b/src/soc/cavium/cn81xx/spi.c index 2391f4a..dd0baf6 100644 --- a/src/soc/cavium/cn81xx/spi.c +++ b/src/soc/cavium/cn81xx/spi.c @@ -16,7 +16,7 @@ * Derived from Cavium's BSD-3 Clause OCTEONTX-SDK-6.2.0. */
-#include <arch/io.h> +#include <device/mmio.h> #include <assert.h> #include <console/console.h> #include <delay.h> diff --git a/src/soc/cavium/cn81xx/timer.c b/src/soc/cavium/cn81xx/timer.c index f2a870a..d6828e9 100644 --- a/src/soc/cavium/cn81xx/timer.c +++ b/src/soc/cavium/cn81xx/timer.c @@ -16,7 +16,7 @@ * Derived from Cavium's BSD-3 Clause OCTEONTX-SDK-6.2.0. */
-#include <arch/io.h> +#include <device/mmio.h> #include <arch/lib_helpers.h> #include <console/console.h> #include <inttypes.h> diff --git a/src/soc/cavium/cn81xx/twsi.c b/src/soc/cavium/cn81xx/twsi.c index e86cac7..d29bcda 100644 --- a/src/soc/cavium/cn81xx/twsi.c +++ b/src/soc/cavium/cn81xx/twsi.c @@ -22,7 +22,7 @@ #include <device/i2c_simple.h> #include <assert.h> #include <delay.h> -#include <arch/io.h> +#include <device/mmio.h> #include <soc/addressmap.h>
#define TWSI_THP 24 diff --git a/src/soc/cavium/cn81xx/uart.c b/src/soc/cavium/cn81xx/uart.c index baa9206..8a21f00 100644 --- a/src/soc/cavium/cn81xx/uart.c +++ b/src/soc/cavium/cn81xx/uart.c @@ -16,7 +16,7 @@ * Derived from Cavium's BSD-3 Clause OCTEONTX-SDK-6.2.0. */
-#include <arch/io.h> +#include <device/mmio.h> #include <console/uart.h> #include <delay.h> #include <endian.h> diff --git a/src/soc/imgtec/pistachio/clocks.c b/src/soc/imgtec/pistachio/clocks.c index 9f3da1a..7957086 100644 --- a/src/soc/imgtec/pistachio/clocks.c +++ b/src/soc/imgtec/pistachio/clocks.c @@ -14,7 +14,7 @@ * GNU General Public License for more details. */
-#include <arch/io.h> +#include <device/mmio.h> #include <assert.h> #include <delay.h> #include <soc/clocks.h> diff --git a/src/soc/imgtec/pistachio/ddr2_init.c b/src/soc/imgtec/pistachio/ddr2_init.c index aac85a9..e05fda5 100644 --- a/src/soc/imgtec/pistachio/ddr2_init.c +++ b/src/soc/imgtec/pistachio/ddr2_init.c @@ -14,7 +14,7 @@ * GNU General Public License for more details. */
-#include <arch/io.h> +#include <device/mmio.h> #include <soc/ddr_init.h> #include <soc/ddr_private_reg.h> #include <stdint.h> diff --git a/src/soc/imgtec/pistachio/ddr3_init.c b/src/soc/imgtec/pistachio/ddr3_init.c index b3f723c..2effb8b 100644 --- a/src/soc/imgtec/pistachio/ddr3_init.c +++ b/src/soc/imgtec/pistachio/ddr3_init.c @@ -15,7 +15,7 @@ */
#include <stdint.h> -#include <arch/io.h> +#include <device/mmio.h> #include <soc/ddr_init.h> #include <soc/ddr_private_reg.h>
diff --git a/src/soc/imgtec/pistachio/include/soc/cpu.h b/src/soc/imgtec/pistachio/include/soc/cpu.h index 8995219..2ceb624 100644 --- a/src/soc/imgtec/pistachio/include/soc/cpu.h +++ b/src/soc/imgtec/pistachio/include/soc/cpu.h @@ -18,7 +18,7 @@ #ifndef __SOC_IMGTEC_DANUBE_CPU_H__ #define __SOC_IMGTEC_DANUBE_CPU_H__
-#include <arch/io.h> +#include <device/mmio.h>
#define IMG_SPIM0_BASE_ADDRESS 0xB8100F00 #define IMG_SPIM1_BASE_ADDRESS 0xB8101000 diff --git a/src/soc/imgtec/pistachio/include/soc/ddr_private_reg.h b/src/soc/imgtec/pistachio/include/soc/ddr_private_reg.h index a9d18a0..1026d5b 100644 --- a/src/soc/imgtec/pistachio/include/soc/ddr_private_reg.h +++ b/src/soc/imgtec/pistachio/include/soc/ddr_private_reg.h @@ -18,6 +18,7 @@ #ifndef __SOC_IMGTEC_PISTACHIO_DDR_PRIVATE_REG_H__ #define __SOC_IMGTEC_PISTACHIO_DDR_PRIVATE_REG_H__
+#include <device/mmio.h> #include <timer.h>
#define MAX_WAIT_MICROS 100000 diff --git a/src/soc/imgtec/pistachio/monotonic_timer.c b/src/soc/imgtec/pistachio/monotonic_timer.c index 8e84236..f351ea1 100644 --- a/src/soc/imgtec/pistachio/monotonic_timer.c +++ b/src/soc/imgtec/pistachio/monotonic_timer.c @@ -14,6 +14,7 @@ */
#include <arch/cpu.h> +#include <device/mmio.h> #include <soc/cpu.h> #include <stdint.h> #include <timer.h> diff --git a/src/soc/imgtec/pistachio/reset.c b/src/soc/imgtec/pistachio/reset.c index 9cdedc0..244070f 100644 --- a/src/soc/imgtec/pistachio/reset.c +++ b/src/soc/imgtec/pistachio/reset.c @@ -13,7 +13,7 @@ * GNU General Public License for more details. */
-#include <arch/io.h> +#include <device/mmio.h> #include <reset.h>
#define PISTACHIO_WD_ADDR 0xB8102100 diff --git a/src/soc/imgtec/pistachio/spi.c b/src/soc/imgtec/pistachio/spi.c index 6fb3508..cd27ce1 100644 --- a/src/soc/imgtec/pistachio/spi.c +++ b/src/soc/imgtec/pistachio/spi.c @@ -14,6 +14,7 @@ */
#include <console/console.h> +#include <device/mmio.h> #include <soc/cpu.h> #include <soc/spi.h> #include <spi_flash.h> diff --git a/src/soc/imgtec/pistachio/uart.c b/src/soc/imgtec/pistachio/uart.c index 585ac6b..a8ef3fa 100644 --- a/src/soc/imgtec/pistachio/uart.c +++ b/src/soc/imgtec/pistachio/uart.c @@ -16,7 +16,7 @@ * GNU General Public License for more details. */
-#include <arch/io.h> +#include <device/mmio.h> #include <boot/coreboot_tables.h> #include <console/uart.h> #include <device/device.h> diff --git a/src/soc/intel/apollolake/acpi.c b/src/soc/intel/apollolake/acpi.c index 6780ec4..c87b51c 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 3eed45c..6b8479d 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 0ff7dcc..85a2b19 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 15ef243..0400a9d 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 e40f820..e766c77 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 07207b3..0a85f26 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 b2cac4c..666a9da 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 5a36de5..73c0d15 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 743ab9f..8d9ce00 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 474aaea..2fed005 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 5496b01..9e308bc 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 caa3710..1843f08 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 5ef1f71..b740a03 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 3e0ba32..7ea1443 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 adf0f96..e7636fe 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 a65e10e..ec0aa85 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 89b6b31..7b01cfa 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 7cbb082..9dd89d2 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 b67303e..4ace22a 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 a5b2894..77547b8 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 5ca34ec..253cfa2 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 894096f..2240ae1 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 aff1c3d..7b5374a 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 12ee42c..1c89187 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 7b7eb9b..a06d7a6 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 fbaac2e..271eefe 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 38047ed..5fe3550 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 1129e04..1f02269 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 ae0d80a..6f54d78 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 3cd2208..22fe853 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 0937268..fa22cf7 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 72a4b8c..d0296e0 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 3fd87dc..9ef51c6 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 da6db7d..94ec3a7 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 fc1406d..73317e3 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 a9fc3d6..1b2489c 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 9911ad1..8be5b82 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 0853753..cb08ae7 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 9d751e5..0330acb 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 6b2dfc2..9f5d81d 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 7770731..21417cf 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 bd11807..4779987 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 92a4711..127d9c8 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 5ca19e5..018ccfc 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 03ff616..bc4ae02 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 c57cde8..e2fcc3a 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 84bfba0..931c4af 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 6783b93..7d6ee65 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 4214fcc..9137507 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 1d48b82..302e6de 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 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> diff --git a/src/soc/intel/common/block/graphics/graphics.c b/src/soc/intel/common/block/graphics/graphics.c index da2b25f..bc2bef1 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 445da36..3e58d60 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 6d4fb33..1168871 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 e354c03..61991c2 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 a469680..6c967ad 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 129a359..4c32520 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 17df42d..93fa5df 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 58732e5..3edad9b 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 c0aa25f..955bf4b 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 b8576ae..b083768 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 5f16f04..c937709 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 73c8269..77364b80 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 844a037..ad62e51 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 fcfeaf7..1e44021 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 65cbbfb..22eae36 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 48568d1..9701a33 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 315c1a2..b471e5c 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 3cc69b9..282083a 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 fbbbfe9..68f5626 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 13013db..3549894 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 252d69e..6308593 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 a5a18b7..8373b91 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 03d0e8f..10838e3 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 83121fa..62cc189 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 84f8d28..651e7d1 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 3c26808..8fce928 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 0255888..4bc924c 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 0a26ee5..967fe28 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 00de28e..ff4d966 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 a9c9ea1..3ada73d 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 5581e16..8fa5e15 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 9d1c47f..ac48da2 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 2f08933..ea9a41b 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 fd25217..cfeffbb 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 d7b29e7..0822e7d 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 de790fa..7a8932b 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 e337d8b..c69dffb 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 f622edb..24bc2a8 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 e4818dc..864cefe 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 f0ccb1d..bca151e 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 5b82392..5ff05c2 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 4007553..5ea0902 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 eef42b2..711b714 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> diff --git a/src/soc/mediatek/common/gpio.c b/src/soc/mediatek/common/gpio.c index 371ff26..3a1a202 100644 --- a/src/soc/mediatek/common/gpio.c +++ b/src/soc/mediatek/common/gpio.c @@ -13,7 +13,7 @@ * GNU General Public License for more details. */
-#include <arch/io.h> +#include <device/mmio.h> #include <gpio.h>
enum { diff --git a/src/soc/mediatek/common/mtcmos.c b/src/soc/mediatek/common/mtcmos.c index ef4299f..fa0b23a 100644 --- a/src/soc/mediatek/common/mtcmos.c +++ b/src/soc/mediatek/common/mtcmos.c @@ -15,7 +15,7 @@
#include <stddef.h>
-#include <arch/io.h> +#include <device/mmio.h> #include <soc/mtcmos.h> #include <soc/spm.h>
diff --git a/src/soc/mediatek/common/pll.c b/src/soc/mediatek/common/pll.c index e087be3..0968d2f 100644 --- a/src/soc/mediatek/common/pll.c +++ b/src/soc/mediatek/common/pll.c @@ -13,7 +13,7 @@ * GNU General Public License for more details. */
-#include <arch/io.h> +#include <device/mmio.h> #include <assert.h> #include <soc/pll.h>
diff --git a/src/soc/mediatek/common/pmic_wrap.c b/src/soc/mediatek/common/pmic_wrap.c index 5cbb300..9e1163b 100644 --- a/src/soc/mediatek/common/pmic_wrap.c +++ b/src/soc/mediatek/common/pmic_wrap.c @@ -13,7 +13,7 @@ * GNU General Public License for more details. */
-#include <arch/io.h> +#include <device/mmio.h> #include <assert.h> #include <soc/pmic_wrap.h>
diff --git a/src/soc/mediatek/common/reset.c b/src/soc/mediatek/common/reset.c index 855e34f..62c8016 100644 --- a/src/soc/mediatek/common/reset.c +++ b/src/soc/mediatek/common/reset.c @@ -13,7 +13,7 @@ * GNU General Public License for more details. */
-#include <arch/io.h> +#include <device/mmio.h> #include <reset.h> #include <soc/wdt.h>
diff --git a/src/soc/mediatek/common/spi.c b/src/soc/mediatek/common/spi.c index 4e669f9..3e7186a 100644 --- a/src/soc/mediatek/common/spi.c +++ b/src/soc/mediatek/common/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 <endian.h> #include <stdlib.h> diff --git a/src/soc/mediatek/common/timer.c b/src/soc/mediatek/common/timer.c index 2bf2aec..0762c2b 100644 --- a/src/soc/mediatek/common/timer.c +++ b/src/soc/mediatek/common/timer.c @@ -13,7 +13,7 @@ * GNU General Public License for more details. */
-#include <arch/io.h> +#include <device/mmio.h> #include <timer.h> #include <delay.h> #include <thread.h> diff --git a/src/soc/mediatek/common/uart.c b/src/soc/mediatek/common/uart.c index 56e9873..20ec876 100644 --- a/src/soc/mediatek/common/uart.c +++ b/src/soc/mediatek/common/uart.c @@ -13,7 +13,7 @@ * GNU General Public License for more details. */
-#include <arch/io.h> +#include <device/mmio.h> #include <boot/coreboot_tables.h> #include <console/uart.h> #include <drivers/uart/uart8250reg.h> diff --git a/src/soc/mediatek/common/usb.c b/src/soc/mediatek/common/usb.c index 01dbb59..116e5db 100644 --- a/src/soc/mediatek/common/usb.c +++ b/src/soc/mediatek/common/usb.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 <delay.h> #include <soc/addressmap.h> diff --git a/src/soc/mediatek/common/wdt.c b/src/soc/mediatek/common/wdt.c index b433c98..54ce8c0 100644 --- a/src/soc/mediatek/common/wdt.c +++ b/src/soc/mediatek/common/wdt.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 <soc/wdt.h> #include <vendorcode/google/chromeos/chromeos.h> diff --git a/src/soc/mediatek/mt8173/ddp.c b/src/soc/mediatek/mt8173/ddp.c index ea51744..9f2f3b9 100644 --- a/src/soc/mediatek/mt8173/ddp.c +++ b/src/soc/mediatek/mt8173/ddp.c @@ -13,7 +13,7 @@ * GNU General Public License for more details. */
-#include <arch/io.h> +#include <device/mmio.h> #include <delay.h> #include <edid.h> #include <stdlib.h> diff --git a/src/soc/mediatek/mt8173/dramc_pi_basic_api.c b/src/soc/mediatek/mt8173/dramc_pi_basic_api.c index b582657..0a0bad4 100644 --- a/src/soc/mediatek/mt8173/dramc_pi_basic_api.c +++ b/src/soc/mediatek/mt8173/dramc_pi_basic_api.c @@ -14,7 +14,7 @@ */
#include <arch/barrier.h> -#include <arch/io.h> +#include <device/mmio.h> #include <assert.h> #include <console/console.h> #include <delay.h> diff --git a/src/soc/mediatek/mt8173/dramc_pi_calibration_api.c b/src/soc/mediatek/mt8173/dramc_pi_calibration_api.c index df2eb9c..9e4cb11 100644 --- a/src/soc/mediatek/mt8173/dramc_pi_calibration_api.c +++ b/src/soc/mediatek/mt8173/dramc_pi_calibration_api.c @@ -13,7 +13,7 @@ * GNU General Public License for more details. */
-#include <arch/io.h> +#include <device/mmio.h> #include <assert.h> #include <delay.h> #include <stdlib.h> diff --git a/src/soc/mediatek/mt8173/dsi.c b/src/soc/mediatek/mt8173/dsi.c index c68cbbb..b2279ea 100644 --- a/src/soc/mediatek/mt8173/dsi.c +++ b/src/soc/mediatek/mt8173/dsi.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 <delay.h> #include <soc/addressmap.h> diff --git a/src/soc/mediatek/mt8173/emi.c b/src/soc/mediatek/mt8173/emi.c index 072edee..c1e5d11 100644 --- a/src/soc/mediatek/mt8173/emi.c +++ b/src/soc/mediatek/mt8173/emi.c @@ -13,7 +13,7 @@ * GNU General Public License for more details. */
-#include <arch/io.h> +#include <device/mmio.h> #include <assert.h> #include <boardid.h> #include <console/console.h> diff --git a/src/soc/mediatek/mt8173/flash_controller.c b/src/soc/mediatek/mt8173/flash_controller.c index d63b69c..bca2ecf 100644 --- a/src/soc/mediatek/mt8173/flash_controller.c +++ b/src/soc/mediatek/mt8173/flash_controller.c @@ -15,7 +15,7 @@
/* NOR Flash is clocked with 26MHz, from CLK26M -> TOP_SPINFI_IFR */
-#include <arch/io.h> +#include <device/mmio.h> #include <assert.h> #include <console/console.h> #include <spi_flash.h> diff --git a/src/soc/mediatek/mt8173/gpio.c b/src/soc/mediatek/mt8173/gpio.c index 259ac53..a29c1c1 100644 --- a/src/soc/mediatek/mt8173/gpio.c +++ b/src/soc/mediatek/mt8173/gpio.c @@ -12,7 +12,7 @@ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. */ -#include <arch/io.h> +#include <device/mmio.h> #include <assert.h> #include <gpio.h> #include <types.h> diff --git a/src/soc/mediatek/mt8173/gpio_init.c b/src/soc/mediatek/mt8173/gpio_init.c index d4fa4c7..e991a5f 100644 --- a/src/soc/mediatek/mt8173/gpio_init.c +++ b/src/soc/mediatek/mt8173/gpio_init.c @@ -13,7 +13,7 @@ * GNU General Public License for more details. */
-#include <arch/io.h> +#include <device/mmio.h> #include <soc/gpio.h> #include <soc/mipi.h>
diff --git a/src/soc/mediatek/mt8173/i2c.c b/src/soc/mediatek/mt8173/i2c.c index b4c3aa9..3f8e149 100644 --- a/src/soc/mediatek/mt8173/i2c.c +++ b/src/soc/mediatek/mt8173/i2c.c @@ -19,7 +19,7 @@ #include <string.h> #include <symbols.h> #include <timer.h> -#include <arch/io.h> +#include <device/mmio.h> #include <soc/addressmap.h> #include <soc/i2c.h> #include <soc/pll.h> diff --git a/src/soc/mediatek/mt8173/mmu_operations.c b/src/soc/mediatek/mt8173/mmu_operations.c index c802264..e55c83b 100644 --- a/src/soc/mediatek/mt8173/mmu_operations.c +++ b/src/soc/mediatek/mt8173/mmu_operations.c @@ -13,7 +13,7 @@ * GNU General Public License for more details. */
-#include <arch/io.h> +#include <device/mmio.h> #include <arch/mmu.h> #include <symbols.h> #include <soc/symbols.h> diff --git a/src/soc/mediatek/mt8173/pll.c b/src/soc/mediatek/mt8173/pll.c index dd0302f..c59fa3f 100644 --- a/src/soc/mediatek/mt8173/pll.c +++ b/src/soc/mediatek/mt8173/pll.c @@ -13,7 +13,7 @@ * GNU General Public License for more details. */
-#include <arch/io.h> +#include <device/mmio.h> #include <assert.h> #include <delay.h> #include <stddef.h> diff --git a/src/soc/mediatek/mt8173/pmic_wrap.c b/src/soc/mediatek/mt8173/pmic_wrap.c index 2c60e76..469653a 100644 --- a/src/soc/mediatek/mt8173/pmic_wrap.c +++ b/src/soc/mediatek/mt8173/pmic_wrap.c @@ -13,7 +13,7 @@ * GNU General Public License for more details. */
-#include <arch/io.h> +#include <device/mmio.h> #include <assert.h> #include <delay.h> #include <soc/infracfg.h> diff --git a/src/soc/mediatek/mt8173/spi.c b/src/soc/mediatek/mt8173/spi.c index 8e6c2d0..0cc8377 100644 --- a/src/soc/mediatek/mt8173/spi.c +++ b/src/soc/mediatek/mt8173/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 <spi_flash.h> #include <soc/addressmap.h> diff --git a/src/soc/mediatek/mt8173/timer.c b/src/soc/mediatek/mt8173/timer.c index fd45f1d..2c9995a 100644 --- a/src/soc/mediatek/mt8173/timer.c +++ b/src/soc/mediatek/mt8173/timer.c @@ -13,7 +13,7 @@ * GNU General Public License for more details. */
-#include <arch/io.h> +#include <device/mmio.h> #include <soc/mcucfg.h> #include <soc/timer.h>
diff --git a/src/soc/mediatek/mt8183/auxadc.c b/src/soc/mediatek/mt8183/auxadc.c index 87574ba..caf9a03 100644 --- a/src/soc/mediatek/mt8183/auxadc.c +++ b/src/soc/mediatek/mt8183/auxadc.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 <delay.h> diff --git a/src/soc/mediatek/mt8183/dramc_init_setting.c b/src/soc/mediatek/mt8183/dramc_init_setting.c index 9197ceb..d275127 100644 --- a/src/soc/mediatek/mt8183/dramc_init_setting.c +++ b/src/soc/mediatek/mt8183/dramc_init_setting.c @@ -13,7 +13,7 @@ * GNU General Public License for more details. */
-#include <arch/io.h> +#include <device/mmio.h> #include <soc/emi.h> #include <soc/dramc_pi_api.h> #include <soc/dramc_register.h> diff --git a/src/soc/mediatek/mt8183/dramc_pi_basic_api.c b/src/soc/mediatek/mt8183/dramc_pi_basic_api.c index 7b3ee88..3ca5c22 100644 --- a/src/soc/mediatek/mt8183/dramc_pi_basic_api.c +++ b/src/soc/mediatek/mt8183/dramc_pi_basic_api.c @@ -13,7 +13,7 @@ * GNU General Public License for more details. */
-#include <arch/io.h> +#include <device/mmio.h> #include <delay.h> #include <soc/emi.h> #include <soc/spm.h> diff --git a/src/soc/mediatek/mt8183/dramc_pi_calibration_api.c b/src/soc/mediatek/mt8183/dramc_pi_calibration_api.c index 7c39b63..f3c76a9 100644 --- a/src/soc/mediatek/mt8183/dramc_pi_calibration_api.c +++ b/src/soc/mediatek/mt8183/dramc_pi_calibration_api.c @@ -15,7 +15,7 @@
#include <assert.h> #include <delay.h> -#include <arch/io.h> +#include <device/mmio.h> #include <soc/emi.h> #include <soc/dramc_register.h> #include <soc/dramc_pi_api.h> diff --git a/src/soc/mediatek/mt8183/emi.c b/src/soc/mediatek/mt8183/emi.c index bb617f9..757a453 100644 --- a/src/soc/mediatek/mt8183/emi.c +++ b/src/soc/mediatek/mt8183/emi.c @@ -13,7 +13,7 @@ * GNU General Public License for more details. */
-#include <arch/io.h> +#include <device/mmio.h> #include <soc/emi.h> #include <soc/infracfg.h> #include <soc/dramc_pi_api.h> diff --git a/src/soc/mediatek/mt8183/gpio.c b/src/soc/mediatek/mt8183/gpio.c index 173bf5a..327d389 100644 --- a/src/soc/mediatek/mt8183/gpio.c +++ b/src/soc/mediatek/mt8183/gpio.c @@ -13,7 +13,7 @@ * GNU General Public License for more details. */
-#include <arch/io.h> +#include <device/mmio.h> #include <gpio.h>
enum { diff --git a/src/soc/mediatek/mt8183/mmu_operations.c b/src/soc/mediatek/mt8183/mmu_operations.c index d932e05..45459fe 100644 --- a/src/soc/mediatek/mt8183/mmu_operations.c +++ b/src/soc/mediatek/mt8183/mmu_operations.c @@ -13,7 +13,7 @@ * GNU General Public License for more details. */
-#include <arch/io.h> +#include <device/mmio.h> #include <soc/mcucfg.h> #include <soc/mmu_operations.h>
diff --git a/src/soc/mediatek/mt8183/mtcmos.c b/src/soc/mediatek/mt8183/mtcmos.c index 1c0d7ab..cfe761b 100644 --- a/src/soc/mediatek/mt8183/mtcmos.c +++ b/src/soc/mediatek/mt8183/mtcmos.c @@ -13,7 +13,7 @@ * GNU General Public License for more details. */
-#include <arch/io.h> +#include <device/mmio.h> #include <soc/infracfg.h> #include <soc/smi.h> #include <soc/mtcmos.h> diff --git a/src/soc/mediatek/mt8183/pll.c b/src/soc/mediatek/mt8183/pll.c index 1967025..61aa2de 100644 --- a/src/soc/mediatek/mt8183/pll.c +++ b/src/soc/mediatek/mt8183/pll.c @@ -13,7 +13,7 @@ * GNU General Public License for more details. */
-#include <arch/io.h> +#include <device/mmio.h> #include <delay.h> #include <stddef.h>
diff --git a/src/soc/mediatek/mt8183/pmic_wrap.c b/src/soc/mediatek/mt8183/pmic_wrap.c index f074646..2593b7a 100644 --- a/src/soc/mediatek/mt8183/pmic_wrap.c +++ b/src/soc/mediatek/mt8183/pmic_wrap.c @@ -13,7 +13,7 @@ * GNU General Public License for more details. */
-#include <arch/io.h> +#include <device/mmio.h> #include <soc/infracfg.h> #include <soc/pll.h> #include <soc/pmic_wrap.h> diff --git a/src/soc/mediatek/mt8183/spi.c b/src/soc/mediatek/mt8183/spi.c index c85221c..a79dafb 100644 --- a/src/soc/mediatek/mt8183/spi.c +++ b/src/soc/mediatek/mt8183/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 <spi_flash.h> #include <soc/addressmap.h> diff --git a/src/soc/nvidia/tegra/apbmisc.c b/src/soc/nvidia/tegra/apbmisc.c index 2eec4e1..9400ba3 100644 --- a/src/soc/nvidia/tegra/apbmisc.c +++ b/src/soc/nvidia/tegra/apbmisc.c @@ -13,7 +13,7 @@ * GNU General Public License for more details. */
-#include <arch/io.h> +#include <device/mmio.h> #include <soc/addressmap.h>
#include "apbmisc.h" diff --git a/src/soc/nvidia/tegra/gpio.c b/src/soc/nvidia/tegra/gpio.c index b8b9cef..4964967 100644 --- a/src/soc/nvidia/tegra/gpio.c +++ b/src/soc/nvidia/tegra/gpio.c @@ -13,7 +13,7 @@ * GNU General Public License for more details. */
-#include <arch/io.h> +#include <device/mmio.h> #include <gpio.h> #include <soc/addressmap.h> #include <stddef.h> diff --git a/src/soc/nvidia/tegra/i2c.c b/src/soc/nvidia/tegra/i2c.c index 4db7808..9dbfde8 100644 --- a/src/soc/nvidia/tegra/i2c.c +++ b/src/soc/nvidia/tegra/i2c.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 <delay.h> #include <device/i2c_simple.h> diff --git a/src/soc/nvidia/tegra/pingroup.c b/src/soc/nvidia/tegra/pingroup.c index 9082829..33ae2ba 100644 --- a/src/soc/nvidia/tegra/pingroup.c +++ b/src/soc/nvidia/tegra/pingroup.c @@ -13,7 +13,7 @@ * GNU General Public License for more details. */
-#include <arch/io.h> +#include <device/mmio.h> #include <soc/addressmap.h>
#include "pingroup.h" diff --git a/src/soc/nvidia/tegra/pinmux.c b/src/soc/nvidia/tegra/pinmux.c index e7fc650..3174714 100644 --- a/src/soc/nvidia/tegra/pinmux.c +++ b/src/soc/nvidia/tegra/pinmux.c @@ -13,7 +13,7 @@ * GNU General Public License for more details. */
-#include <arch/io.h> +#include <device/mmio.h> #include <soc/addressmap.h>
#include "pinmux.h" diff --git a/src/soc/nvidia/tegra/usb.c b/src/soc/nvidia/tegra/usb.c index e12978f..55d80ed 100644 --- a/src/soc/nvidia/tegra/usb.c +++ b/src/soc/nvidia/tegra/usb.c @@ -14,7 +14,7 @@ */
#include <delay.h> -#include <arch/io.h> +#include <device/mmio.h> #include <console/console.h> #include <soc/clock.h>
diff --git a/src/soc/nvidia/tegra124/clock.c b/src/soc/nvidia/tegra124/clock.c index b9a4cd1..6877c04 100644 --- a/src/soc/nvidia/tegra124/clock.c +++ b/src/soc/nvidia/tegra124/clock.c @@ -14,7 +14,7 @@ * GNU General Public License for more details. */ #include <arch/clock.h> -#include <arch/io.h> +#include <device/mmio.h> #include <console/console.h> #include <delay.h> #include <soc/addressmap.h> diff --git a/src/soc/nvidia/tegra124/display.c b/src/soc/nvidia/tegra124/display.c index 2e66965..51f7215 100644 --- a/src/soc/nvidia/tegra124/display.c +++ b/src/soc/nvidia/tegra124/display.c @@ -13,7 +13,7 @@ * GNU General Public License for more details. */
-#include <arch/io.h> +#include <device/mmio.h> #include <boot/tables.h> #include <console/console.h> #include <delay.h> diff --git a/src/soc/nvidia/tegra124/dma.c b/src/soc/nvidia/tegra124/dma.c index 1aada74..73d050f 100644 --- a/src/soc/nvidia/tegra124/dma.c +++ b/src/soc/nvidia/tegra124/dma.c @@ -15,7 +15,7 @@ * GNU General Public License for more details. */
-#include <arch/io.h> +#include <device/mmio.h> #include <console/console.h> #include <inttypes.h> #include <soc/addressmap.h> diff --git a/src/soc/nvidia/tegra124/include/soc/clock.h b/src/soc/nvidia/tegra124/include/soc/clock.h index bd32f05..00744ce 100644 --- a/src/soc/nvidia/tegra124/include/soc/clock.h +++ b/src/soc/nvidia/tegra124/include/soc/clock.h @@ -18,8 +18,8 @@ #define __SOC_NVIDIA_TEGRA124_CLOCK_H__
#include <arch/hlt.h> -#include <arch/io.h> #include <console/console.h> +#include <device/mmio.h> #include <soc/clk_rst.h> #include <stdint.h> #include <stdlib.h> diff --git a/src/soc/nvidia/tegra124/monotonic_timer.c b/src/soc/nvidia/tegra124/monotonic_timer.c index 2ebc018..603d151 100644 --- a/src/soc/nvidia/tegra124/monotonic_timer.c +++ b/src/soc/nvidia/tegra124/monotonic_timer.c @@ -13,7 +13,7 @@ * GNU General Public License for more details. */
-#include <arch/io.h> +#include <device/mmio.h> #include <soc/addressmap.h> #include <timer.h>
diff --git a/src/soc/nvidia/tegra124/power.c b/src/soc/nvidia/tegra124/power.c index 742fa62..9f3e355 100644 --- a/src/soc/nvidia/tegra124/power.c +++ b/src/soc/nvidia/tegra124/power.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 <soc/addressmap.h> #include <soc/clock.h> diff --git a/src/soc/nvidia/tegra124/sdram.c b/src/soc/nvidia/tegra124/sdram.c index 545bf77..9af116c 100644 --- a/src/soc/nvidia/tegra124/sdram.c +++ b/src/soc/nvidia/tegra124/sdram.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 <delay.h> #include <soc/addressmap.h> diff --git a/src/soc/nvidia/tegra124/spi.c b/src/soc/nvidia/tegra124/spi.c index f7665d8..51fa10f 100644 --- a/src/soc/nvidia/tegra124/spi.c +++ b/src/soc/nvidia/tegra124/spi.c @@ -15,7 +15,7 @@ */
#include <arch/cache.h> -#include <arch/io.h> +#include <device/mmio.h> #include <assert.h> #include <boot_device.h> #include <console/console.h> diff --git a/src/soc/nvidia/tegra124/uart.c b/src/soc/nvidia/tegra124/uart.c index 769c279..c9514ac 100644 --- a/src/soc/nvidia/tegra124/uart.c +++ b/src/soc/nvidia/tegra124/uart.c @@ -13,7 +13,7 @@ * GNU General Public License for more details. */
-#include <arch/io.h> +#include <device/mmio.h> #include <boot/coreboot_tables.h> #include <console/uart.h> #include <drivers/uart/uart8250reg.h> diff --git a/src/soc/nvidia/tegra210/addressmap.c b/src/soc/nvidia/tegra210/addressmap.c index 18bb081..4f11d4e 100644 --- a/src/soc/nvidia/tegra210/addressmap.c +++ b/src/soc/nvidia/tegra210/addressmap.c @@ -14,7 +14,7 @@ */
#include <assert.h> -#include <arch/io.h> +#include <device/mmio.h> #include <commonlib/helpers.h> #include <console/console.h> #include <soc/addressmap.h> diff --git a/src/soc/nvidia/tegra210/bootblock.c b/src/soc/nvidia/tegra210/bootblock.c index 3536447..c10920d 100644 --- a/src/soc/nvidia/tegra210/bootblock.c +++ b/src/soc/nvidia/tegra210/bootblock.c @@ -18,6 +18,7 @@ #include <arch/stages.h> #include <bootblock_common.h> #include <console/console.h> +#include <device/mmio.h> #include <delay.h> #include <program_loading.h> #include <soc/addressmap.h> diff --git a/src/soc/nvidia/tegra210/ccplex.c b/src/soc/nvidia/tegra210/ccplex.c index 867f106..cc1e284 100644 --- a/src/soc/nvidia/tegra210/ccplex.c +++ b/src/soc/nvidia/tegra210/ccplex.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 <soc/addressmap.h> #include <soc/clock.h> diff --git a/src/soc/nvidia/tegra210/clock.c b/src/soc/nvidia/tegra210/clock.c index 5484d62..55ee50b 100644 --- a/src/soc/nvidia/tegra210/clock.c +++ b/src/soc/nvidia/tegra210/clock.c @@ -14,7 +14,7 @@ * GNU General Public License for more details. */
-#include <arch/io.h> +#include <device/mmio.h> #include <assert.h> #include <console/console.h> #include <delay.h> diff --git a/src/soc/nvidia/tegra210/cpu.c b/src/soc/nvidia/tegra210/cpu.c index 0303150..8d74bd3 100644 --- a/src/soc/nvidia/tegra210/cpu.c +++ b/src/soc/nvidia/tegra210/cpu.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 <soc/addressmap.h> diff --git a/src/soc/nvidia/tegra210/dc.c b/src/soc/nvidia/tegra210/dc.c index 1000346..ceffb41 100644 --- a/src/soc/nvidia/tegra210/dc.c +++ b/src/soc/nvidia/tegra210/dc.c @@ -13,7 +13,7 @@ * GNU General Public License for more details. */ #include <console/console.h> -#include <arch/io.h> +#include <device/mmio.h> #include <stdint.h> #include <stdlib.h> #include <edid.h> diff --git a/src/soc/nvidia/tegra210/dma.c b/src/soc/nvidia/tegra210/dma.c index 21e581f..03c5e67 100644 --- a/src/soc/nvidia/tegra210/dma.c +++ b/src/soc/nvidia/tegra210/dma.c @@ -15,7 +15,7 @@ * GNU General Public License for more details. */
-#include <arch/io.h> +#include <device/mmio.h> #include <console/console.h> #include <inttypes.h> #include <soc/addressmap.h> diff --git a/src/soc/nvidia/tegra210/dsi.c b/src/soc/nvidia/tegra210/dsi.c index 3f52567..76054f0 100644 --- a/src/soc/nvidia/tegra210/dsi.c +++ b/src/soc/nvidia/tegra210/dsi.c @@ -13,7 +13,7 @@ * GNU General Public License for more details. */ #include <console/console.h> -#include <arch/io.h> +#include <device/mmio.h> #include <stdint.h> #include <stdlib.h> #include <delay.h> diff --git a/src/soc/nvidia/tegra210/flow_ctrl.c b/src/soc/nvidia/tegra210/flow_ctrl.c index 0eb8357..b25e270 100644 --- a/src/soc/nvidia/tegra210/flow_ctrl.c +++ b/src/soc/nvidia/tegra210/flow_ctrl.c @@ -13,7 +13,7 @@ * GNU General Public License for more details. */
-#include <arch/io.h> +#include <device/mmio.h> #include <soc/addressmap.h> #include <soc/flow_ctrl.h>
diff --git a/src/soc/nvidia/tegra210/i2c6.c b/src/soc/nvidia/tegra210/i2c6.c index bdc2e22..483fd59 100644 --- a/src/soc/nvidia/tegra210/i2c6.c +++ b/src/soc/nvidia/tegra210/i2c6.c @@ -14,6 +14,7 @@ * GNU General Public License for more details. */
+#include <device/mmio.h> #include <delay.h> #include <soc/addressmap.h> #include <soc/clk_rst.h> diff --git a/src/soc/nvidia/tegra210/include/soc/clock.h b/src/soc/nvidia/tegra210/include/soc/clock.h index 87d0850..6d8c338 100644 --- a/src/soc/nvidia/tegra210/include/soc/clock.h +++ b/src/soc/nvidia/tegra210/include/soc/clock.h @@ -18,8 +18,8 @@ #define __SOC_NVIDIA_TEGRA210_CLOCK_H__
#include <arch/hlt.h> -#include <arch/io.h> #include <console/console.h> +#include <device/mmio.h> #include <soc/clk_rst.h> #include <stdint.h> #include <stdlib.h> diff --git a/src/soc/nvidia/tegra210/include/soc/id.h b/src/soc/nvidia/tegra210/include/soc/id.h index 42b2be6..49081db 100644 --- a/src/soc/nvidia/tegra210/include/soc/id.h +++ b/src/soc/nvidia/tegra210/include/soc/id.h @@ -17,7 +17,7 @@ #define __SOC_NVIDIA_TEGRA210_INCLUDE_SOC_ID_H__
-#include <arch/io.h> +#include <device/mmio.h> #include <soc/addressmap.h>
static inline int context_avp(void) diff --git a/src/soc/nvidia/tegra210/include/soc/tegra_dsi.h b/src/soc/nvidia/tegra210/include/soc/tegra_dsi.h index dbaaa22..00bf659 100644 --- a/src/soc/nvidia/tegra210/include/soc/tegra_dsi.h +++ b/src/soc/nvidia/tegra210/include/soc/tegra_dsi.h @@ -15,6 +15,8 @@ #ifndef __TEGRA_DSI_H__ #define __TEGRA_DSI_H__
+#include <device/mmio.h> + #define DSI_INCR_SYNCPT 0x00 #define DSI_INCR_SYNCPT_CONTROL 0x01 #define DSI_INCR_SYNCPT_ERROR 0x02 diff --git a/src/soc/nvidia/tegra210/mipi.c b/src/soc/nvidia/tegra210/mipi.c index b19db43..f863496 100644 --- a/src/soc/nvidia/tegra210/mipi.c +++ b/src/soc/nvidia/tegra210/mipi.c @@ -15,7 +15,7 @@
#include <types.h> #include <console/console.h> -#include <arch/io.h> +#include <device/mmio.h> #include <stdint.h> #include <stdlib.h> #include <delay.h> diff --git a/src/soc/nvidia/tegra210/monotonic_timer.c b/src/soc/nvidia/tegra210/monotonic_timer.c index e33cce0..ecedd828 100644 --- a/src/soc/nvidia/tegra210/monotonic_timer.c +++ b/src/soc/nvidia/tegra210/monotonic_timer.c @@ -13,7 +13,7 @@ * GNU General Public License for more details. */
-#include <arch/io.h> +#include <device/mmio.h> #include <soc/addressmap.h> #include <timer.h>
diff --git a/src/soc/nvidia/tegra210/padconfig.c b/src/soc/nvidia/tegra210/padconfig.c index 40927d1cc..b054f39 100644 --- a/src/soc/nvidia/tegra210/padconfig.c +++ b/src/soc/nvidia/tegra210/padconfig.c @@ -13,7 +13,7 @@ * GNU General Public License for more details. */
-#include <arch/io.h> +#include <device/mmio.h> #include <soc/addressmap.h> #include <soc/padconfig.h>
diff --git a/src/soc/nvidia/tegra210/power.c b/src/soc/nvidia/tegra210/power.c index cef5b99..51928ae 100644 --- a/src/soc/nvidia/tegra210/power.c +++ b/src/soc/nvidia/tegra210/power.c @@ -14,7 +14,7 @@ * GNU General Public License for more details. */
-#include <arch/io.h> +#include <device/mmio.h> #include <assert.h> #include <console/console.h> #include <soc/addressmap.h> diff --git a/src/soc/nvidia/tegra210/ram_code.c b/src/soc/nvidia/tegra210/ram_code.c index 8715410..91f96ae 100644 --- a/src/soc/nvidia/tegra210/ram_code.c +++ b/src/soc/nvidia/tegra210/ram_code.c @@ -14,7 +14,7 @@ * */
-#include <arch/io.h> +#include <device/mmio.h> #include <soc/addressmap.h> #include <soc/sdram.h> #include <soc/nvidia/tegra/apbmisc.h> diff --git a/src/soc/nvidia/tegra210/ramstage.c b/src/soc/nvidia/tegra210/ramstage.c index 61e5341..54f4204 100644 --- a/src/soc/nvidia/tegra210/ramstage.c +++ b/src/soc/nvidia/tegra210/ramstage.c @@ -15,6 +15,7 @@
#include <arch/lib_helpers.h> #include <arch/stages.h> +#include <device/mmio.h> #include <gic.h> #include <soc/addressmap.h> #include <soc/clock.h> diff --git a/src/soc/nvidia/tegra210/sdram.c b/src/soc/nvidia/tegra210/sdram.c index 53a2c49..e1d91fd 100644 --- a/src/soc/nvidia/tegra210/sdram.c +++ b/src/soc/nvidia/tegra210/sdram.c @@ -14,7 +14,7 @@ * */
-#include <arch/io.h> +#include <device/mmio.h> #include <console/console.h> #include <delay.h> #include <soc/addressmap.h> diff --git a/src/soc/nvidia/tegra210/spi.c b/src/soc/nvidia/tegra210/spi.c index ad6e200..6330779 100644 --- a/src/soc/nvidia/tegra210/spi.c +++ b/src/soc/nvidia/tegra210/spi.c @@ -15,7 +15,7 @@ */
#include <arch/cache.h> -#include <arch/io.h> +#include <device/mmio.h> #include <assert.h> #include <boot_device.h> #include <console/console.h> diff --git a/src/soc/nvidia/tegra210/uart.c b/src/soc/nvidia/tegra210/uart.c index 6fa8429..a91818c 100644 --- a/src/soc/nvidia/tegra210/uart.c +++ b/src/soc/nvidia/tegra210/uart.c @@ -13,7 +13,7 @@ * GNU General Public License for more details. */
-#include <arch/io.h> +#include <device/mmio.h> #include <boot/coreboot_tables.h> #include <console/uart.h> #include <drivers/uart/uart8250reg.h> diff --git a/src/soc/qualcomm/ipq40xx/blobs_init.c b/src/soc/qualcomm/ipq40xx/blobs_init.c index 2b5e1fd..d9cb131 100644 --- a/src/soc/qualcomm/ipq40xx/blobs_init.c +++ b/src/soc/qualcomm/ipq40xx/blobs_init.c @@ -15,7 +15,7 @@ */
#include <arch/cache.h> -#include <arch/io.h> +#include <device/mmio.h> #include <cbfs.h> #include <console/console.h> #include <string.h> diff --git a/src/soc/qualcomm/ipq40xx/blsp.c b/src/soc/qualcomm/ipq40xx/blsp.c index c9d08d5..75618c2 100644 --- a/src/soc/qualcomm/ipq40xx/blsp.c +++ b/src/soc/qualcomm/ipq40xx/blsp.c @@ -29,6 +29,7 @@ * IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */
+#include <device/mmio.h> #include <soc/blsp.h> #include <soc/clock.h>
diff --git a/src/soc/qualcomm/ipq40xx/clock.c b/src/soc/qualcomm/ipq40xx/clock.c index 864f2b6..e3d60e4 100644 --- a/src/soc/qualcomm/ipq40xx/clock.c +++ b/src/soc/qualcomm/ipq40xx/clock.c @@ -27,6 +27,7 @@ * IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */
+#include <device/mmio.h> #include <delay.h> #include <soc/blsp.h> #include <soc/clock.h> diff --git a/src/soc/qualcomm/ipq40xx/gpio.c b/src/soc/qualcomm/ipq40xx/gpio.c index 47c0fcd..a4b06c2 100644 --- a/src/soc/qualcomm/ipq40xx/gpio.c +++ b/src/soc/qualcomm/ipq40xx/gpio.c @@ -27,7 +27,7 @@ * IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */
-#include <arch/io.h> +#include <device/mmio.h> #include <gpio.h> #include <soc/iomap.h>
diff --git a/src/soc/qualcomm/ipq40xx/include/soc/iomap.h b/src/soc/qualcomm/ipq40xx/include/soc/iomap.h index 0bc8a30..930c912 100644 --- a/src/soc/qualcomm/ipq40xx/include/soc/iomap.h +++ b/src/soc/qualcomm/ipq40xx/include/soc/iomap.h @@ -36,7 +36,7 @@ #ifndef __SOC_QUALCOMM_IPQ40XX_IOMAP_H_ #define __SOC_QUALCOMM_IPQ40XX_IOMAP_H_
-#include <arch/io.h> +#include <device/mmio.h> #include <soc/cdp.h> #include <soc/blsp.h>
diff --git a/src/soc/qualcomm/ipq40xx/lcc.c b/src/soc/qualcomm/ipq40xx/lcc.c index caddf19..b2b4c45 100644 --- a/src/soc/qualcomm/ipq40xx/lcc.c +++ b/src/soc/qualcomm/ipq40xx/lcc.c @@ -33,7 +33,7 @@ #include <console/console.h> #include <soc/clock.h> #include <soc/lcc-reg.h> -#include <arch/io.h> +#include <device/mmio.h>
typedef struct { void *gcc_apcs_regs; diff --git a/src/soc/qualcomm/ipq40xx/qup.c b/src/soc/qualcomm/ipq40xx/qup.c index 9276e14..9d1f92d 100644 --- a/src/soc/qualcomm/ipq40xx/qup.c +++ b/src/soc/qualcomm/ipq40xx/qup.c @@ -29,7 +29,7 @@ * IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */
-#include <arch/io.h> +#include <device/mmio.h> #include <console/console.h> #include <delay.h> #include <soc/iomap.h> diff --git a/src/soc/qualcomm/ipq40xx/spi.c b/src/soc/qualcomm/ipq40xx/spi.c index d47b9c5..c84a3e5 100644 --- a/src/soc/qualcomm/ipq40xx/spi.c +++ b/src/soc/qualcomm/ipq40xx/spi.c @@ -27,7 +27,7 @@ * IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */
-#include <arch/io.h> +#include <device/mmio.h> #include <console/console.h> #include <delay.h> #include <gpio.h> diff --git a/src/soc/qualcomm/ipq40xx/timer.c b/src/soc/qualcomm/ipq40xx/timer.c index d5650ec..a08f1fb 100644 --- a/src/soc/qualcomm/ipq40xx/timer.c +++ b/src/soc/qualcomm/ipq40xx/timer.c @@ -27,6 +27,7 @@ * IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */
+#include <device/mmio.h> #include <delay.h> #include <soc/iomap.h> #include <soc/ipq_timer.h> diff --git a/src/soc/qualcomm/ipq40xx/uart.c b/src/soc/qualcomm/ipq40xx/uart.c index 491332b7..90edd11 100644 --- a/src/soc/qualcomm/ipq40xx/uart.c +++ b/src/soc/qualcomm/ipq40xx/uart.c @@ -28,7 +28,7 @@ * IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */
-#include <arch/io.h> +#include <device/mmio.h> #include <boot/coreboot_tables.h> #include <console/uart.h> #include <delay.h> diff --git a/src/soc/qualcomm/ipq40xx/usb.c b/src/soc/qualcomm/ipq40xx/usb.c index 27e5550..0d0272c 100644 --- a/src/soc/qualcomm/ipq40xx/usb.c +++ b/src/soc/qualcomm/ipq40xx/usb.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 <delay.h> #include <soc/clock.h> diff --git a/src/soc/qualcomm/ipq806x/blobs_init.c b/src/soc/qualcomm/ipq806x/blobs_init.c index 9549e9a..aa78f56 100644 --- a/src/soc/qualcomm/ipq806x/blobs_init.c +++ b/src/soc/qualcomm/ipq806x/blobs_init.c @@ -15,7 +15,7 @@ */
#include <arch/cache.h> -#include <arch/io.h> +#include <device/mmio.h> #include <cbfs.h> #include <console/console.h> #include <string.h> diff --git a/src/soc/qualcomm/ipq806x/clock.c b/src/soc/qualcomm/ipq806x/clock.c index 9a010d1..15ea852 100644 --- a/src/soc/qualcomm/ipq806x/clock.c +++ b/src/soc/qualcomm/ipq806x/clock.c @@ -13,6 +13,7 @@ * GNU General Public License for more details. */
+#include <device/mmio.h> #include <delay.h> #include <soc/clock.h> #include <types.h> diff --git a/src/soc/qualcomm/ipq806x/gpio.c b/src/soc/qualcomm/ipq806x/gpio.c index 15e9e6f..2b27e6d 100644 --- a/src/soc/qualcomm/ipq806x/gpio.c +++ b/src/soc/qualcomm/ipq806x/gpio.c @@ -28,7 +28,7 @@ * SUCH DAMAGE. */
-#include <arch/io.h> +#include <device/mmio.h> #include <gpio.h> #include <soc/iomap.h>
diff --git a/src/soc/qualcomm/ipq806x/gsbi.c b/src/soc/qualcomm/ipq806x/gsbi.c index 9327095..4e3c780 100644 --- a/src/soc/qualcomm/ipq806x/gsbi.c +++ b/src/soc/qualcomm/ipq806x/gsbi.c @@ -27,7 +27,7 @@ * SUCH DAMAGE. */
-#include <arch/io.h> +#include <device/mmio.h> #include <soc/iomap.h> #include <soc/gsbi.h> #include <console/console.h> diff --git a/src/soc/qualcomm/ipq806x/include/soc/iomap.h b/src/soc/qualcomm/ipq806x/include/soc/iomap.h index 18751a8..76fd353 100644 --- a/src/soc/qualcomm/ipq806x/include/soc/iomap.h +++ b/src/soc/qualcomm/ipq806x/include/soc/iomap.h @@ -36,7 +36,7 @@ #ifndef __SOC_QUALCOMM_IPQ806X_IOMAP_H_ #define __SOC_QUALCOMM_IPQ806X_IOMAP_H_
-#include <arch/io.h> +#include <device/mmio.h> #include <soc/cdp.h>
/* Typecast to allow integers being passed as address diff --git a/src/soc/qualcomm/ipq806x/lcc.c b/src/soc/qualcomm/ipq806x/lcc.c index 6aefea2..68b878c 100644 --- a/src/soc/qualcomm/ipq806x/lcc.c +++ b/src/soc/qualcomm/ipq806x/lcc.c @@ -33,7 +33,7 @@ #include <console/console.h> #include <soc/clock.h> #include <soc/lcc-reg.h> -#include <arch/io.h> +#include <device/mmio.h>
typedef struct { void *gcc_apcs_regs; diff --git a/src/soc/qualcomm/ipq806x/qup.c b/src/soc/qualcomm/ipq806x/qup.c index a497514..872b264 100644 --- a/src/soc/qualcomm/ipq806x/qup.c +++ b/src/soc/qualcomm/ipq806x/qup.c @@ -27,7 +27,7 @@ * SUCH DAMAGE. */
-#include <arch/io.h> +#include <device/mmio.h> #include <console/console.h> #include <delay.h> #include <soc/iomap.h> diff --git a/src/soc/qualcomm/ipq806x/spi.c b/src/soc/qualcomm/ipq806x/spi.c index 28f068d..cdd2a99 100644 --- a/src/soc/qualcomm/ipq806x/spi.c +++ b/src/soc/qualcomm/ipq806x/spi.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 <delay.h> #include <gpio.h> diff --git a/src/soc/qualcomm/ipq806x/uart.c b/src/soc/qualcomm/ipq806x/uart.c index 3805c87..fe2d673 100644 --- a/src/soc/qualcomm/ipq806x/uart.c +++ b/src/soc/qualcomm/ipq806x/uart.c @@ -31,7 +31,7 @@ * SUCH DAMAGE. */
-#include <arch/io.h> +#include <device/mmio.h> #include <boot/coreboot_tables.h> #include <console/console.h> #include <console/uart.h> diff --git a/src/soc/qualcomm/ipq806x/usb.c b/src/soc/qualcomm/ipq806x/usb.c index 3a5b80b..35285cd 100644 --- a/src/soc/qualcomm/ipq806x/usb.c +++ b/src/soc/qualcomm/ipq806x/usb.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 <delay.h> #include <soc/clock.h> diff --git a/src/soc/qualcomm/sdm845/clock.c b/src/soc/qualcomm/sdm845/clock.c index 32b0d5e..c4e5efa 100644 --- a/src/soc/qualcomm/sdm845/clock.c +++ b/src/soc/qualcomm/sdm845/clock.c @@ -13,7 +13,7 @@ * GNU General Public License for more details. */
-#include <arch/io.h> +#include <device/mmio.h> #include <types.h> #include <console/console.h> #include <delay.h> diff --git a/src/soc/qualcomm/sdm845/gpio.c b/src/soc/qualcomm/sdm845/gpio.c index 47c86cb..9c3782a 100644 --- a/src/soc/qualcomm/sdm845/gpio.c +++ b/src/soc/qualcomm/sdm845/gpio.c @@ -13,7 +13,7 @@ * GNU General Public License for more details. */
-#include <arch/io.h> +#include <device/mmio.h> #include <types.h> #include <delay.h> #include <timer.h> diff --git a/src/soc/qualcomm/sdm845/qspi.c b/src/soc/qualcomm/sdm845/qspi.c index 8f1cfc1..b9a5194 100644 --- a/src/soc/qualcomm/sdm845/qspi.c +++ b/src/soc/qualcomm/sdm845/qspi.c @@ -16,7 +16,7 @@ #include <spi-generic.h> #include <spi_flash.h> #include <arch/cache.h> -#include <arch/io.h> +#include <device/mmio.h> #include <soc/addressmap.h> #include <soc/qspi.h> #include <soc/gpio.h> diff --git a/src/soc/rockchip/common/edp.c b/src/soc/rockchip/common/edp.c index 2594005..98381a0 100644 --- a/src/soc/rockchip/common/edp.c +++ b/src/soc/rockchip/common/edp.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 <delay.h> diff --git a/src/soc/rockchip/common/gpio.c b/src/soc/rockchip/common/gpio.c index 0179bd6..bb85acf 100644 --- a/src/soc/rockchip/common/gpio.c +++ b/src/soc/rockchip/common/gpio.c @@ -13,7 +13,7 @@ * GNU General Public License for more details. */
-#include <arch/io.h> +#include <device/mmio.h> #include <assert.h> #include <gpio.h> #include <soc/gpio.h> diff --git a/src/soc/rockchip/common/i2c.c b/src/soc/rockchip/common/i2c.c index 8629a70..3c66a58 100644 --- a/src/soc/rockchip/common/i2c.c +++ b/src/soc/rockchip/common/i2c.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 <delay.h> diff --git a/src/soc/rockchip/common/include/soc/soc.h b/src/soc/rockchip/common/include/soc/soc.h index 465066b..f4b07a7 100644 --- a/src/soc/rockchip/common/include/soc/soc.h +++ b/src/soc/rockchip/common/include/soc/soc.h @@ -16,7 +16,6 @@ #ifndef __COREBOOT_SRC_SOC_ROCKCHIP_COMMON_INCLUDE_SOC_SOC_H #define __COREBOOT_SRC_SOC_ROCKCHIP_COMMON_INCLUDE_SOC_SOC_H
-#include <arch/io.h> #include <symbols.h>
#define RK_CLRSETBITS(clr, set) ((((clr) | (set)) << 16) | set) diff --git a/src/soc/rockchip/common/pwm.c b/src/soc/rockchip/common/pwm.c index b9b8ff0..2ac4bfc 100644 --- a/src/soc/rockchip/common/pwm.c +++ b/src/soc/rockchip/common/pwm.c @@ -13,7 +13,7 @@ * GNU General Public License for more details. */
-#include <arch/io.h> +#include <device/mmio.h> #include <assert.h> #include <delay.h> #include <soc/addressmap.h> diff --git a/src/soc/rockchip/common/spi.c b/src/soc/rockchip/common/spi.c index 86f2594..98016c0 100644 --- a/src/soc/rockchip/common/spi.c +++ b/src/soc/rockchip/common/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 <console/console.h> #include <delay.h> diff --git a/src/soc/rockchip/common/vop.c b/src/soc/rockchip/common/vop.c index c3f331f..ffd2bea 100644 --- a/src/soc/rockchip/common/vop.c +++ b/src/soc/rockchip/common/vop.c @@ -13,7 +13,7 @@ * GNU General Public License for more details. */
-#include <arch/io.h> +#include <device/mmio.h> #include <delay.h> #include <stdlib.h> #include <string.h> diff --git a/src/soc/rockchip/rk3288/clock.c b/src/soc/rockchip/rk3288/clock.c index 28c7a42..cee1ee2 100644 --- a/src/soc/rockchip/rk3288/clock.c +++ b/src/soc/rockchip/rk3288/clock.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 <delay.h> diff --git a/src/soc/rockchip/rk3288/crypto.c b/src/soc/rockchip/rk3288/crypto.c index b569a62..90275ff 100644 --- a/src/soc/rockchip/rk3288/crypto.c +++ b/src/soc/rockchip/rk3288/crypto.c @@ -13,7 +13,7 @@ * GNU General Public License for more details. */
-#include <arch/io.h> +#include <device/mmio.h> #include <assert.h> #include <delay.h> #include <soc/addressmap.h> diff --git a/src/soc/rockchip/rk3288/display.c b/src/soc/rockchip/rk3288/display.c index 5d3e333..04a5992 100644 --- a/src/soc/rockchip/rk3288/display.c +++ b/src/soc/rockchip/rk3288/display.c @@ -14,7 +14,7 @@ */
#include <arch/cache.h> -#include <arch/io.h> +#include <device/mmio.h> #include <console/console.h> #include <device/device.h> #include <delay.h> diff --git a/src/soc/rockchip/rk3288/hdmi.c b/src/soc/rockchip/rk3288/hdmi.c index 5e74423..aecdeef 100644 --- a/src/soc/rockchip/rk3288/hdmi.c +++ b/src/soc/rockchip/rk3288/hdmi.c @@ -19,7 +19,7 @@ * Designware High-Definition Multimedia Interface (HDMI) driveG */
-#include <arch/io.h> +#include <device/mmio.h> #include <assert.h> #include <console/console.h> #include <delay.h> diff --git a/src/soc/rockchip/rk3288/sdram.c b/src/soc/rockchip/rk3288/sdram.c index e2d5537..b343bab 100644 --- a/src/soc/rockchip/rk3288/sdram.c +++ b/src/soc/rockchip/rk3288/sdram.c @@ -12,7 +12,7 @@ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. */ -#include <arch/io.h> +#include <device/mmio.h> #include <console/console.h> #include <delay.h> #include <soc/addressmap.h> diff --git a/src/soc/rockchip/rk3288/software_i2c.c b/src/soc/rockchip/rk3288/software_i2c.c index dbe058e..ae1249e 100644 --- a/src/soc/rockchip/rk3288/software_i2c.c +++ b/src/soc/rockchip/rk3288/software_i2c.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/i2c_simple.h> #include <gpio.h> diff --git a/src/soc/rockchip/rk3288/timer.c b/src/soc/rockchip/rk3288/timer.c index 0b07eda..ea235b3 100644 --- a/src/soc/rockchip/rk3288/timer.c +++ b/src/soc/rockchip/rk3288/timer.c @@ -13,7 +13,7 @@ * GNU General Public License for more details. */
-#include <arch/io.h> +#include <device/mmio.h> #include <delay.h> #include <soc/timer.h> #include <stdint.h> diff --git a/src/soc/rockchip/rk3288/tsadc.c b/src/soc/rockchip/rk3288/tsadc.c index a93120d..8104361 100644 --- a/src/soc/rockchip/rk3288/tsadc.c +++ b/src/soc/rockchip/rk3288/tsadc.c @@ -13,7 +13,7 @@ * GNU General Public License for more details. */
-#include <arch/io.h> +#include <device/mmio.h> #include <assert.h> #include <delay.h> #include <soc/clock.h> diff --git a/src/soc/rockchip/rk3399/bootblock.c b/src/soc/rockchip/rk3399/bootblock.c index 5265156..f536f7a 100644 --- a/src/soc/rockchip/rk3399/bootblock.c +++ b/src/soc/rockchip/rk3399/bootblock.c @@ -13,7 +13,7 @@ * GNU General Public License for more details. */
-#include <arch/io.h> +#include <device/mmio.h> #include <bootblock_common.h> #include <soc/grf.h> #include <soc/mmu_operations.h> diff --git a/src/soc/rockchip/rk3399/clock.c b/src/soc/rockchip/rk3399/clock.c index cce1d69e..586eaf0 100644 --- a/src/soc/rockchip/rk3399/clock.c +++ b/src/soc/rockchip/rk3399/clock.c @@ -15,6 +15,7 @@
#include <assert.h> #include <console/console.h> +#include <device/mmio.h> #include <delay.h> #include <soc/addressmap.h> #include <soc/clock.h> diff --git a/src/soc/rockchip/rk3399/display.c b/src/soc/rockchip/rk3399/display.c index 43b9dab..35e338d 100644 --- a/src/soc/rockchip/rk3399/display.c +++ b/src/soc/rockchip/rk3399/display.c @@ -15,7 +15,7 @@
#include <arch/cache.h> #include <arch/mmu.h> -#include <arch/io.h> +#include <device/mmio.h> #include <console/console.h> #include <device/device.h> #include <delay.h> diff --git a/src/soc/rockchip/rk3399/mipi.c b/src/soc/rockchip/rk3399/mipi.c index 114b202..ee8cc2e 100644 --- a/src/soc/rockchip/rk3399/mipi.c +++ b/src/soc/rockchip/rk3399/mipi.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 <delay.h> diff --git a/src/soc/rockchip/rk3399/saradc.c b/src/soc/rockchip/rk3399/saradc.c index eb28ca6..3c6cbe6 100644 --- a/src/soc/rockchip/rk3399/saradc.c +++ b/src/soc/rockchip/rk3399/saradc.c @@ -14,7 +14,7 @@ * */
-#include <arch/io.h> +#include <device/mmio.h> #include <assert.h> #include <delay.h> #include <soc/clock.h> diff --git a/src/soc/rockchip/rk3399/sdram.c b/src/soc/rockchip/rk3399/sdram.c index 2b08413..e01b3a6 100644 --- a/src/soc/rockchip/rk3399/sdram.c +++ b/src/soc/rockchip/rk3399/sdram.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 <delay.h> #include <reset.h> diff --git a/src/soc/rockchip/rk3399/timer.c b/src/soc/rockchip/rk3399/timer.c index 96cf540..be5f20f 100644 --- a/src/soc/rockchip/rk3399/timer.c +++ b/src/soc/rockchip/rk3399/timer.c @@ -13,7 +13,7 @@ * GNU General Public License for more details. */
-#include <arch/io.h> +#include <device/mmio.h> #include <delay.h> #include <soc/timer.h> #include <stdint.h> diff --git a/src/soc/rockchip/rk3399/tsadc.c b/src/soc/rockchip/rk3399/tsadc.c index 11f0c59..d5aeccd 100644 --- a/src/soc/rockchip/rk3399/tsadc.c +++ b/src/soc/rockchip/rk3399/tsadc.c @@ -13,7 +13,7 @@ * GNU General Public License for more details. */
-#include <arch/io.h> +#include <device/mmio.h> #include <assert.h> #include <delay.h> #include <soc/clock.h> diff --git a/src/soc/rockchip/rk3399/usb.c b/src/soc/rockchip/rk3399/usb.c index e6db1e0..78facb5 100644 --- a/src/soc/rockchip/rk3399/usb.c +++ b/src/soc/rockchip/rk3399/usb.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 <delay.h> diff --git a/src/soc/samsung/exynos5250/clock.c b/src/soc/samsung/exynos5250/clock.c index 7da7b74..7e7fe97 100644 --- a/src/soc/samsung/exynos5250/clock.c +++ b/src/soc/samsung/exynos5250/clock.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 <soc/clk.h> diff --git a/src/soc/samsung/exynos5250/clock_init.c b/src/soc/samsung/exynos5250/clock_init.c index d75a33a..d67b596 100644 --- a/src/soc/samsung/exynos5250/clock_init.c +++ b/src/soc/samsung/exynos5250/clock_init.c @@ -15,6 +15,7 @@
/* Clock setup for SMDK5250 board based on EXYNOS5 */
+#include <device/mmio.h> #include <delay.h> #include <soc/clk.h> #include <soc/dp.h> diff --git a/src/soc/samsung/exynos5250/cpu.c b/src/soc/samsung/exynos5250/cpu.c index 4fdb8f8..81f6f38 100644 --- a/src/soc/samsung/exynos5250/cpu.c +++ b/src/soc/samsung/exynos5250/cpu.c @@ -16,6 +16,7 @@
#include <arch/cache.h> #include <console/console.h> +#include <device/mmio.h> #include <delay.h> #include <device/device.h> #include <soc/clk.h> diff --git a/src/soc/samsung/exynos5250/dmc_common.c b/src/soc/samsung/exynos5250/dmc_common.c index 5a3a989..379a433 100644 --- a/src/soc/samsung/exynos5250/dmc_common.c +++ b/src/soc/samsung/exynos5250/dmc_common.c @@ -16,7 +16,7 @@ /* Mem setup common file for different types of DDR present on SMDK5250 boards. */
-#include <arch/io.h> +#include <device/mmio.h> #include <delay.h> #include <soc/clk.h> #include <soc/dmc.h> diff --git a/src/soc/samsung/exynos5250/dmc_init_ddr3.c b/src/soc/samsung/exynos5250/dmc_init_ddr3.c index 5d8e33d..881e79f 100644 --- a/src/soc/samsung/exynos5250/dmc_init_ddr3.c +++ b/src/soc/samsung/exynos5250/dmc_init_ddr3.c @@ -15,7 +15,7 @@
/* DDR3 mem setup file for SMDK5250 board based on EXYNOS5 */
-#include <arch/io.h> +#include <device/mmio.h> #include <console/console.h> #include <delay.h> #include <soc/clk.h> diff --git a/src/soc/samsung/exynos5250/dp-reg.c b/src/soc/samsung/exynos5250/dp-reg.c index c957931..e57b0af 100644 --- a/src/soc/samsung/exynos5250/dp-reg.c +++ b/src/soc/samsung/exynos5250/dp-reg.c @@ -15,7 +15,7 @@
/* Samsung DP (Display port) register interface driver. */
-#include <arch/io.h> +#include <device/mmio.h> #include <console/console.h> #include <delay.h> #include <soc/clk.h> diff --git a/src/soc/samsung/exynos5250/fb.c b/src/soc/samsung/exynos5250/fb.c index 96406b5..40d23b6 100644 --- a/src/soc/samsung/exynos5250/fb.c +++ b/src/soc/samsung/exynos5250/fb.c @@ -16,7 +16,7 @@
/* LCD driver for Exynos */
-#include <arch/io.h> +#include <device/mmio.h> #include <console/console.h> #include <delay.h> #include <soc/dp.h> diff --git a/src/soc/samsung/exynos5250/gpio.c b/src/soc/samsung/exynos5250/gpio.c index 1787878..736f274 100644 --- a/src/soc/samsung/exynos5250/gpio.c +++ b/src/soc/samsung/exynos5250/gpio.c @@ -15,6 +15,7 @@
#include <assert.h> #include <console/console.h> +#include <device/mmio.h> #include <delay.h> #include <soc/cpu.h> #include <soc/gpio.h> diff --git a/src/soc/samsung/exynos5250/i2c.c b/src/soc/samsung/exynos5250/i2c.c index f1bc3a4..0efd25c 100644 --- a/src/soc/samsung/exynos5250/i2c.c +++ b/src/soc/samsung/exynos5250/i2c.c @@ -14,7 +14,7 @@ * GNU General Public License for more details. */
-#include <arch/io.h> +#include <device/mmio.h> #include <assert.h> #include <console/console.h> #include <delay.h> diff --git a/src/soc/samsung/exynos5250/include/soc/cpu.h b/src/soc/samsung/exynos5250/include/soc/cpu.h index 24bb96f..d7121a9 100644 --- a/src/soc/samsung/exynos5250/include/soc/cpu.h +++ b/src/soc/samsung/exynos5250/include/soc/cpu.h @@ -16,7 +16,6 @@ #ifndef CPU_SAMSUNG_EXYNOS5250_CPU_H #define CPU_SAMSUNG_EXYNOS5250_CPU_H
-#include <arch/io.h> #include <symbols.h>
/* Base address registers */ diff --git a/src/soc/samsung/exynos5250/power.c b/src/soc/samsung/exynos5250/power.c index 9d4c748..e649e94 100644 --- a/src/soc/samsung/exynos5250/power.c +++ b/src/soc/samsung/exynos5250/power.c @@ -15,7 +15,7 @@
/* Power setup code for EXYNOS5 */
-#include <arch/io.h> +#include <device/mmio.h> #include <halt.h> #include <reset.h> #include <soc/dmc.h> diff --git a/src/soc/samsung/exynos5250/spi.c b/src/soc/samsung/exynos5250/spi.c index ae67407..e35f888 100644 --- a/src/soc/samsung/exynos5250/spi.c +++ b/src/soc/samsung/exynos5250/spi.c @@ -14,7 +14,7 @@ * GNU General Public License for more details. */
-#include <arch/io.h> +#include <device/mmio.h> #include <assert.h> #include <boot_device.h> #include <console/console.h> diff --git a/src/soc/samsung/exynos5250/timer.c b/src/soc/samsung/exynos5250/timer.c index 8b313ff..47a6f37 100644 --- a/src/soc/samsung/exynos5250/timer.c +++ b/src/soc/samsung/exynos5250/timer.c @@ -13,7 +13,7 @@ * GNU General Public License for more details. */
-#include <arch/io.h> +#include <device/mmio.h> #include <delay.h> #include <soc/clk.h> #include <stdint.h> diff --git a/src/soc/samsung/exynos5250/tmu.c b/src/soc/samsung/exynos5250/tmu.c index 40f096a..e10a43b 100644 --- a/src/soc/samsung/exynos5250/tmu.c +++ b/src/soc/samsung/exynos5250/tmu.c @@ -16,7 +16,7 @@
/* EXYNOS - Thermal Management Unit */
-#include <arch/io.h> +#include <device/mmio.h> #include <console/console.h> #include <soc/power.h> #include <soc/tmu.h> diff --git a/src/soc/samsung/exynos5250/trustzone.c b/src/soc/samsung/exynos5250/trustzone.c index d555e9d..2f366ad 100644 --- a/src/soc/samsung/exynos5250/trustzone.c +++ b/src/soc/samsung/exynos5250/trustzone.c @@ -14,7 +14,7 @@ * GNU General Public License for more details. */
-#include <arch/io.h> +#include <device/mmio.h> #include <soc/trustzone.h>
/* Setting TZPC[TrustZone Protection Controller] */ diff --git a/src/soc/samsung/exynos5250/uart.c b/src/soc/samsung/exynos5250/uart.c index 78c7280..1b8e785 100644 --- a/src/soc/samsung/exynos5250/uart.c +++ b/src/soc/samsung/exynos5250/uart.c @@ -13,7 +13,7 @@ * GNU General Public License for more details. */
-#include <arch/io.h> +#include <device/mmio.h> #include <boot/coreboot_tables.h> #include <console/uart.h> #include <soc/clk.h> diff --git a/src/soc/samsung/exynos5250/usb.c b/src/soc/samsung/exynos5250/usb.c index 1d9482e..076e42e 100644 --- a/src/soc/samsung/exynos5250/usb.c +++ b/src/soc/samsung/exynos5250/usb.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 <delay.h> #include <device/device.h> diff --git a/src/soc/samsung/exynos5420/clock.c b/src/soc/samsung/exynos5420/clock.c index 6d92585..720506c 100644 --- a/src/soc/samsung/exynos5420/clock.c +++ b/src/soc/samsung/exynos5420/clock.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 <soc/clk.h> diff --git a/src/soc/samsung/exynos5420/clock_init.c b/src/soc/samsung/exynos5420/clock_init.c index e239993..806de6e 100644 --- a/src/soc/samsung/exynos5420/clock_init.c +++ b/src/soc/samsung/exynos5420/clock_init.c @@ -15,6 +15,7 @@
/* Clock setup for SMDK5420 board based on EXYNOS5 */
+#include <device/mmio.h> #include <delay.h> #include <soc/clk.h> #include <soc/cpu.h> diff --git a/src/soc/samsung/exynos5420/cpu.c b/src/soc/samsung/exynos5420/cpu.c index fa4cd06..1c354e6 100644 --- a/src/soc/samsung/exynos5420/cpu.c +++ b/src/soc/samsung/exynos5420/cpu.c @@ -16,6 +16,7 @@
#include <arch/cache.h> #include <console/console.h> +#include <device/mmio.h> #include <delay.h> #include <device/device.h> #include <ec/google/chromeec/ec.h> diff --git a/src/soc/samsung/exynos5420/dmc_common.c b/src/soc/samsung/exynos5420/dmc_common.c index a933ef9..e9b8128 100644 --- a/src/soc/samsung/exynos5420/dmc_common.c +++ b/src/soc/samsung/exynos5420/dmc_common.c @@ -16,7 +16,7 @@ /* Mem setup common file for different types of DDR present on SMDK5420 boards. */
-#include <arch/io.h> +#include <device/mmio.h> #include <delay.h> #include <soc/clk.h> #include <soc/dmc.h> diff --git a/src/soc/samsung/exynos5420/dmc_init_ddr3.c b/src/soc/samsung/exynos5420/dmc_init_ddr3.c index c819823..6ea92ee 100644 --- a/src/soc/samsung/exynos5420/dmc_init_ddr3.c +++ b/src/soc/samsung/exynos5420/dmc_init_ddr3.c @@ -16,7 +16,7 @@ * GNU General Public License for more details. */
-#include <arch/io.h> +#include <device/mmio.h> #include <delay.h> #include <soc/clk.h> #include <soc/dmc.h> diff --git a/src/soc/samsung/exynos5420/dp_lowlevel.c b/src/soc/samsung/exynos5420/dp_lowlevel.c index 1fae4d7..ebcb122 100644 --- a/src/soc/samsung/exynos5420/dp_lowlevel.c +++ b/src/soc/samsung/exynos5420/dp_lowlevel.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 <delay.h> #include <soc/dp.h> diff --git a/src/soc/samsung/exynos5420/fimd.c b/src/soc/samsung/exynos5420/fimd.c index aa850bc..2987598 100644 --- a/src/soc/samsung/exynos5420/fimd.c +++ b/src/soc/samsung/exynos5420/fimd.c @@ -16,7 +16,7 @@ * GNU General Public License for more details. */
-#include <arch/io.h> +#include <device/mmio.h> #include <console/console.h> #include <delay.h> #include <soc/clk.h> diff --git a/src/soc/samsung/exynos5420/gpio.c b/src/soc/samsung/exynos5420/gpio.c index 92adc02..1df3ae4 100644 --- a/src/soc/samsung/exynos5420/gpio.c +++ b/src/soc/samsung/exynos5420/gpio.c @@ -15,6 +15,7 @@
#include <assert.h> #include <console/console.h> +#include <device/mmio.h> #include <delay.h> #include <soc/cpu.h> #include <soc/gpio.h> diff --git a/src/soc/samsung/exynos5420/i2c.c b/src/soc/samsung/exynos5420/i2c.c index cef9f5d..00ad12f 100644 --- a/src/soc/samsung/exynos5420/i2c.c +++ b/src/soc/samsung/exynos5420/i2c.c @@ -14,7 +14,7 @@ * GNU General Public License for more details. */
-#include <arch/io.h> +#include <device/mmio.h> #include <assert.h> #include <console/console.h> #include <delay.h> diff --git a/src/soc/samsung/exynos5420/include/soc/cpu.h b/src/soc/samsung/exynos5420/include/soc/cpu.h index f523b41..f61aa2c 100644 --- a/src/soc/samsung/exynos5420/include/soc/cpu.h +++ b/src/soc/samsung/exynos5420/include/soc/cpu.h @@ -16,7 +16,6 @@ #ifndef CPU_SAMSUNG_EXYNOS5420_CPU_H #define CPU_SAMSUNG_EXYNOS5420_CPU_H
-#include <arch/io.h> #include <symbols.h>
#define EXYNOS5_SRAM_BASE 0x02020000 diff --git a/src/soc/samsung/exynos5420/power.c b/src/soc/samsung/exynos5420/power.c index 7e8e146..9dfffd6 100644 --- a/src/soc/samsung/exynos5420/power.c +++ b/src/soc/samsung/exynos5420/power.c @@ -15,7 +15,7 @@
/* Power setup code for EXYNOS5 */
-#include <arch/io.h> +#include <device/mmio.h> #include <halt.h> #include <soc/dmc.h> #include <soc/power.h> diff --git a/src/soc/samsung/exynos5420/smp.c b/src/soc/samsung/exynos5420/smp.c index 4a5c105..5e16063 100644 --- a/src/soc/samsung/exynos5420/smp.c +++ b/src/soc/samsung/exynos5420/smp.c @@ -15,7 +15,7 @@ */
#include <arch/cpu.h> -#include <arch/io.h> +#include <device/mmio.h> #include <soc/cpu.h> #include <soc/power.h> #include <stdlib.h> diff --git a/src/soc/samsung/exynos5420/spi.c b/src/soc/samsung/exynos5420/spi.c index 3ce9457..753a24b 100644 --- a/src/soc/samsung/exynos5420/spi.c +++ b/src/soc/samsung/exynos5420/spi.c @@ -14,7 +14,7 @@ * GNU General Public License for more details. */
-#include <arch/io.h> +#include <device/mmio.h> #include <assert.h> #include <console/console.h> #include <soc/cpu.h> diff --git a/src/soc/samsung/exynos5420/timer.c b/src/soc/samsung/exynos5420/timer.c index 8b313ff..47a6f37 100644 --- a/src/soc/samsung/exynos5420/timer.c +++ b/src/soc/samsung/exynos5420/timer.c @@ -13,7 +13,7 @@ * GNU General Public License for more details. */
-#include <arch/io.h> +#include <device/mmio.h> #include <delay.h> #include <soc/clk.h> #include <stdint.h> diff --git a/src/soc/samsung/exynos5420/tmu.c b/src/soc/samsung/exynos5420/tmu.c index 97772b6..1bac347 100644 --- a/src/soc/samsung/exynos5420/tmu.c +++ b/src/soc/samsung/exynos5420/tmu.c @@ -16,7 +16,7 @@
/* EXYNOS - Thermal Management Unit */
-#include <arch/io.h> +#include <device/mmio.h> #include <console/console.h> #include <soc/power.h> #include <soc/tmu.h> diff --git a/src/soc/samsung/exynos5420/trustzone.c b/src/soc/samsung/exynos5420/trustzone.c index b83d54f..34c5562 100644 --- a/src/soc/samsung/exynos5420/trustzone.c +++ b/src/soc/samsung/exynos5420/trustzone.c @@ -14,7 +14,7 @@ * GNU General Public License for more details. */
-#include <arch/io.h> +#include <device/mmio.h> #include <soc/trustzone.h>
/* Setting TZPC[TrustZone Protection Controller] diff --git a/src/soc/samsung/exynos5420/uart.c b/src/soc/samsung/exynos5420/uart.c index 146151e..b2a0edd 100644 --- a/src/soc/samsung/exynos5420/uart.c +++ b/src/soc/samsung/exynos5420/uart.c @@ -13,7 +13,7 @@ * GNU General Public License for more details. */
-#include <arch/io.h> +#include <device/mmio.h> #include <boot/coreboot_tables.h> #include <console/uart.h> #include <soc/clk.h> diff --git a/src/soc/samsung/exynos5420/usb.c b/src/soc/samsung/exynos5420/usb.c index e799c2b..9dda4c1 100644 --- a/src/soc/samsung/exynos5420/usb.c +++ b/src/soc/samsung/exynos5420/usb.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 <delay.h> #include <device/device.h> diff --git a/src/soc/sifive/fu540/bootblock.c b/src/soc/sifive/fu540/bootblock.c index 203081c..67e2646 100644 --- a/src/soc/sifive/fu540/bootblock.c +++ b/src/soc/sifive/fu540/bootblock.c @@ -13,7 +13,7 @@ * GNU General Public License for more details. */
-#include <arch/io.h> +#include <device/mmio.h> #include <bootblock_common.h> #include <console/console.h> #include <soc/addressmap.h> diff --git a/src/soc/sifive/fu540/clint.c b/src/soc/sifive/fu540/clint.c index fb4b97f..699273e 100644 --- a/src/soc/sifive/fu540/clint.c +++ b/src/soc/sifive/fu540/clint.c @@ -15,7 +15,7 @@
#include <mcall.h> #include <stdint.h> -#include <arch/io.h> +#include <device/mmio.h> #include <soc/addressmap.h>
void mtime_init(void) diff --git a/src/soc/sifive/fu540/clock.c b/src/soc/sifive/fu540/clock.c index 597b206..4b52c56 100644 --- a/src/soc/sifive/fu540/clock.c +++ b/src/soc/sifive/fu540/clock.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 <soc/clock.h> #include <soc/addressmap.h> diff --git a/src/soc/sifive/fu540/otp.c b/src/soc/sifive/fu540/otp.c index 73a5573..dfdd960 100644 --- a/src/soc/sifive/fu540/otp.c +++ b/src/soc/sifive/fu540/otp.c @@ -16,7 +16,7 @@ #include <stddef.h> #include <delay.h> #include <arch/barrier.h> -#include <arch/io.h> +#include <device/mmio.h> #include <console/console.h> #include <console/uart.h> #include <soc/addressmap.h> diff --git a/src/southbridge/amd/agesa/hudson/enable_usbdebug.c b/src/southbridge/amd/agesa/hudson/enable_usbdebug.c index 88b28f4..47b5990 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 5d32a83..6de016a 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 267f474..606a529 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 b67aec3..d1594f3 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 ade7a02..a1c0755 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 30601fd..adf8af0 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 872e045..38a2b76 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 8cfa24b..90fe8f3 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 0bed6ad..1e9f189 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 7bea799..9ad03dc 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 d3e5cfa..8e3c969 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 bf9cad0..4db03d8 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 4b41ab5..461d7b4 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 a75bd1e..dde9d6e 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 654c1ac..4f859c6 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 af2c837..bf988b7 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 f1c05f6..98b8b6a 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 8dc142d..6b70d9d 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 3ca12f6..9805bf6 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 938a4a6..2c193cb 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 feb0eb2..8cac153 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 9ac3794..48a8740 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 9850014..bc8c1c6 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 119e4f3..9c72750 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 007a2fa..4a9425d 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 e960b06..0cc9efa 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 2e1c5fc..b5fbfbb 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 f29ba5d..63da2d6 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 a7321c9..17919af 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 f5516e3..58c2478 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 951c8ab..bdd57cd 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 02d478c..3ee0a59 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 b4060e5..e98b8be 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 429de8d..a030ff4 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 05e2812..32e3bb5 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 740587a..831b169 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 4dee636..b93bc09 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 39d4362..65001cf 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 c4d6fda..3f72a3d 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 34d0fa2..99400fc 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 f1866a5..7bf48ef 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 9b79aff..cbefe20 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 d6d72e1..e47f6e0 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 65422c8..0e7f35bc 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 325eb08..7316f95 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 afde2cf..1e852c0 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 bb175e6..bd035de 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 d3f0122..ac4c596 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 7f3e6cd..3cec2a9 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 6c9f794..defe145 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 7ae178e..51b4438 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 8eafd35..d774f80 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 ea66666..2c24bbf 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 bafc83b..ca8492b 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 b67a96a..4eacd1b 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 38db1a4..5dd46b2 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 93a004e..1b3c695 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 08085af..450091c 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 aa18f4a..97b55e1 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 44c9a07..5224f68 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 977dcfac..b54e36b 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 490740e..ee25e5c 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 8ea1040..5dbb6b4 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 cc2c729..8944edc 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 788b6ef..4ee3a3b 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"
diff --git a/src/vendorcode/cavium/include/bdk/bdk-coreboot.h b/src/vendorcode/cavium/include/bdk/bdk-coreboot.h index 85cf21a..6ff65dd 100644 --- a/src/vendorcode/cavium/include/bdk/bdk-coreboot.h +++ b/src/vendorcode/cavium/include/bdk/bdk-coreboot.h @@ -12,7 +12,7 @@ #ifndef __BDK_BDK_COREBOOT_H #define __BDK_BDK_COREBOOT_H
-#include <arch/io.h> +#include <device/mmio.h> #include <delay.h>
/** diff --git a/src/vendorcode/google/chromeos/watchdog.c b/src/vendorcode/google/chromeos/watchdog.c index 1b9045c..4557251 100644 --- a/src/vendorcode/google/chromeos/watchdog.c +++ b/src/vendorcode/google/chromeos/watchdog.c @@ -13,7 +13,7 @@ * GNU General Public License for more details. */
-#include <arch/io.h> +#include <device/mmio.h> #include <assert.h> #include <bootstate.h> #include <console/console.h> diff --git a/src/vendorcode/siemens/hwilib/hwilib.c b/src/vendorcode/siemens/hwilib/hwilib.c index 75e7cdb..1213dce 100644 --- a/src/vendorcode/siemens/hwilib/hwilib.c +++ b/src/vendorcode/siemens/hwilib/hwilib.c @@ -16,7 +16,7 @@ #include <cbfs.h> #include <string.h> #include <console/console.h> -#include <arch/io.h> +#include <device/mmio.h> #include <arch/early_variables.h> #include "hwilib.h"