summaryrefslogtreecommitdiff
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.inc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/southbridge/amd/Makefile.inc b/src/southbridge/amd/Makefile.inc
index 970971518a..d2b9b653e5 100644
--- a/src/southbridge/amd/Makefile.inc
+++ b/src/southbridge/amd/Makefile.inc
@@ -20,14 +20,14 @@ ifeq ($(CONFIG_HAVE_ACPI_RESUME), y)
ifeq ($(CONFIG_CPU_AMD_AGESA), y)
$(obj)/s3.rom:
- echo " S3 NVRAM 0xffff0000 (S3 storage area)"
+ echo " S3 NVRAM $(CONFIG_S3_VOLATILE_POS) (S3 storage area)"
# force C locale, so cygwin awk doesn't try to interpret the 0xff below as UTF-8 (or worse)
LC_ALL=C awk 'BEGIN {for (i=0; i<32768; i++) {printf "%c", 255}}' > $@.tmp
mv $@.tmp $@
cbfs-files-y += s3nv
s3nv-file := $(obj)/s3.rom
-s3nv-position := 0xffff0000
+s3nv-position := $(CONFIG_S3_VOLATILE_POS)
s3nv-type := raw
endif # CONFIG_CPU_AMD_AGESA == y