diff options
author | Subrata Banik <subrata.banik@intel.com> | 2017-10-12 19:38:21 +0530 |
---|---|---|
committer | Aaron Durbin <adurbin@chromium.org> | 2017-10-18 01:10:37 +0000 |
commit | 319e3b4cce73c441de485e4569498f95ab114211 (patch) | |
tree | 9ed11e7e8dd0c920167ea65c9903a04d0dc65e86 /src/lib/primitive_memtest.c | |
parent | c1ca65df3f3d4d98820f9431a2e41b446928d8dd (diff) |
soc/intel/cannonlake: Create acpi_get_sleep_type() to get previous sleep state
This patch uses PMC common function to get previous sleep state
using cbmem or chipset_power_state global structure.
acpi_get_sleep_type is needed in PRE_RAM stage when soc selects
CONFIG_EARLY_EBDA_INIT kconfig option.
Change-Id: Ib9f8bdc1c682807450b6c01941b9a0927789b2d8
Signed-off-by: Subrata Banik <subrata.banik@intel.com>
Reviewed-on: https://review.coreboot.org/21988
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Aaron Durbin <adurbin@chromium.org>
Diffstat (limited to 'src/lib/primitive_memtest.c')
0 files changed, 0 insertions, 0 deletions