summaryrefslogtreecommitdiff
path: root/src/superio/winbond/w83627dhg/acpi
diff options
context:
space:
mode:
authorNico Huber <nico.h@gmx.de>2020-03-22 01:17:54 +0100
committerNico Huber <nico.h@gmx.de>2020-03-29 00:00:55 +0000
commit79dfa909bb4e04b699fb28773855bade922ea50f (patch)
treef18c46e5191a1b117a26f34bc7abd1a826ca16b9 /src/superio/winbond/w83627dhg/acpi
parentddb4cf08f741dff9bdea708a34301efc0a6061eb (diff)
superio: Replace D1/D2 power states with D3
Spec says if any object to control the power state exists, at least D0 and D3 must be supported. And it seems Windows complains about the missing D3 support: https://ticket.coreboot.org/issues/257 Windows reported `*** STOP: 0x000000A5` with the first parameter `0x000000000000000D` (refers to a missing ACPI object) and the third parameter `0x000000003353505F` which is the name of the object in ASCII, little-endian (`_PS3`). Change-Id: Ifa28a7c56575848e76e4a1c542866413b4c44d50 Signed-off-by: Nico Huber <nico.h@gmx.de> Closes: https://ticket.coreboot.org/issues/257 Reviewed-on: https://review.coreboot.org/c/coreboot/+/39746 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net> Reviewed-by: Angel Pons <th3fanbus@gmail.com>
Diffstat (limited to 'src/superio/winbond/w83627dhg/acpi')
-rw-r--r--src/superio/winbond/w83627dhg/acpi/superio.asl8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/superio/winbond/w83627dhg/acpi/superio.asl b/src/superio/winbond/w83627dhg/acpi/superio.asl
index cb6a4a7386..f86f16946e 100644
--- a/src/superio/winbond/w83627dhg/acpi/superio.asl
+++ b/src/superio/winbond/w83627dhg/acpi/superio.asl
@@ -109,12 +109,12 @@ Device(SUPERIO_DEV) {
#define PNP_EXIT_MAGIC_1ST 0xaa
#include <superio/acpi/pnp_config.asl>
- /* PM: indicate IPD (Immediate Power Down) bit state as D0/D2 */
+ /* PM: indicate IPD (Immediate Power Down) bit state as D0/D3 */
Method (_PSC) {
ENTER_CONFIG_MODE (PNP_NO_LDN_CHANGE)
Store (IPD, Local0)
EXIT_CONFIG_MODE ()
- If (Local0) { Return (2) }
+ If (Local0) { Return (3) }
Else { Return (0) }
}
@@ -125,8 +125,8 @@ Device(SUPERIO_DEV) {
EXIT_CONFIG_MODE ()
}
- /* PM: Switch to D2 by setting IPD high */
- Method (_PS2) {
+ /* PM: Switch to D3 by setting IPD high */
+ Method (_PS3) {
ENTER_CONFIG_MODE (PNP_NO_LDN_CHANGE)
Store (One, IPD)
EXIT_CONFIG_MODE ()