soc/intel/{tgl,jsl}: Enable logging of wake sources for S0ix
commit7c36dc12df01ed168169b9abcb374d570cf458af
authorFurquan Shaikh <furquan@google.com>
Mon, 2 Nov 2020 22:00:35 +0000 (2 14:00 -0800)
committerKarthik Ramasubramanian <kramasub@google.com>
Tue, 3 Nov 2020 23:58:45 +0000 (3 23:58 +0000)
tree50ceb02b2d59573b9cb088f4bf2c2909ff0a46ac
parent1b85692fc4247659a188cba577ba8c35aa373fbd
soc/intel/{tgl,jsl}: Enable logging of wake sources for S0ix

This change adds elog.c to smm-y for Tiger lake and Jasper Lake
platforms to enable the logging of wake sources in eventlog for S0ix.

BUG=b:172272078,b:169731044
BRANCH=volteer
TEST=Verified on volteer that wake sources are correctly logged for
S0ix:
8 | 2020-11-02 13:54:27 | S0ix Enter
9 | 2020-11-02 13:54:33 | S0ix Exit
10 | 2020-11-02 13:54:33 | Wake Source | RTC Alarm | 0
11 | 2020-11-02 13:54:49 | S0ix Enter
12 | 2020-11-02 13:54:54 | S0ix Exit
13 | 2020-11-02 13:54:54 | Wake Source | Power Button | 0
14 | 2020-11-02 13:55:04 | S0ix Enter
15 | 2020-11-02 13:55:10 | S0ix Exit
16 | 2020-11-02 13:55:10 | Wake Source | GPE # | 112

Signed-off-by: Furquan Shaikh <furquan@google.com>
Change-Id: Ie1c40dfba6c82ca45a21d35c5a2725e4d30855d6
Reviewed-on: https://review.coreboot.org/c/coreboot/+/47141
Reviewed-by: Tim Wawrzynczak <twawrzynczak@chromium.org>
Reviewed-by: Karthik Ramasubramanian <kramasub@google.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
src/soc/intel/jasperlake/Makefile.inc
src/soc/intel/tigerlake/Makefile.inc