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