]> git.proxmox.com Git - mirror_edk2.git/blobdiff - Vlv2TbltDevicePkg/Library/PlatformFspLib/PlatformFspLib.c
edk2: Remove packages moved to edk2-platforms
[mirror_edk2.git] / Vlv2TbltDevicePkg / Library / PlatformFspLib / PlatformFspLib.c
diff --git a/Vlv2TbltDevicePkg/Library/PlatformFspLib/PlatformFspLib.c b/Vlv2TbltDevicePkg/Library/PlatformFspLib/PlatformFspLib.c
deleted file mode 100644 (file)
index b99c3b0..0000000
+++ /dev/null
@@ -1,44 +0,0 @@
-/** @file\r
-\r
-  Copyright (c) 2004  - 2014, Intel Corporation. All rights reserved.<BR>\r
-                                                                                   \r\r
-  SPDX-License-Identifier: BSD-2-Clause-Patent\r
-\r
-                                                                                   \r\r
-\r
-**/\r
-#include "PiPei.h"\r
-#include <Library/HobLib.h>\r
-#include <Library/BaseLib.h>\r
-#include <Library/DebugLib.h>\r
-#include <Guid/MemoryConfigData.h>\r
-#include <PlatformFspLib.h>\r
-\r
-EFI_STATUS\r
-PlatformHobCreateFromFsp (\r
-  IN CONST EFI_PEI_SERVICES     **PeiServices,\r
-  VOID                          *HobList\r
-  )\r
-{\r
-  VOID       *HobData;\r
-  VOID       *NewHobData;\r
-  UINTN      DataSize;\r
-\r
-  //\r
-  // Other hob, todo: put this into FspWrapPlatformLib\r
-  //\r
-  if ((HobList = GetNextGuidHob (&gEfiMemoryConfigDataGuid, HobList)) != NULL) {\r
-    HobData = GET_GUID_HOB_DATA (HobList);\r
-    DataSize = GET_GUID_HOB_DATA_SIZE(HobList);\r
-    DEBUG((EFI_D_ERROR, "gEfiMemoryConfigDataGuid Hob found: 0x%x.\n", DataSize));\r
-\r
-    NewHobData = BuildGuidHob (&gEfiMemoryConfigDataGuid, DataSize);\r
-    (*PeiServices)->CopyMem (\r
-                      NewHobData,\r
-                      HobData,\r
-                      DataSize\r
-                      );\r
-  }\r
-\r
-  return EFI_SUCCESS;\r
-}\r