From a050817ce57ef960bf2bec3a18f23b59039dd184 Mon Sep 17 00:00:00 2001 From: Arthur Heymans Date: Thu, 25 Jan 2018 11:30:22 +0100 Subject: 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 Reviewed-on: https://review.coreboot.org/23427 Tested-by: build bot (Jenkins) Reviewed-by: Patrick Georgi --- src/mainboard/lenovo/s230u/smihandler.c | 1 + 1 file changed, 1 insertion(+) (limited to 'src/mainboard/lenovo/s230u') diff --git a/src/mainboard/lenovo/s230u/smihandler.c b/src/mainboard/lenovo/s230u/smihandler.c index 755f176e91..4bd4d417dd 100644 --- a/src/mainboard/lenovo/s230u/smihandler.c +++ b/src/mainboard/lenovo/s230u/smihandler.c @@ -25,6 +25,7 @@ #include #include #include +#include #define GPE_PALMDET1 2 #define GPE_PALMDET2 4 -- cgit v1.2.3