summaryrefslogtreecommitdiff
path: root/src/soc/amd
diff options
context:
space:
mode:
Diffstat (limited to 'src/soc/amd')
-rw-r--r--src/soc/amd/picasso/acpi/sleepstates.asl3
-rw-r--r--src/soc/amd/stoneyridge/acpi/sleepstates.asl3
2 files changed, 6 insertions, 0 deletions
diff --git a/src/soc/amd/picasso/acpi/sleepstates.asl b/src/soc/amd/picasso/acpi/sleepstates.asl
index d4aabdb7af..c5e979e268 100644
--- a/src/soc/amd/picasso/acpi/sleepstates.asl
+++ b/src/soc/amd/picasso/acpi/sleepstates.asl
@@ -19,6 +19,9 @@ Name(SSFG, 0x09)
If (CONFIG(HAVE_ACPI_RESUME)) {
Store(0x0D, SSFG)
}
+If (CONFIG(DISABLE_ACPI_HIBERNATE)) {
+ Store(And(SSFG, 0xF7), SSFG)
+}
/* Supported sleep states: */
Name(\_S0, Package () {0x00, 0x00, 0x00, 0x00} ) /* (S0) - working state */
diff --git a/src/soc/amd/stoneyridge/acpi/sleepstates.asl b/src/soc/amd/stoneyridge/acpi/sleepstates.asl
index d4aabdb7af..c5e979e268 100644
--- a/src/soc/amd/stoneyridge/acpi/sleepstates.asl
+++ b/src/soc/amd/stoneyridge/acpi/sleepstates.asl
@@ -19,6 +19,9 @@ Name(SSFG, 0x09)
If (CONFIG(HAVE_ACPI_RESUME)) {
Store(0x0D, SSFG)
}
+If (CONFIG(DISABLE_ACPI_HIBERNATE)) {
+ Store(And(SSFG, 0xF7), SSFG)
+}
/* Supported sleep states: */
Name(\_S0, Package () {0x00, 0x00, 0x00, 0x00} ) /* (S0) - working state */