aboutsummaryrefslogtreecommitdiff
path: root/src/soc/mediatek/common/rtc.c
diff options
context:
space:
mode:
authorKrishna Prasad Bhat <krishna.p.bhat.d@intel.com>2019-03-28 23:09:24 +0530
committerPatrick Georgi <pgeorgi@google.com>2019-04-02 10:21:59 +0000
commitc41b0e8ea3b2714bf6d6d88a6b66c333c6919f07 (patch)
treebbc717958071797b83bf9169f76d078b55049198 /src/soc/mediatek/common/rtc.c
parent51c8532c6b7fcdbd9d658dc3517f021eece910e2 (diff)
mb/google/hatch: Re-configure GPP_A12 as GPO before entering sleep
GPP_A12 has a Native3 (SX_EXIT_HOLDOFF#) mode, which allows to delay resuming to S0. If this pad is not locked and platform was not initially designed for this functionality, malware could reconfigure this pads setting under OS (switch to Native3), which would make platform not able to resume until G3 is applied. To prevent misuse of this pad, re-configure this pad before entering S3 and S5 to guarantee that the pad configuration is correct. BUG=b:128686027 Change-Id: I1e7979baa491acf2c56d223afb4618f0f6429e37 Signed-off-by: Krishna Prasad Bhat <krishna.p.bhat.d@intel.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/32111 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Furquan Shaikh <furquan@google.com>
Diffstat (limited to 'src/soc/mediatek/common/rtc.c')
0 files changed, 0 insertions, 0 deletions