aboutsummaryrefslogtreecommitdiff
path: root/src/southbridge/amd/Makefile.inc
diff options
context:
space:
mode:
Diffstat (limited to 'src/southbridge/amd/Makefile.inc')
-rw-r--r--src/southbridge/amd/Makefile.inc11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/southbridge/amd/Makefile.inc b/src/southbridge/amd/Makefile.inc
index 65e4729b14..2cdca290bf 100644
--- a/src/southbridge/amd/Makefile.inc
+++ b/src/southbridge/amd/Makefile.inc
@@ -15,3 +15,14 @@ subdirs-$(CONFIG_SOUTHBRIDGE_AMD_CIMX_SB700) += cimx
subdirs-$(CONFIG_SOUTHBRIDGE_AMD_CIMX_SB800) += cimx
subdirs-$(CONFIG_SOUTHBRIDGE_AMD_CIMX_SB900) += cimx
+$(obj)/s3.rom:
+ echo " S3 NVRAM 0xffff0000 (S3 storage area)"
+ echo -ne '\xFF' > $@
+ for ((i=0;i<20479;i++)) do echo -ne '\xFF' >> $@ ; done
+
+ifeq ($(CONFIG_HAVE_ACPI_RESUME), y)
+cbfs-files-y += s3nv
+s3nv-file := $(obj)/s3.rom
+s3nv-position := 0xffff0000
+s3nv-type := raw
+endif