summaryrefslogtreecommitdiffstats
path: root/src/cpu/x86
diff options
context:
space:
mode:
authorElyes Haouas <ehaouas@noos.fr>2022-10-02 10:26:55 +0200
committerMartin Roth <martin.roth@amd.corp-partner.google.com>2022-10-06 16:59:10 +0000
commitafc5f9b8b218015a20c0055a1f40c3ab820bacaf (patch)
treec8d13feff622cc922461294becea092e56cf1c46 /src/cpu/x86
parent69c02b0cd8e4aad0b94288bb1cf00476c7a4a3f9 (diff)
downloadcoreboot-afc5f9b8b218015a20c0055a1f40c3ab820bacaf.tar.gz
coreboot-afc5f9b8b218015a20c0055a1f40c3ab820bacaf.tar.bz2
coreboot-afc5f9b8b218015a20c0055a1f40c3ab820bacaf.zip
cpu/x86/smm/smm_module_loader.c: Clean up includes
Signed-off-by: Elyes Haouas <ehaouas@noos.fr> Change-Id: I36c54e62797e67c1732f8deaf8843daf35610e22 Reviewed-on: https://review.coreboot.org/c/coreboot/+/68032 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Martin L Roth <gaumless@gmail.com>
Diffstat (limited to 'src/cpu/x86')
-rw-r--r--src/cpu/x86/smm/smm_module_loader.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/cpu/x86/smm/smm_module_loader.c b/src/cpu/x86/smm/smm_module_loader.c
index 05554245fc32..71d49ab95a86 100644
--- a/src/cpu/x86/smm/smm_module_loader.c
+++ b/src/cpu/x86/smm/smm_module_loader.c
@@ -1,6 +1,5 @@
/* SPDX-License-Identifier: GPL-2.0-only */
-#include "assert.h"
#include <acpi/acpi_gnvs.h>
#include <cbmem.h>
#include <commonlib/helpers.h>
@@ -8,12 +7,9 @@
#include <console/console.h>
#include <cpu/x86/smm.h>
#include <rmodule.h>
-#include <security/intel/stm/SmmStm.h>
-#include <stddef.h>
-#include <stdint.h>
#include <stdio.h>
-#include <stdlib.h>
#include <string.h>
+#include <types.h>
#define FXSAVE_SIZE 512
#define SMM_CODE_SEGMENT_SIZE 0x10000