mb/google/sarien: Move EC PTS/WAK function to mainboard

Move optional EC PTS and WAK function into mainboard level.

Signed-off-by: Lijian Zhao <lijian.zhao@intel.com>
Change-Id: Ie91a8168ae234f4fb4843c8587c77ae2f74aeb81
Reviewed-on: https://review.coreboot.org/c/coreboot/+/32671
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Duncan Laurie <dlaurie@chromium.org>
This commit is contained in:
Lijian Zhao 2019-05-07 13:42:57 -07:00 committed by Duncan Laurie
parent c7817bc128
commit 0a433db22c
2 changed files with 24 additions and 0 deletions

View File

@ -26,3 +26,15 @@ Method (MS0X, 1)
\_SB.PCI0.CTXS (CAM_EN)
}
}
/* Method called from _PTS prior to enter sleep state */
Method (MPTS, 1)
{
\_SB.PCI0.LPCB.EC0.PTS (Arg0)
}
/* Method called from _WAK prior to wakeup */
Method (MWAK, 1)
{
\_SB.PCI0.LPCB.EC0.WAK (Arg0)
}

View File

@ -26,3 +26,15 @@ Method (MS0X, 1)
\_SB.PCI0.CTXS (CAM_EN)
}
}
/* Method called from _PTS prior to enter sleep state */
Method (MPTS, 1)
{
\_SB.PCI0.LPCB.EC0.PTS (Arg0)
}
/* Method called from _WAK prior to wakeup */
Method (MWAK, 1)
{
\_SB.PCI0.LPCB.EC0.WAK (Arg0)
}