diff options
author | Marshall Dawson <marshalldawson3rd@gmail.com> | 2018-01-30 15:28:14 -0700 |
---|---|---|
committer | Martin Roth <martinroth@google.com> | 2018-02-12 16:59:58 +0000 |
commit | 52f5cdce17f6ef4e37984e098d186cefe3950eb4 (patch) | |
tree | a45e9a7fbfae3632652036612a5de4b00eba0ad3 /src/soc/amd/common/block/s3/Makefile.inc | |
parent | 047b23fc31e069c0cb372748e980da194ad59b95 (diff) |
soc/amd/common: Add S3 supporting functions
Add functions that the wrapper will call to get and save the S3 data.
The wrapper requires two types of data saved:
* Non-volatile: Information that is the minimum required for bringing
the DRAM controller back online. This change uses the common
mrc_cache driver to manage the storage
* Volatile: May be stored in DRAM; information required to complete
the system restoration process.
TEST=Suspend/Resume Kahlee with complete S3 patch stack
BUG=b:69614064
Change-Id: Ie60162ea10f053393bc84e927dbd80c9279e6b63
Signed-off-by: Marshall Dawson <marshalldawson3rd@gmail.com>
Reviewed-on: https://review.coreboot.org/22727
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Martin Roth <martinroth@google.com>
Diffstat (limited to 'src/soc/amd/common/block/s3/Makefile.inc')
-rw-r--r-- | src/soc/amd/common/block/s3/Makefile.inc | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/soc/amd/common/block/s3/Makefile.inc b/src/soc/amd/common/block/s3/Makefile.inc index f3dd97072a..7d950b0b3a 100644 --- a/src/soc/amd/common/block/s3/Makefile.inc +++ b/src/soc/amd/common/block/s3/Makefile.inc @@ -1,3 +1,6 @@ ifeq ($(CONFIG_SOC_AMD_COMMON_BLOCK_S3),y) +romstage-$(CONFIG_HAVE_ACPI_RESUME) += s3_resume.c +ramstage-$(CONFIG_HAVE_ACPI_RESUME) += s3_resume.c + endif |