diff options
author | Richard Spiegel <richard.spiegel@amd.corp-partner.google.com> | 2018-08-14 13:23:16 -0700 |
---|---|---|
committer | Martin Roth <martinroth@google.com> | 2018-08-15 18:33:46 +0000 |
commit | 1d0de7874d0227a3467ad562c8ca06fe8d09cc12 (patch) | |
tree | a25f675c09b7963b4d85517a1a4b106b468278c1 | |
parent | 0d9b441385f0da1bc716010c6d5e4a88c0172ac8 (diff) | |
download | coreboot-1d0de7874d0227a3467ad562c8ca06fe8d09cc12.tar.xz |
vendorcode/amd/pi/00670F00/binaryPI/AGESA.c: Remove VENDORCODE_FULL_SUPPORT
Remove VENDORCODE_FULL_SUPPORT from file above mentioned file, in
preparation to full removal of VENDORCODE_FULL_SUPPORT functions.
BUG=b:112578491
TEST=none, VENDORCODE_FULL_SUPPORT already not used.
Change-Id: Id91e76282509743070e34c02082d3f3f46a14059
Signed-off-by: Richard Spiegel <richard.spiegel@silverbackltd.com>
Reviewed-on: https://review.coreboot.org/28090
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Martin Roth <martinroth@google.com>
-rw-r--r-- | src/vendorcode/amd/pi/00670F00/binaryPI/AGESA.c | 99 |
1 files changed, 0 insertions, 99 deletions
diff --git a/src/vendorcode/amd/pi/00670F00/binaryPI/AGESA.c b/src/vendorcode/amd/pi/00670F00/binaryPI/AGESA.c index ea55343a93..c42df59bd4 100644 --- a/src/vendorcode/amd/pi/00670F00/binaryPI/AGESA.c +++ b/src/vendorcode/amd/pi/00670F00/binaryPI/AGESA.c @@ -157,22 +157,6 @@ AmdInitLate ( return Dispatcher(LateParams); } -#if IS_ENABLED(CONFIG_VENDORCODE_FULL_SUPPORT) -/********************************************************************** - * Interface call: AmdInitRecovery - **********************************************************************/ -AGESA_STATUS -AmdInitRecovery ( - IN OUT AMD_RECOVERY_PARAMS *RecoveryParams - ) -{ - MODULE_ENTRY Dispatcher = agesa_get_dispatcher(); - RecoveryParams->StdHeader.Func = AMD_INIT_RECOVERY; - if (!Dispatcher) return AGESA_UNSUPPORTED; - return Dispatcher(RecoveryParams); -} -#endif /* IS_ENABLED(CONFIG_VENDORCODE_FULL_SUPPORT) */ - /********************************************************************** * Interface call: AmdInitResume **********************************************************************/ @@ -243,50 +227,6 @@ AmdLateRunApTask ( return Dispatcher(AmdApExeParams); } -#if IS_ENABLED(CONFIG_VENDORCODE_FULL_SUPPORT) -/********************************************************************** - * Interface service call: AmdGetApicId - **********************************************************************/ -AGESA_STATUS -AmdGetApicId ( - IN OUT AMD_APIC_PARAMS *AmdParamApic -) -{ - MODULE_ENTRY Dispatcher = agesa_get_dispatcher(); - AmdParamApic->StdHeader.Func = AMD_GET_APIC_ID; - if (!Dispatcher) return AGESA_UNSUPPORTED; - return Dispatcher(AmdParamApic); -} - -/********************************************************************** - * Interface service call: AmdGetPciAddress - **********************************************************************/ -AGESA_STATUS -AmdGetPciAddress ( - IN OUT AMD_GET_PCI_PARAMS *AmdParamGetPci -) -{ - MODULE_ENTRY Dispatcher = agesa_get_dispatcher(); - AmdParamGetPci->StdHeader.Func = AMD_GET_PCI_ADDRESS; - if (!Dispatcher) return AGESA_UNSUPPORTED; - return Dispatcher(AmdParamGetPci); -} - -/********************************************************************** - * Interface service call: AmdIdentifyCore - **********************************************************************/ -AGESA_STATUS -AmdIdentifyCore ( - IN OUT AMD_IDENTIFY_PARAMS *AmdParamIdentify -) -{ - MODULE_ENTRY Dispatcher = agesa_get_dispatcher(); - AmdParamIdentify->StdHeader.Func = AMD_IDENTIFY_CORE; - if (!Dispatcher) return AGESA_UNSUPPORTED; - return Dispatcher(AmdParamIdentify); -} -#endif /* IS_ENABLED(CONFIG_VENDORCODE_FULL_SUPPORT) */ - /********************************************************************** * Interface service call: AmdReadEventLog **********************************************************************/ @@ -300,42 +240,3 @@ AmdReadEventLog ( if (!Dispatcher) return AGESA_UNSUPPORTED; return Dispatcher(Event); } - -#if IS_ENABLED(CONFIG_VENDORCODE_FULL_SUPPORT) -/********************************************************************** - * Interface service call: AmdIdentifyDimm - **********************************************************************/ -AGESA_STATUS -AmdIdentifyDimm ( - IN OUT AMD_IDENTIFY_DIMM *AmdDimmIdentify -) -{ - MODULE_ENTRY Dispatcher = agesa_get_dispatcher(); - AmdDimmIdentify->StdHeader.Func = AMD_IDENTIFY_DIMMS; - if (!Dispatcher) return AGESA_UNSUPPORTED; - return Dispatcher(AmdDimmIdentify); -} - -AGESA_STATUS -AmdIdsRunApTaskLate ( - IN AP_EXE_PARAMS *AmdApExeParams - ) -{ - AmdApExeParams->StdHeader.Func = -1; - return AGESA_UNSUPPORTED; -} - -/********************************************************************** - * Interface service call: AmdGet2DDataEye - **********************************************************************/ -AGESA_STATUS -AmdGet2DDataEye ( - IN OUT AMD_GET_DATAEYE *AmdGetDataEye - ) -{ - MODULE_ENTRY Dispatcher = agesa_get_dispatcher(); - AmdGetDataEye->StdHeader.Func = AMD_GET_2D_DATA_EYE; - if (!Dispatcher) return AGESA_UNSUPPORTED; - return Dispatcher(AmdGetDataEye); -} -#endif /* IS_ENABLED(CONFIG_VENDORCODE_FULL_SUPPORT) */ |