diff options
author | Duncan Laurie <dlaurie@google.com> | 2018-10-15 15:18:01 +0000 |
---|---|---|
committer | Duncan Laurie <dlaurie@chromium.org> | 2018-10-31 18:30:04 +0000 |
commit | d978174d1dec9a4afba0510933eb34aee63355d5 (patch) | |
tree | 31eb53940770017e236d45646509e22b2a1c3906 /src/ec/google/wilco/Makefile.inc | |
parent | 421a962cc6b226e07afa5c580ef2df310c03e04e (diff) |
ec/google/wilco: Add SMM handlers
Add EC handlers for specific SMM actions:
- on entry to sleep state tell the EC to save state and to prepare for
the host to enter sleep
- on ACPI enable/disable send command to the EC
- add a function to print SMI reasons when eSPI SMI is received
These need to be called by the mainboard handlers which will be done
when a board is added that uses this EC.
Change-Id: Ibabdc1462e0a8df405f9520244b83684e2ccf2f5
Signed-off-by: Duncan Laurie <dlaurie@google.com>
Reviewed-on: https://review.coreboot.org/29119
Reviewed-by: Aaron Durbin <adurbin@chromium.org>
Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/ec/google/wilco/Makefile.inc')
-rw-r--r-- | src/ec/google/wilco/Makefile.inc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/ec/google/wilco/Makefile.inc b/src/ec/google/wilco/Makefile.inc index c011ebf0e6..33eefd555b 100644 --- a/src/ec/google/wilco/Makefile.inc +++ b/src/ec/google/wilco/Makefile.inc @@ -1,5 +1,6 @@ ifeq ($(CONFIG_EC_GOOGLE_WILCO),y) ramstage-y += chip.c commands.c mailbox.c +smm-y += commands.c mailbox.c smihandler.c endif |