diff options
author | Marshall Dawson <marshalldawson3rd@gmail.com> | 2017-12-04 15:28:10 -0700 |
---|---|---|
committer | Martin Roth <martinroth@google.com> | 2018-02-12 17:01:57 +0000 |
commit | c2f6da00f458f03dd19ee6256e959da4c26c987f (patch) | |
tree | 3e17982589695e77ac6d4edbe3b6a4f5fc17c7a3 /src/soc/amd/common/block/pi/amd_late_init.c | |
parent | e71745bdf92653271d335fe146eb1fac7c19dae9 (diff) |
soc/amd/common: Add S3 resume functions to wrapper
Add new functions that can execute InitRtb, InitResume, LateResume,
and FinalResume.
Note that the name AmdInitRtb supersedes the deprecated AmdS3Save.
TEST=Suspend/Resume Kahlee with complete S3 patch stack
BUG=b:69614064
Change-Id: I5c6a9c1a679a1c4d3f7d1d3b41a32efd0a2c2c01
Signed-off-by: Marshall Dawson <marshalldawson3rd@gmail.com>
Reviewed-on: https://review.coreboot.org/22730
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Martin Roth <martinroth@google.com>
Diffstat (limited to 'src/soc/amd/common/block/pi/amd_late_init.c')
-rw-r--r-- | src/soc/amd/common/block/pi/amd_late_init.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/soc/amd/common/block/pi/amd_late_init.c b/src/soc/amd/common/block/pi/amd_late_init.c index 3eb3674c09..3695ce4f51 100644 --- a/src/soc/amd/common/block/pi/amd_late_init.c +++ b/src/soc/amd/common/block/pi/amd_late_init.c @@ -33,7 +33,7 @@ static void agesawrapper_post_device(void *unused) if (!acpi_s3_resume_allowed()) return; - do_agesawrapper(agesawrapper_amdS3Save, "amdS3Save"); + do_agesawrapper(agesawrapper_amdinitrtb, "amdinitrtb"); } BOOT_STATE_INIT_ENTRY(BS_POST_DEVICE, BS_ON_EXIT, |