summaryrefslogtreecommitdiff
path: root/src/southbridge/amd/Makefile.inc
diff options
context:
space:
mode:
authorKyösti Mälkki <kyosti.malkki@gmail.com>2014-06-19 03:48:42 +0300
committerKyösti Mälkki <kyosti.malkki@gmail.com>2014-06-25 05:43:43 +0200
commit4f7cb87df2a4b2d1da6c1e759a3a69bc36626850 (patch)
treef9b5df18d7854c87008428af4c341e3651a80bf7 /src/southbridge/amd/Makefile.inc
parent207880cd1127acd6f5f0f2241d753aa6b1c39da0 (diff)
downloadcoreboot-4f7cb87df2a4b2d1da6c1e759a3a69bc36626850.tar.xz
AGESA: Move config parameters for non-volatile S3 data
These parameters are not specific to the southbridge device, but the implementation of S3 storage defined by CPU code. Change-Id: Ic341cc2b7669cf8e3e920c48473826ec03fc7d8d Signed-off-by: Kyösti Mälkki <kyosti.malkki@gmail.com> Reviewed-on: http://review.coreboot.org/6081 Tested-by: build bot (Jenkins) Reviewed-by: Patrick Georgi <patrick@georgi-clan.de>
Diffstat (limited to 'src/southbridge/amd/Makefile.inc')
-rw-r--r--src/southbridge/amd/Makefile.inc17
1 files changed, 0 insertions, 17 deletions
diff --git a/src/southbridge/amd/Makefile.inc b/src/southbridge/amd/Makefile.inc
index 9ec0171c4f..e2f3f9c422 100644
--- a/src/southbridge/amd/Makefile.inc
+++ b/src/southbridge/amd/Makefile.inc
@@ -16,20 +16,3 @@ subdirs-$(CONFIG_SOUTHBRIDGE_AMD_CIMX_SB800) += cimx
subdirs-$(CONFIG_SOUTHBRIDGE_AMD_CIMX_SB900) += cimx
subdirs-$(CONFIG_SOUTHBRIDGE_AMD_AGESA_HUDSON) += agesa
subdirs-$(CONFIG_SOUTHBRIDGE_AMD_AGESA_YANGTZE) += agesa
-
-ifeq ($(CONFIG_HAVE_ACPI_RESUME), y)
-ifeq ($(CONFIG_CPU_AMD_AGESA), y)
-
-$(obj)/coreboot_s3nv.rom: $(obj)/config.h
- echo " S3 NVRAM $(CONFIG_S3_DATA_POS) (S3 storage area)"
- # force C locale, so cygwin awk doesn't try to interpret the 0xff below as UTF-8 (or worse)
- printf %d $(CONFIG_S3_DATA_SIZE) | LC_ALL=C awk '{for (i=0; i<$$1; i++) {printf "%c", 255}}' > $@.tmp
- mv $@.tmp $@
-
-cbfs-files-y += s3nv
-s3nv-file := $(obj)/coreboot_s3nv.rom
-s3nv-position := $(CONFIG_S3_DATA_POS)
-s3nv-type := raw
-
-endif # CONFIG_CPU_AMD_AGESA == y
-endif # CONFIG_HAVE_ACPI_RESUME == y