summaryrefslogtreecommitdiff
path: root/src/mainboard/lenovo/t520/smihandler.c
diff options
context:
space:
mode:
authorArthur Heymans <arthur@aheymans.xyz>2018-01-25 11:30:22 +0100
committerPatrick Georgi <pgeorgi@google.com>2018-03-28 06:49:08 +0000
commita050817ce57ef960bf2bec3a18f23b59039dd184 (patch)
treedd53e8378578c37b0d7aec0af2a8e2b0e1326a2d /src/mainboard/lenovo/t520/smihandler.c
parenta6ab9afc497bb97994353bb8ab7b8a628fbc5c81 (diff)
downloadcoreboot-a050817ce57ef960bf2bec3a18f23b59039dd184.tar.xz
sb/intel/common: Add common code for SMM setup and smihandler
This moves the sandybridge both smm setup and smihandler code to a common place. Tested on Thinkpad X220, still boots, resume to and from S3 is fine so smihandler is still working fine. Change-Id: I28e2e6ad1e95a9e14462a456726a144ccdc63ec9 Signed-off-by: Arthur Heymans <arthur@aheymans.xyz> Reviewed-on: https://review.coreboot.org/23427 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Patrick Georgi <pgeorgi@google.com>
Diffstat (limited to 'src/mainboard/lenovo/t520/smihandler.c')
-rw-r--r--src/mainboard/lenovo/t520/smihandler.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mainboard/lenovo/t520/smihandler.c b/src/mainboard/lenovo/t520/smihandler.c
index 3fa8e3032d..387e305b98 100644
--- a/src/mainboard/lenovo/t520/smihandler.c
+++ b/src/mainboard/lenovo/t520/smihandler.c
@@ -25,6 +25,7 @@
#include <southbridge/intel/bd82x6x/nvs.h>
#include <southbridge/intel/bd82x6x/pch.h>
#include <southbridge/intel/bd82x6x/me.h>
+#include <southbridge/intel/common/pmutil.h>
#include <northbridge/intel/sandybridge/sandybridge.h>
#include <cpu/intel/model_206ax/model_206ax.h>