amd/stoneyridge: Move acpi_get_sleep_type to sb_util
commit3a7de79885e693526f33e892de095b980116ac49
authorMarshall Dawson <marshalldawson3rd@gmail.com>
Thu, 16 Nov 2017 16:14:15 +0000 (16 09:14 -0700)
committerMartin Roth <martinroth@google.com>
Fri, 19 Jan 2018 19:47:55 +0000 (19 19:47 +0000)
treebfe51c3b543c156494a81ee24ac7c2c10bb90b3d
parent2d51dd662526eef23766d7c4299fd7555a7876bf
amd/stoneyridge: Move acpi_get_sleep_type to sb_util

Relocate the acpi_get_sleep_type() function out of the southbridge
ramstage file.  This will make it more convenient for using elsewhere.

Change-Id: Id7ba709bb867fb00ed6c7fa7526de087a3b9b3ca
Signed-off-by: Marshall Dawson <marshalldawson3rd@gmail.com>
Reviewed-on: https://review.coreboot.org/22722
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Richard Spiegel <richard.spiegel@silverbackltd.com>
Reviewed-by: Martin Roth <martinroth@google.com>
src/soc/amd/stoneyridge/sb_util.c
src/soc/amd/stoneyridge/southbridge.c