skylake: Add support for eSPI SMI events

Hardware / Coreboot - Duncan Laurie [chromium.org] - 27 October 2016 09:30 UTC

Add the necessary infrastructure to support eSPI SMI events, and a mainboard handler to pass control to the EC.

BUG=chrome-os-partner:58666 TEST=tested on eve board with eSPI enabled, verified that lid close event from the EC during firmware will result in an SMI and shut down the system.

Change-Id: I6367e233e070a8fca053a7bdd2534c0578d15d12

8d01902 skylake: Add support for eSPI SMI events
src/soc/intel/skylake/include/soc/pm.h | 1 +
src/soc/intel/skylake/include/soc/smm.h | 2 ++
src/soc/intel/skylake/pmutil.c | 3 ++-
src/soc/intel/skylake/smi.c | 3 ++-
src/soc/intel/skylake/smihandler.c | 7 +++++++
5 files changed, 14 insertions(+), 2 deletions(-)

Upstream: review.coreboot.org


  • Share