soc/amd/cmn/acpi/sleepstates.asl: Align with sb/amd

Adjust a few things so that the sleepstates.asl file is the same for
sb/amd and soc/amd. These adjustments don't have a functional impact.

Change-Id: I0cc9462b326cdc371ffdbf5759d8adc42456ce74
Signed-off-by: Angel Pons <th3fanbus@gmail.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/74960
Reviewed-by: Arthur Heymans <arthur@aheymans.xyz>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
This commit is contained in:
Angel Pons 2023-05-04 12:55:42 +02:00 committed by Felix Held
parent 3321bb3eb3
commit f574c3305a
1 changed files with 6 additions and 5 deletions

View File

@ -1,17 +1,18 @@
/* SPDX-License-Identifier: GPL-2.0-only */
/* S1 support: bit 0, S2 Support: bit 1, etc. S0 & S5 assumed */
Name(SSFG, 0x09)
If (CONFIG(HAVE_ACPI_RESUME)) {
SSFG = 0x0D
}
#if CONFIG(HAVE_ACPI_RESUME)
Name (SSFG, 0x0D)
#else
Name (SSFG, 0x09)
#endif
If (CONFIG(ACPI_S1_NOT_SUPPORTED)) {
SSFG &= 0xfe
}
If (CONFIG(DISABLE_ACPI_HIBERNATE)) {
SSFG &= 0xF7
SSFG &= 0xf7
}
External (\OSFG, IntObj)