AGESA: Refactor S3 support functions
commit424c63950bedc76020a0861ee85c19bf26eb4c6a
authorKyösti Mälkki <kyosti.malkki@gmail.com>
Wed, 29 Mar 2017 12:53:54 +0000 (29 15:53 +0300)
committerKyösti Mälkki <kyosti.malkki@gmail.com>
Tue, 4 Apr 2017 00:23:39 +0000 (4 02:23 +0200)
tree2ed155d910d0645e432c552acdad27e8096f7004
parent85782b21527b54ae5ac496bf27c1416e4d6aae68
AGESA: Refactor S3 support functions

Producer and consumer of these buffers now appear in same file.
Also add test for uninitialized NonVolatileStorage in SPI.

Change-Id: Ibbf6581a0bf1d4bffda870fc055721627b538b92
Signed-off-by: Kyösti Mälkki <kyosti.malkki@gmail.com>
Reviewed-on: https://review.coreboot.org/19037
Tested-by: build bot (Jenkins)
Reviewed-by: Martin Roth <martinroth@google.com>
src/cpu/amd/agesa/heapmanager.c
src/northbridge/amd/agesa/agesa_helper.h
src/northbridge/amd/agesa/oem_s3.c