]> git.proxmox.com Git - mirror_edk2.git/blobdiff - UnixPkg/Library/UnixBdsLib/BdsPlatform.c
Remove code that fills in the FirmwareVendor and FirmwareRevision in the EFI System...
[mirror_edk2.git] / UnixPkg / Library / UnixBdsLib / BdsPlatform.c
index bac2cfd6cc57ce579cec157e9de3a74d9c944ab6..d33046e99ff19dcf179b401eeb5369b42b07c63a 100644 (file)
@@ -22,7 +22,6 @@ Abstract:
 \r
 #include "BdsPlatform.h"\r
 \r
-CHAR16  mFirmwareVendor[] = L"TianoCore.org";\r
 UNIX_SYSTEM_CONFIGURATION mSystemConfigData;\r
 \r
 VOID\r
@@ -85,22 +84,6 @@ Returns:
 \r
 --*/\r
 {\r
-  //\r
-  // set firmwarevendor, here can be IBV/OEM customize\r
-  //\r
-  gST->FirmwareVendor = AllocateRuntimeCopyPool (\r
-                          sizeof (mFirmwareVendor),\r
-                          &mFirmwareVendor\r
-                          );\r
-  ASSERT (gST->FirmwareVendor != NULL);\r
-\r
-  gST->FirmwareRevision = 0;\r
-\r
-  //\r
-  // Fixup Tasble CRC after we updated Firmware Vendor and Revision\r
-  //\r
-  gBS->CalculateCrc32 ((VOID *) gST, sizeof (EFI_SYSTEM_TABLE), &gST->Hdr.CRC32);\r
-\r
   SetupVariableInit ();\r
 }\r
 \r