UPSTREAM: amd/pi/hudson/acpi: Only declare S3 if it is supported
Only declare S3 support in ACPI if CONFIG_HAVE_ACPI_RESUME
is set.
BUG=none
BRANCH=none
TEST=none
Change-Id: I7c1ebe9516b26c9f4a9d78ee224c2057238c66a6
Signed-off-by: Patrick Georgi <pgeorgi@chromium.org>
Original-Commit-Id: a0891ee367
Original-Change-Id: I6f8f62a92478f3db5de6feaa9822baad3f8e147e
Original-Signed-off-by: Marc Jones <marcj303@gmail.com>
Original-Reviewed-on: https://review.coreboot.org/18493
Original-Tested-by: build bot (Jenkins)
Original-Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net>
Original-Reviewed-by: Kysti Mlkki <kyosti.malkki@gmail.com>
Reviewed-on: https://chromium-review.googlesource.com/451426
This commit is contained in:
parent
cf544fc6f1
commit
50307a2d54
1 changed files with 2 additions and 0 deletions
|
|
@ -23,9 +23,11 @@ If (LAnd(SSFG, 0x01)) {
|
|||
If (LAnd(SSFG, 0x02)) {
|
||||
Name(\_S2, Package () {0x02, 0x02, 0x00, 0x00} ) /* (S2) - "light" Suspend to RAM */
|
||||
}
|
||||
#if CONFIG_HAVE_ACPI_RESUME
|
||||
If (LAnd(SSFG, 0x04)) {
|
||||
Name(\_S3, Package () {0x03, 0x03, 0x00, 0x00} ) /* (S3) - Suspend to RAM */
|
||||
}
|
||||
#endif
|
||||
If (LAnd(SSFG, 0x08)) {
|
||||
Name(\_S4, Package () {0x04, 0x04, 0x00, 0x00} ) /* (S4) - Suspend to Disk */
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue