diff options
author | Michał Żygowski <michal.zygowski@3mdeb.com> | 2021-11-21 17:00:02 +0100 |
---|---|---|
committer | Michał Żygowski <michal.zygowski@3mdeb.com> | 2021-11-27 14:22:43 +0000 |
commit | 3b1d1ce1af684f5a94376a023980d6d94cb7972a (patch) | |
tree | 241945d7107fd2f7d258c30c8ab6d2bdf9d08b47 /src/ec/smsc | |
parent | 257094ac1ad5ee63c9b98cecbc3f5437eeefcc79 (diff) |
superio/smsc/sch5545: Clear PMEs in the early init
Disable PMEs and clear global PME status to avoid undesired wakeups
or hangs in later stages. These bits are set by OS via ACPI can survive
S5 state so it is necessary to set them back to defaults after an
ungraceful shutdown.
TEST=Dell OptiPlex 9010 does not hang anymore after ungraceful shutdown
when configuring GPE0_EN register in southbridge LPC init
Signed-off-by: Michał Żygowski <michal.zygowski@3mdeb.com>
Change-Id: I790cac3ce1101565b64ed54d9c6b50f5e9aa4cf6
Reviewed-on: https://review.coreboot.org/c/coreboot/+/59524
Reviewed-by: Angel Pons <th3fanbus@gmail.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/ec/smsc')
0 files changed, 0 insertions, 0 deletions