From c74b53fffd7f7f938f5695ecb58c099985a47fa3 Mon Sep 17 00:00:00 2001 From: Kyösti Mälkki Date: Tue, 26 May 2015 15:38:58 +0300 Subject: AGESA: Reduce SPI use by 24kB for S3 support MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit There is no need to backup VolatileStorage in SPI flash at all. At the time we need it, we have CBMEM available. Change-Id: If0ca57b314140a833d6d59fe9e236e07816f05a4 Signed-off-by: Kyösti Mälkki Reviewed-on: http://review.coreboot.org/10318 Tested-by: build bot (Jenkins) Reviewed-by: Paul Menzel Reviewed-by: Aaron Durbin Reviewed-by: Edward O'Callaghan --- src/cpu/amd/agesa/heapmanager.c | 1 - 1 file changed, 1 deletion(-) (limited to 'src/cpu') diff --git a/src/cpu/amd/agesa/heapmanager.c b/src/cpu/amd/agesa/heapmanager.c index 52a4e502b0..eeff0a408d 100644 --- a/src/cpu/amd/agesa/heapmanager.c +++ b/src/cpu/amd/agesa/heapmanager.c @@ -49,7 +49,6 @@ void EmptyHeap(void) void ResumeHeap(void **heap, size_t *len) { void *base = GetHeapBase(); - memset(base, 0, BIOS_HEAP_SIZE); *heap = base; *len = BIOS_HEAP_SIZE; } -- cgit v1.2.3