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:
parent
3321bb3eb3
commit
f574c3305a
|
@ -1,17 +1,18 @@
|
||||||
/* SPDX-License-Identifier: GPL-2.0-only */
|
/* SPDX-License-Identifier: GPL-2.0-only */
|
||||||
|
|
||||||
/* S1 support: bit 0, S2 Support: bit 1, etc. S0 & S5 assumed */
|
/* S1 support: bit 0, S2 Support: bit 1, etc. S0 & S5 assumed */
|
||||||
Name(SSFG, 0x09)
|
#if CONFIG(HAVE_ACPI_RESUME)
|
||||||
If (CONFIG(HAVE_ACPI_RESUME)) {
|
Name (SSFG, 0x0D)
|
||||||
SSFG = 0x0D
|
#else
|
||||||
}
|
Name (SSFG, 0x09)
|
||||||
|
#endif
|
||||||
|
|
||||||
If (CONFIG(ACPI_S1_NOT_SUPPORTED)) {
|
If (CONFIG(ACPI_S1_NOT_SUPPORTED)) {
|
||||||
SSFG &= 0xfe
|
SSFG &= 0xfe
|
||||||
}
|
}
|
||||||
|
|
||||||
If (CONFIG(DISABLE_ACPI_HIBERNATE)) {
|
If (CONFIG(DISABLE_ACPI_HIBERNATE)) {
|
||||||
SSFG &= 0xF7
|
SSFG &= 0xf7
|
||||||
}
|
}
|
||||||
|
|
||||||
External (\OSFG, IntObj)
|
External (\OSFG, IntObj)
|
||||||
|
|
Loading…
Reference in New Issue