google/reef: Add mainboard handler function for gpio SMI

Hardware / Coreboot - Shaunak Saha [intel.com] - 10 August 2016 14:11 UTC

This patch adds mainboard_smi_gpi_handler which handles the SMI event. This can happen in situations like lidclose and system goes to shutdown.

BUG=chrome-os-partner:54977 TEST=When system is in firmware mode executing the command lidclose from ec console shuts down the system.

Change-Id: I8ff6001e48dcbbd4cee5097e759352d8fea6189b

3922cec google/reef: Add mainboard handler function for gpio SMI
src/mainboard/google/reef/ec.h | 3 +++
src/mainboard/google/reef/smihandler.c | 7 +++++++
2 files changed, 10 insertions(+)

Upstream: review.coreboot.org


  • Share