diff options
author | Elyes Haouas <ehaouas@noos.fr> | 2022-12-05 08:48:50 +0100 |
---|---|---|
committer | Felix Held <felix-coreboot@felixheld.de> | 2022-12-10 05:07:14 +0000 |
commit | 8823ba167318e87f74717d0c32e29b58a1ed3eca (patch) | |
tree | a63711a64d2efb526a86b63b61ce15413a5f9caf /src/mainboard | |
parent | 8d1ef734a220d2cbb297a4f9485c0364c5a76071 (diff) |
treewide: Include <device/mmio.h> instead of <arch/mmio.h>
<device/mmio.h>` chain-include `<arch/mmio.h>:
https://doc.coreboot.org/contributing/coding_style.html#headers-and-includes
Also sort includes while on it.
Change-Id: Ie62e4295ce735a6ca74fbe2499b41aab2e76d506
Signed-off-by: Elyes Haouas <ehaouas@noos.fr>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/70291
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Felix Held <felix-coreboot@felixheld.de>
Diffstat (limited to 'src/mainboard')
-rw-r--r-- | src/mainboard/google/dedede/fw_config.c | 2 | ||||
-rw-r--r-- | src/mainboard/google/dedede/variants/bugzzy/ramstage.c | 6 | ||||
-rw-r--r-- | src/mainboard/protectli/vault_bsw/mainboard.c | 2 | ||||
-rw-r--r-- | src/mainboard/scaleway/tagada/hsio.c | 6 | ||||
-rw-r--r-- | src/mainboard/siemens/mc_ehl/romstage_fsp_params.c | 2 |
5 files changed, 9 insertions, 9 deletions
diff --git a/src/mainboard/google/dedede/fw_config.c b/src/mainboard/google/dedede/fw_config.c index 7e5d8fa2e2..d176283c2a 100644 --- a/src/mainboard/google/dedede/fw_config.c +++ b/src/mainboard/google/dedede/fw_config.c @@ -1,7 +1,7 @@ /* SPDX-License-Identifier: GPL-2.0-only */ -#include <arch/mmio.h> #include <bootstate.h> +#include <device/mmio.h> #include <fw_config.h> #include <gpio.h> #include <intelblocks/gpio.h> diff --git a/src/mainboard/google/dedede/variants/bugzzy/ramstage.c b/src/mainboard/google/dedede/variants/bugzzy/ramstage.c index 7844b6e360..8fb448dd45 100644 --- a/src/mainboard/google/dedede/variants/bugzzy/ramstage.c +++ b/src/mainboard/google/dedede/variants/bugzzy/ramstage.c @@ -1,13 +1,13 @@ /* SPDX-License-Identifier: GPL-2.0-or-later */ +#include <bootmode.h> #include <bootstate.h> -#include <arch/mmio.h> #include <delay.h> -#include <bootmode.h> #include <device/device.h> +#include <device/mmio.h> #include <device/pci.h> -#include <soc/pci_devs.h> #include <drivers/intel/gma/i915_reg.h> +#include <soc/pci_devs.h> static void panel_power_on(uintptr_t igd_bar) { diff --git a/src/mainboard/protectli/vault_bsw/mainboard.c b/src/mainboard/protectli/vault_bsw/mainboard.c index 3c9c45c476..ec4f81635e 100644 --- a/src/mainboard/protectli/vault_bsw/mainboard.c +++ b/src/mainboard/protectli/vault_bsw/mainboard.c @@ -1,7 +1,7 @@ /* SPDX-License-Identifier: GPL-2.0-or-later */ -#include <arch/mmio.h> #include <device/device.h> +#include <device/mmio.h> #include <soc/iomap.h> #define BIOS_CONTROL_REG 0xFC diff --git a/src/mainboard/scaleway/tagada/hsio.c b/src/mainboard/scaleway/tagada/hsio.c index d305427f02..d6fb676ba0 100644 --- a/src/mainboard/scaleway/tagada/hsio.c +++ b/src/mainboard/scaleway/tagada/hsio.c @@ -1,12 +1,12 @@ /* SPDX-License-Identifier: GPL-2.0-only */ -#include <arch/mmio.h> #include <console/console.h> -#include <hsio.h> +#include <device/mmio.h> +#include <fast_spi_def.h> #include <gpio_defs.h> +#include <hsio.h> #include <soc/fiamux.h> #include <string.h> -#include <fast_spi_def.h> #ifdef __RAMSTAGE__ static void update_hsio_info_for_m2_slots(size_t num_of_entry, BL_HSIO_INFORMATION *config) diff --git a/src/mainboard/siemens/mc_ehl/romstage_fsp_params.c b/src/mainboard/siemens/mc_ehl/romstage_fsp_params.c index 7befa4a9db..506bcc6824 100644 --- a/src/mainboard/siemens/mc_ehl/romstage_fsp_params.c +++ b/src/mainboard/siemens/mc_ehl/romstage_fsp_params.c @@ -1,9 +1,9 @@ /* SPDX-License-Identifier: GPL-2.0-only */ -#include <arch/mmio.h> #include <baseboard/variants.h> #include <console/console.h> #include <device/dram/common.h> +#include <device/mmio.h> #include <hwilib.h> #include <soc/meminit.h> #include <soc/romstage.h> |