summaryrefslogtreecommitdiff
path: root/src/mainboard/amd/lamar/mainboard.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mainboard/amd/lamar/mainboard.c')
-rw-r--r--src/mainboard/amd/lamar/mainboard.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/mainboard/amd/lamar/mainboard.c b/src/mainboard/amd/lamar/mainboard.c
index 3b0be4ecbe..6d4bb0615a 100644
--- a/src/mainboard/amd/lamar/mainboard.c
+++ b/src/mainboard/amd/lamar/mainboard.c
@@ -158,11 +158,8 @@ static void mainboard_enable(device_t dev)
* The mainboard is the first place that we get control in ramstage. Check
* for S3 resume and call the approriate AGESA/CIMx resume functions.
*/
-#if CONFIG_HAVE_ACPI_RESUME
- acpi_slp_type = acpi_get_sleep_type();
- if (acpi_slp_type == 3)
+ if (acpi_is_wakeup_s3())
agesawrapper_fchs3earlyrestore();
-#endif
/* Initialize the PIRQ data structures for consumption */
pirq_setup();