summaryrefslogtreecommitdiff
path: root/src/southbridge
diff options
context:
space:
mode:
Diffstat (limited to 'src/southbridge')
-rw-r--r--src/southbridge/amd/common/acpi/sleepstates.asl10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/southbridge/amd/common/acpi/sleepstates.asl b/src/southbridge/amd/common/acpi/sleepstates.asl
index 97646a704a..e56dfb01e5 100644
--- a/src/southbridge/amd/common/acpi/sleepstates.asl
+++ b/src/southbridge/amd/common/acpi/sleepstates.asl
@@ -6,10 +6,20 @@ Name (SSFG, 0x0D)
#else
Name (SSFG, 0x09)
#endif
+
+If (CONFIG(ACPI_S1_NOT_SUPPORTED)) {
+ SSFG &= 0xfe
+}
+
If (CONFIG(DISABLE_ACPI_HIBERNATE)) {
SSFG &= 0xf7
}
+External (\OSFG, IntObj)
+If (CondRefOf(\OSFG)) {
+ SSFG = \OSFG
+}
+
/* Supported sleep states: */
Name(\_S0, Package () {0x00, 0x00, 0x00, 0x00} ) /* (S0) - working state */