diff options
author | Kyösti Mälkki <kyosti.malkki@gmail.com> | 2015-05-29 06:18:08 +0300 |
---|---|---|
committer | Kyösti Mälkki <kyosti.malkki@gmail.com> | 2015-05-29 17:04:52 +0200 |
commit | 315a7b83836954917e993f5ce59b29cfe7c99470 (patch) | |
tree | 4f510a11f57119d7a45c65e23e993aa472c8dabf /src/mainboard/amd/lamar/mainboard.c | |
parent | 59d262ce6f76b7ea23cb2890ab9777aba5b25d06 (diff) | |
download | coreboot-315a7b83836954917e993f5ce59b29cfe7c99470.tar.xz |
binaryPI: Hide use of acpi_slp_type
Change-Id: I867932db4388eb078b69b6f42c82967777d45d79
Signed-off-by: Kyösti Mälkki <kyosti.malkki@gmail.com>
Reviewed-on: http://review.coreboot.org/10358
Tested-by: build bot (Jenkins)
Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net>
Reviewed-by: Aaron Durbin <adurbin@chromium.org>
Diffstat (limited to 'src/mainboard/amd/lamar/mainboard.c')
-rw-r--r-- | src/mainboard/amd/lamar/mainboard.c | 5 |
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(); |