summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Roth <martinroth@google.com>2017-10-16 16:15:55 -0600
committerMartin Roth <martinroth@google.com>2017-10-20 17:49:02 +0000
commitba142c5ef07dcea4e41b98867dd56c4d76744788 (patch)
treef1cdab679cd2b0b2c9a136c1b9a9971560265c97
parent296004315507e75e912276fb6928093b6d6d3ef8 (diff)
downloadcoreboot-ba142c5ef07dcea4e41b98867dd56c4d76744788.tar.xz
vendorcode/amd/pi/00670F00: Remove S3 restore functions
These functions are not currently used, and were not in the original AGESA source code drop. The structs involved here were marked "private" in AGESA headerfiles and should not be exposed. They could be handled as anonymous structs and required allocation size is communicated by other means. BUG=b:64766233 TEST=Build in cros tree and upstream coreboot, with old headers and updated headers. Change-Id: Iec346205470150257fd9d09131d54231b321740b Signed-off-by: Martin Roth <martinroth@google.com> Reviewed-on: https://review.coreboot.org/22061 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Aaron Durbin <adurbin@chromium.org> Reviewed-by: Kyösti Mälkki <kyosti.malkki@gmail.com>
-rw-r--r--src/vendorcode/amd/pi/00670F00/binaryPI/AGESA.c33
1 files changed, 0 insertions, 33 deletions
diff --git a/src/vendorcode/amd/pi/00670F00/binaryPI/AGESA.c b/src/vendorcode/amd/pi/00670F00/binaryPI/AGESA.c
index a4eef5ad86..5a41897ff2 100644
--- a/src/vendorcode/amd/pi/00670F00/binaryPI/AGESA.c
+++ b/src/vendorcode/amd/pi/00670F00/binaryPI/AGESA.c
@@ -367,36 +367,3 @@ AmdGet2DDataEye (
Dispatcher = module->ModuleDispatcher;
return Dispatcher(AmdGetDataEye);
}
-
-/**********************************************************************
- * FCH Functions
- **********************************************************************/
-
-VOID FchInitS3LateRestore (IN FCH_DATA_BLOCK *FchDataPtr);
-VOID FchInitS3EarlyRestore (IN FCH_DATA_BLOCK *FchDataPtr);
-
-VOID
-FchInitS3EarlyRestore (
- IN FCH_DATA_BLOCK *FchDataPtr
- )
-{
- MODULE_ENTRY Dispatcher = NULL;
- const AMD_MODULE_HEADER* module = agesawrapper_locate_module(ModuleIdentifier);
- FchDataPtr->StdHeader->Func = FCH_INIT_S3_EARLY_RESTORE;
- if (!module) return;
- Dispatcher = module->ModuleDispatcher;
- Dispatcher(FchDataPtr);
-}
-
-VOID
-FchInitS3LateRestore (
- IN FCH_DATA_BLOCK *FchDataPtr
- )
-{
- MODULE_ENTRY Dispatcher = NULL;
- const AMD_MODULE_HEADER* module = agesawrapper_locate_module(ModuleIdentifier);
- FchDataPtr->StdHeader->Func = FCH_INIT_S3_LATE_RESTORE;
- if (!module) return;
- Dispatcher = module->ModuleDispatcher;
- Dispatcher(FchDataPtr);
-}