amd/stoneyridge: Use the new generic acpi_sleep_from_pm1
commitf9592ccef09821b5b5cb0c8245bded4c8c339c51
authorMarshall Dawson <marshalldawson3rd@gmail.com>
Thu, 9 Nov 2017 23:55:31 +0000 (9 16:55 -0700)
committerAaron Durbin <adurbin@chromium.org>
Fri, 10 Nov 2017 19:16:32 +0000 (10 19:16 +0000)
treef1733ccfd1a21d3b260d4eb85d16819cf91b3b1b
parent68592c34e3ee76228b739e05ed0e5b2d5290e98a
amd/stoneyridge: Use the new generic acpi_sleep_from_pm1

Unhardcode the acpi_get_sleep_type() function and rely on the new
function in arch/acpi.h.

Change-Id: Icd49c44fae43effb9f082db354abd327cad9f1ad
Signed-off-by: Marshall Dawson <marshalldawson3rd@gmail.com>
Reviewed-on: https://review.coreboot.org/22410
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Aaron Durbin <adurbin@chromium.org>
Reviewed-by: Marc Jones <marc@marcjonesconsulting.com>
src/soc/amd/stoneyridge/southbridge.c