aboutsummaryrefslogtreecommitdiff
path: root/src/mainboard/google/reef/Makefile.inc
diff options
context:
space:
mode:
authorShaunak Saha <shaunak.saha@intel.com>2016-07-11 21:04:25 -0700
committerAaron Durbin <adurbin@chromium.org>2016-07-14 06:00:30 +0200
commit9a6ebda9b4927a914955ccb960f6f4f36eca3add (patch)
tree9ebd930d9a477a92e8f468bec826d808a232a9e3 /src/mainboard/google/reef/Makefile.inc
parent141ce4111220c317b318bce4cc5e378185a576be (diff)
google/reef: 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 = Reef Platform wakes from S3 on lidopen, key press and also sysfs entry for AC is updated on charger connect/disconnect. Change-Id: I8c087994b48223b253dcf1cbb3ed3c3a0f366e36 Signed-off-by: Shaunak Saha <shaunak.saha@intel.com> Reviewed-on: https://review.coreboot.org/15615 Tested-by: build bot (Jenkins) Reviewed-by: Aaron Durbin <adurbin@chromium.org>
Diffstat (limited to 'src/mainboard/google/reef/Makefile.inc')
-rw-r--r--src/mainboard/google/reef/Makefile.inc1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mainboard/google/reef/Makefile.inc b/src/mainboard/google/reef/Makefile.inc
index 6db0f2ff05..bb3dd8f0fe 100644
--- a/src/mainboard/google/reef/Makefile.inc
+++ b/src/mainboard/google/reef/Makefile.inc
@@ -10,3 +10,4 @@ ramstage-y += ec.c
ramstage-y += mainboard.c
verstage-$(CONFIG_CHROMEOS) += chromeos.c
+smm-$(CONFIG_HAVE_SMI_HANDLER) += smihandler.c