aboutsummaryrefslogtreecommitdiff
path: root/src/vendorcode/amd/agesa/f15tn/Proc/IDS/Library/IdsLib.c
diff options
context:
space:
mode:
authorAngel Pons <th3fanbus@gmail.com>2020-07-08 00:26:55 +0200
committerAngel Pons <th3fanbus@gmail.com>2020-07-09 23:53:07 +0000
commitb9bdcaecc1ccf5b8b64daddbd48dff88573251cb (patch)
treeb6044b127c606c79e939b9aaff9f3ec60c06a082 /src/vendorcode/amd/agesa/f15tn/Proc/IDS/Library/IdsLib.c
parent82ab9ca72c6bf14ab41e145368b219f32e596456 (diff)
vc/amd/agesa/f15tn: Drop dead code
This code is not even being build-tested. Drop it before it grows moss. Change-Id: I9ceb37186e3622f2eac37393fa7ac5ced8efadf3 Signed-off-by: Angel Pons <th3fanbus@gmail.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/43258 Reviewed-by: Michael Niewöhner Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/vendorcode/amd/agesa/f15tn/Proc/IDS/Library/IdsLib.c')
-rw-r--r--src/vendorcode/amd/agesa/f15tn/Proc/IDS/Library/IdsLib.c32
1 files changed, 0 insertions, 32 deletions
diff --git a/src/vendorcode/amd/agesa/f15tn/Proc/IDS/Library/IdsLib.c b/src/vendorcode/amd/agesa/f15tn/Proc/IDS/Library/IdsLib.c
index 046d1826aa..5cb0cef54d 100644
--- a/src/vendorcode/amd/agesa/f15tn/Proc/IDS/Library/IdsLib.c
+++ b/src/vendorcode/amd/agesa/f15tn/Proc/IDS/Library/IdsLib.c
@@ -107,38 +107,6 @@ AmdGetIdsNvTable (
/**
*
- * Get IDS Override Image Base Address
- *
- * @param[in,out] IdsImageBase The Base Address of IDS Override Image.
- * @param[in,out] StdHeader The Pointer of Standard Header.
- *
- * @retval AGESA_SUCCESS Success to get the pointer of NV Table.
- * @retval AGESA_ERROR Fail to get the pointer of NV Table.
- *
- **/
-#if 0
-AGESA_STATUS
-AmdGetIdsImagebase (
- IN OUT UINT64 *IdsImageBase,
- IN OUT AMD_CONFIG_PARAMS *StdHeader
- )
-{
- AGESA_STATUS status;
- LOCATE_HEAP_PTR LocateHeapStructPtr;
- IDS_CONTROL_STRUCT *IdsCtrlPtr;
-
- LocateHeapStructPtr.BufferHandle = IDS_CONTROL_HANDLE;
- LocateHeapStructPtr.BufferPtr = NULL;
- status = HeapLocateBuffer (&LocateHeapStructPtr, StdHeader);
- if (status == AGESA_SUCCESS) {
- IdsCtrlPtr = (IDS_CONTROL_STRUCT *) LocateHeapStructPtr.BufferPtr;
- *IdsImageBase = IdsCtrlPtr->IdsImageBase;
- }
- return status;
-}
-#endif
-/**
- *
* Read IDS NV value in NV table.
*
* It searches the table until the Nv Id is found and return the NV value