diff options
author | Marc Jones <marcj303@gmail.com> | 2017-02-22 16:21:49 -0700 |
---|---|---|
committer | Marc Jones <marc@marcjonesconsulting.com> | 2017-03-07 23:05:59 +0100 |
commit | a0891ee36753dfe2ee0082da99abb0346c877665 (patch) | |
tree | a144a6672869b5bddf9e531b3e7a709126abe32c /src/southbridge/amd/pi | |
parent | 91dea4a6482cf6ebe4d4bc434fbcd566cedb3941 (diff) | |
download | coreboot-a0891ee36753dfe2ee0082da99abb0346c877665.tar.xz |
amd/pi/hudson/acpi: Only declare S3 if it is supported
Only declare S3 support in ACPI if CONFIG_HAVE_ACPI_RESUME
is set.
Change-Id: I6f8f62a92478f3db5de6feaa9822baad3f8e147e
Signed-off-by: Marc Jones <marcj303@gmail.com>
Reviewed-on: https://review.coreboot.org/18493
Tested-by: build bot (Jenkins)
Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net>
Reviewed-by: Kyösti Mälkki <kyosti.malkki@gmail.com>
Diffstat (limited to 'src/southbridge/amd/pi')
-rw-r--r-- | src/southbridge/amd/pi/hudson/acpi/sleepstates.asl | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/southbridge/amd/pi/hudson/acpi/sleepstates.asl b/src/southbridge/amd/pi/hudson/acpi/sleepstates.asl index 912c0df6fb..d93f068bb7 100644 --- a/src/southbridge/amd/pi/hudson/acpi/sleepstates.asl +++ b/src/southbridge/amd/pi/hudson/acpi/sleepstates.asl @@ -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 */ } |