glados: make EC_SMI_L functional

Hardware / Coreboot - Aaron Durbin [chromium.org] - 14 August 2015 08:21 UTC

Set the EC_SMI_GPI define to be GPP_E15 and route that GPIO for SMI generation. Also, the mainboard_smi_gpi_handler() was introduced on skylake in order to process any GPI that could generate an SMI. Switch to this handler so one can process the appropriate events.

BUG=chrome-os-partner:43778 BRANCH=None TEST=Used 'lidclose' on EC command line during depthcharge to confirm EC_SMI_L generates SMI and shutdown happens.

Original-Change-Id: Ia365b86161670a809e3fa99dde38fccc612d5e77

50ed38f glados: make EC_SMI_L functional
src/mainboard/google/glados/ec.h | 4 ++--
src/mainboard/google/glados/gpio.h | 2 +-
src/mainboard/google/glados/smihandler.c | 5 ++---
3 files changed, 5 insertions(+), 6 deletions(-)

Upstream: review.coreboot.org


  • Share