aboutsummaryrefslogtreecommitdiff
path: root/src/mainboard/amd/padmelon/gpio.c
diff options
context:
space:
mode:
authorAngel Pons <th3fanbus@gmail.com>2021-02-19 11:01:33 +0100
committerPatrick Georgi <pgeorgi@google.com>2021-02-22 07:23:16 +0000
commit77330e5b153cba121cf246e6643bf659d16d0a77 (patch)
treeee98cc72e264e95b01748533309c346194f05310 /src/mainboard/amd/padmelon/gpio.c
parent15cbc3b5996ae64aff2e4741c4c3ec3d7f5cc1a7 (diff)
mb/amd/padmelon: Replace `HAVE_S3_SUPPORT` symbol
Replace it with `HAVE_ACPI_RESUME`, which defaults to n for this board. Change-Id: Ibb07c0d001ded8d7ff991bf63607872bf4b79c8e Signed-off-by: Angel Pons <th3fanbus@gmail.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/50904 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Felix Held <felix-coreboot@felixheld.de> Reviewed-by: Marshall Dawson <marshalldawson3rd@gmail.com>
Diffstat (limited to 'src/mainboard/amd/padmelon/gpio.c')
-rw-r--r--src/mainboard/amd/padmelon/gpio.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mainboard/amd/padmelon/gpio.c b/src/mainboard/amd/padmelon/gpio.c
index 7897d7bc9d..228da50b3b 100644
--- a/src/mainboard/amd/padmelon/gpio.c
+++ b/src/mainboard/amd/padmelon/gpio.c
@@ -20,7 +20,7 @@ static const struct soc_amd_gpio gpio_set_stage_reset[] = {
};
static const struct soc_amd_gpio gpio_set_stage_ram[] = {
-#if CONFIG(HAVE_S3_SUPPORT)
+#if CONFIG(HAVE_ACPI_RESUME)
/* PCIE_WAKE - default, do not program */
/* DEVSLP1 */
@@ -34,7 +34,7 @@ static const struct soc_amd_gpio gpio_set_stage_ram[] = {
/* WLAND - default as GPIO, do not program */
-#endif /* HAVE_S3_SUPPORT */
+#endif /* HAVE_ACPI_RESUME */
/* BLINK - reselect GPIO OUTPUT HIGH to force BLINK */
PAD_GPO(GPIO_11, HIGH),
};