summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorFelix Held <felix.held@amd.corp-partner.google.com>2021-09-16 22:07:42 +0200
committerFelix Held <felix-coreboot@felixheld.de>2021-09-17 20:28:19 +0000
commitb0e11503e787e8d206f24f0e59c4dd62e7e29a13 (patch)
treedaa0393690026797297e1c070266e3fbe8218b80 /src
parent1fb2e1eb42f60f53286ca2268d1e4442cf17f1a5 (diff)
security/intel/txt/romstage: add missing arch/cpu.h include
Including arch/cpu.h is needed to have the declaration for cpu_get_feature_flags_ecx. Signed-off-by: Felix Held <felix-coreboot@felixheld.de> Change-Id: I091c82f5a55ee9aa84a255c75c7721eff989344d Reviewed-on: https://review.coreboot.org/c/coreboot/+/57726 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Raul Rangel <rrangel@chromium.org>
Diffstat (limited to 'src')
-rw-r--r--src/security/intel/txt/romstage.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/security/intel/txt/romstage.c b/src/security/intel/txt/romstage.c
index 7a12debd6d..ef069ef0e2 100644
--- a/src/security/intel/txt/romstage.c
+++ b/src/security/intel/txt/romstage.c
@@ -1,5 +1,6 @@
/* SPDX-License-Identifier: GPL-2.0-only */
+#include <arch/cpu.h>
#include <arch/mmio.h>
#include <cf9_reset.h>
#include <console/console.h>