Skip to content
Commit 58c41d28 authored by H. Peter Anvin's avatar H. Peter Anvin
Browse files

x86, intel_txt: Factor out the code for S3 setup



S3 sleep requires special setup in tboot.  However, the data
structures needed to do such setup are only available if
CONFIG_ACPI_SLEEP is enabled.  Abstract them out as much as possible,
so we can have a single tboot_setup_sleep() which either is a proper
implementation or a stub which simply calls BUG().

Signed-off-by: default avatarH. Peter Anvin <hpa@zytor.com>
Acked-by: default avatarShane Wang <shane.wang@intel.com>
Cc: Joseph Cihula <joseph.cihula@intel.com>
parent 81e2d7b3
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment