summaryrefslogtreecommitdiff
path: root/src/mainboard/google/dedede
diff options
context:
space:
mode:
authorElyes Haouas <ehaouas@noos.fr>2022-12-05 08:48:50 +0100
committerFelix Held <felix-coreboot@felixheld.de>2022-12-10 05:07:14 +0000
commit8823ba167318e87f74717d0c32e29b58a1ed3eca (patch)
treea63711a64d2efb526a86b63b61ce15413a5f9caf /src/mainboard/google/dedede
parent8d1ef734a220d2cbb297a4f9485c0364c5a76071 (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/google/dedede')
-rw-r--r--src/mainboard/google/dedede/fw_config.c2
-rw-r--r--src/mainboard/google/dedede/variants/bugzzy/ramstage.c6
2 files changed, 4 insertions, 4 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)
{