vc/amd/00670F00: Introduce S3FinalRestore helper
The Arch2008 spec describes an AmdS3FinalRestore Entry Point that coreboot has been missing. Add the helper function that can call into the blob to execute this. BUG=b:69614064 Change-Id: Ic72feb0406cd1d0d5c23e391c2464e12c9e10007 Signed-off-by: Marshall Dawson <marshalldawson3rd@gmail.com> Reviewed-on: https://review.coreboot.org/23442 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Kyösti Mälkki <kyosti.malkki@gmail.com> Reviewed-by: Martin Roth <martinroth@google.com>
This commit is contained in:
committed by
Martin Roth
parent
dd2c7b12bb
commit
e71745bdf9
@ -209,6 +209,20 @@ AmdS3LateRestore (
|
|||||||
return Dispatcher(S3LateParams);
|
return Dispatcher(S3LateParams);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**********************************************************************
|
||||||
|
* Interface call: AmdS3FinalRestore
|
||||||
|
**********************************************************************/
|
||||||
|
AGESA_STATUS
|
||||||
|
AmdS3FinalRestore (
|
||||||
|
IN OUT AMD_S3FINAL_PARAMS *S3FinalParams
|
||||||
|
)
|
||||||
|
{
|
||||||
|
MODULE_ENTRY Dispatcher = agesa_get_dispatcher();
|
||||||
|
S3FinalParams->StdHeader.Func = AMD_S3FINAL_RESTORE;
|
||||||
|
if (!Dispatcher) return AGESA_UNSUPPORTED;
|
||||||
|
return Dispatcher(S3FinalParams);
|
||||||
|
}
|
||||||
|
|
||||||
/**********************************************************************
|
/**********************************************************************
|
||||||
* Interface call: AmdInitRtb
|
* Interface call: AmdInitRtb
|
||||||
**********************************************************************/
|
**********************************************************************/
|
||||||
|
Reference in New Issue
Block a user