From f574c3305a0db9ba85c257222e03a08455476091 Mon Sep 17 00:00:00 2001 From: Angel Pons Date: Thu, 4 May 2023 12:55:42 +0200 Subject: 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 Reviewed-on: https://review.coreboot.org/c/coreboot/+/74960 Reviewed-by: Arthur Heymans Tested-by: build bot (Jenkins) --- src/soc/amd/common/acpi/sleepstates.asl | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) (limited to 'src/soc/amd/common') diff --git a/src/soc/amd/common/acpi/sleepstates.asl b/src/soc/amd/common/acpi/sleepstates.asl index 887f6df4d0..e56dfb01e5 100644 --- a/src/soc/amd/common/acpi/sleepstates.asl +++ b/src/soc/amd/common/acpi/sleepstates.asl @@ -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) -- cgit v1.2.3