soc/amd/stoneyridge/acpi/sleepstates.asl: Fix guarded code

Remove #if statement and replace it with if(IS_ENABLED(...)) per coreboot
recommendations.

BUG=b:62200858
TEST=Build kahlee.

Change-Id: I268b228706a625e1415c4f24e808261c279ba41e
Signed-off-by: Richard Spiegel <richard.spiegel@silverbackltd.com>
Reviewed-on: https://review.coreboot.org/23575
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Martin Roth <martinroth@google.com>
This commit is contained in:
Richard Spiegel 2018-02-02 15:28:39 -07:00 committed by Martin Roth
parent 7b6a32f5c4
commit ddb4dcab8a
1 changed files with 4 additions and 5 deletions

View File

@ -15,11 +15,10 @@
*/ */
/* S1 support: bit 0, S2 Support: bit 1, etc. S0 & S5 assumed */ /* S1 support: bit 0, S2 Support: bit 1, etc. S0 & S5 assumed */
#if IS_ENABLED(CONFIG_HAVE_ACPI_RESUME)
Name (SSFG, 0x0D)
#else
Name(SSFG, 0x09) Name(SSFG, 0x09)
#endif If (IS_ENABLED(CONFIG_HAVE_ACPI_RESUME)) {
Store(0x0D, SSFG)
}
/* Supported sleep states: */ /* Supported sleep states: */
Name(\_S0, Package () {0x00, 0x00, 0x00, 0x00} ) /* (S0) - working state */ Name(\_S0, Package () {0x00, 0x00, 0x00, 0x00} ) /* (S0) - working state */