intel/amenia: Add mainboard SMI handler

Hardware / Coreboot - Shaunak Saha [intel.com] - 13 July 2016 23:00 UTC

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

bc62834 intel/amenia: Add mainboard SMI handler
src/mainboard/intel/amenia/Makefile.inc | 2 +
src/mainboard/intel/amenia/smihandler.c | 70 +++++++++++++++++++++++++++++++
2 files changed, 72 insertions(+)

Upstream: review.coreboot.org


  • Share