summaryrefslogtreecommitdiff
path: root/src/security
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/security
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/security')
-rw-r--r--src/security/intel/txt/common.c4
-rw-r--r--src/security/intel/txt/logging.c2
-rw-r--r--src/security/intel/txt/ramstage.c2
-rw-r--r--src/security/intel/txt/romstage.c2
4 files changed, 5 insertions, 5 deletions
diff --git a/src/security/intel/txt/common.c b/src/security/intel/txt/common.c
index b88062d42b..b78394add2 100644
--- a/src/security/intel/txt/common.c
+++ b/src/security/intel/txt/common.c
@@ -1,12 +1,12 @@
/* SPDX-License-Identifier: GPL-2.0-only */
-#include <arch/mmio.h>
-#include <console/console.h>
#include <cbfs.h>
+#include <console/console.h>
#include <cpu/x86/cr.h>
#include <cpu/x86/mp.h>
#include <cpu/x86/msr.h>
#include <cpu/x86/mtrr.h>
+#include <device/mmio.h>
#include <lib.h>
#include <smp/node.h>
#include <string.h>
diff --git a/src/security/intel/txt/logging.c b/src/security/intel/txt/logging.c
index e3fcb5e274..6485b867e2 100644
--- a/src/security/intel/txt/logging.c
+++ b/src/security/intel/txt/logging.c
@@ -1,8 +1,8 @@
/* SPDX-License-Identifier: GPL-2.0-only */
-#include <arch/mmio.h>
#include <console/console.h>
#include <cpu/x86/smm.h>
+#include <device/mmio.h>
#include <types.h>
#include "txt.h"
diff --git a/src/security/intel/txt/ramstage.c b/src/security/intel/txt/ramstage.c
index 744b05e410..8a266a4230 100644
--- a/src/security/intel/txt/ramstage.c
+++ b/src/security/intel/txt/ramstage.c
@@ -1,13 +1,13 @@
/* SPDX-License-Identifier: GPL-2.0-only */
#include <acpi/acpi.h>
-#include <arch/mmio.h>
#include <bootmem.h>
#include <bootstate.h>
#include <cbfs.h>
#include <console/console.h>
#include <cpu/intel/common/common.h>
#include <cpu/x86/smm.h>
+#include <device/mmio.h>
#include <device/pci_ops.h>
#include <security/intel/cbnt/cbnt.h>
#include <types.h>
diff --git a/src/security/intel/txt/romstage.c b/src/security/intel/txt/romstage.c
index e045c9d6fb..e1329dd957 100644
--- a/src/security/intel/txt/romstage.c
+++ b/src/security/intel/txt/romstage.c
@@ -1,11 +1,11 @@
/* SPDX-License-Identifier: GPL-2.0-only */
#include <arch/cpu.h>
-#include <arch/mmio.h>
#include <console/console.h>
#include <cpu/intel/common/common.h>
#include <cpu/x86/cr.h>
#include <cpu/x86/msr.h>
+#include <device/mmio.h>
#include <southbridge/intel/common/pmbase.h>
#include <timer.h>
#include <types.h>