AGESA: Move guard on S3 support functions
commit4d5321c9c465ce40a6a3a2bc1433c4214ce15862
authorKyösti Mälkki <kyosti.malkki@gmail.com>
Sun, 26 Mar 2017 02:07:32 +0000 (26 05:07 +0300)
committerKyösti Mälkki <kyosti.malkki@gmail.com>
Mon, 3 Apr 2017 04:49:51 +0000 (3 06:49 +0200)
treee7fecec7af3f7aaf89757845483ce7fa242204f1
parent4a6e00fd365bee06e2860f813c0fc05c5f4c22b9
AGESA: Move guard on S3 support functions

Only guard the parts that are problematic for romstage.

Also intention is to move AMD_S3LATE_RESTORE to ramstage in followup
work, it will need OemS3LateRestore.

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