summaryrefslogtreecommitdiff
path: root/src/mainboard/intel/amenia/Makefile.inc
diff options
context:
space:
mode:
authorShaunak Saha <shaunak.saha@intel.com>2016-07-11 21:26:11 -0700
committerAaron Durbin <adurbin@chromium.org>2016-07-14 06:00:42 +0200
commitbc62834306e93198741c36c19ea2cda7e0537cc4 (patch)
tree48aacfb9b7d5a31764524a33e0b100a720118925 /src/mainboard/intel/amenia/Makefile.inc
parent9a6ebda9b4927a914955ccb960f6f4f36eca3add (diff)
intel/amenia: Add mainboard SMI handler
This patch adds a mainboard SMI handler file which has functions to set proper Wake mask before going to sleep so that system can wake up on lidopen, key press etc. Also SCI mask is set on boot which will enable timely update of battery UI on charger connect/disconnect. BUG = chrome-os-partner:53992 TEST = Amenia platform wakes from S3 on lidopen, key press and also sysfs entry for AC is updated on charger connect/disconnect. Change-Id: If3dc6924c51c228241b7a647566b97398326ec0e Signed-off-by: Shaunak Saha <shaunak.saha@intel.com> Reviewed-on: https://review.coreboot.org/15616 Tested-by: build bot (Jenkins) Reviewed-by: Aaron Durbin <adurbin@chromium.org>
Diffstat (limited to 'src/mainboard/intel/amenia/Makefile.inc')
-rw-r--r--src/mainboard/intel/amenia/Makefile.inc2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mainboard/intel/amenia/Makefile.inc b/src/mainboard/intel/amenia/Makefile.inc
index 8d4d5f7058..3b6bca3c83 100644
--- a/src/mainboard/intel/amenia/Makefile.inc
+++ b/src/mainboard/intel/amenia/Makefile.inc
@@ -6,3 +6,5 @@ ramstage-y += mainboard.c
ramstage-$(CONFIG_EC_GOOGLE_CHROMEEC) += ec.c
ramstage-$(CONFIG_CHROMEOS) += chromeos.c
ramstage-$(CONFIG_CHROMEOS) += chromeos_ramstage.c
+
+smm-$(CONFIG_HAVE_SMI_HANDLER) += smihandler.c