summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorPatrick Rudolph <patrick.rudolph@9elements.com>2020-07-27 16:06:34 +0200
committerPatrick Rudolph <siro@das-labor.org>2020-07-28 06:05:20 +0000
commit0f823095620e9b6434e9c731468526654a7725ae (patch)
treea52025f0711675a45671daff748f37634fd63b45 /src
parent87af90e18d0d68521b7358be04bf78637251f766 (diff)
downloadcoreboot-0f823095620e9b6434e9c731468526654a7725ae.tar.xz
Revert "src: Remove unused include <cpu/x86/smm.h>"
This reverts commit 6f739184dd153e0f7c3fa42990e008578b51b2c1. Fixes compiling the SMMSTORE driver. Change-Id: I3b4d4063ded50529bea48f8d865c1689fe9e26d1 Signed-off-by: Patrick Rudolph <patrick.rudolph@9elements.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/43970 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: HAOUAS Elyes <ehaouas@noos.fr> Reviewed-by: Michael Niewöhner Reviewed-by: Angel Pons <th3fanbus@gmail.com>
Diffstat (limited to 'src')
-rw-r--r--src/drivers/smmstore/smi.c1
-rw-r--r--src/soc/intel/skylake/romstage/romstage.c1
2 files changed, 2 insertions, 0 deletions
diff --git a/src/drivers/smmstore/smi.c b/src/drivers/smmstore/smi.c
index 877ed20add..b21423e90e 100644
--- a/src/drivers/smmstore/smi.c
+++ b/src/drivers/smmstore/smi.c
@@ -2,6 +2,7 @@
#include <console/console.h>
#include <commonlib/region.h>
+#include <cpu/x86/smm.h>
#include <smmstore.h>
#include <stddef.h>
#include <stdint.h>
diff --git a/src/soc/intel/skylake/romstage/romstage.c b/src/soc/intel/skylake/romstage/romstage.c
index 9ae854d67b..99f444ad5e 100644
--- a/src/soc/intel/skylake/romstage/romstage.c
+++ b/src/soc/intel/skylake/romstage/romstage.c
@@ -4,6 +4,7 @@
#include <arch/symbols.h>
#include <assert.h>
#include <cpu/x86/msr.h>
+#include <cpu/x86/smm.h>
#include <cbmem.h>
#include <console/console.h>
#include <device/pci_def.h>