From 951d3095d8f1bea828b1dbb07c053ce124f9a369 Mon Sep 17 00:00:00 2001 From: mdkinney Date: Thu, 9 Jul 2009 23:59:35 +0000 Subject: Remove code that fills in the FirmwareVendor and FirmwareRevision in the EFI System Table and depend on BdsDxe in the IntelFrameworkModulePkg to do this instead. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8850 6f19259b-4bc3-4df7-8a09-765794883524 --- DuetPkg/Library/DuetBdsLib/BdsPlatform.c | 17 ----------------- DuetPkg/Library/DuetBdsLib/PlatformBds.inf | 1 - 2 files changed, 18 deletions(-) (limited to 'DuetPkg') diff --git a/DuetPkg/Library/DuetBdsLib/BdsPlatform.c b/DuetPkg/Library/DuetBdsLib/BdsPlatform.c index d063faa..acf6abb 100644 --- a/DuetPkg/Library/DuetBdsLib/BdsPlatform.c +++ b/DuetPkg/Library/DuetBdsLib/BdsPlatform.c @@ -24,7 +24,6 @@ Abstract: #define IS_PCI_ISA_PDECODE(_p) IS_CLASS3 (_p, PCI_CLASS_BRIDGE, PCI_CLASS_BRIDGE_ISA_PDECODE, 0) -CHAR16 mFirmwareVendor[] = L"TianoCore.org"; extern BOOLEAN gConnectAllHappened; extern USB_CLASS_FORMAT_DEVICE_PATH gUsbClassKeyboardDevicePath; @@ -414,22 +413,6 @@ Returns: --*/ { - // - // set firmwarevendor, here can be IBV/OEM customize - // - gST->FirmwareVendor = AllocateRuntimeCopyPool ( - sizeof (mFirmwareVendor), - &mFirmwareVendor - ); - ASSERT (gST->FirmwareVendor != NULL); - - gST->FirmwareRevision = 0; - - // - // Fixup Tasble CRC after we updated Firmware Vendor and Revision - // - gBS->CalculateCrc32 ((VOID *) gST, sizeof (EFI_SYSTEM_TABLE), &gST->Hdr.CRC32); - GetSystemTablesFromHob (); UpdateMemoryMap (); diff --git a/DuetPkg/Library/DuetBdsLib/PlatformBds.inf b/DuetPkg/Library/DuetBdsLib/PlatformBds.inf index a2f762c..1674671 100644 --- a/DuetPkg/Library/DuetBdsLib/PlatformBds.inf +++ b/DuetPkg/Library/DuetBdsLib/PlatformBds.inf @@ -54,7 +54,6 @@ DevicePathLib [Guids] - gEfiDefaultBmpLogoGuid gEfiGlobalVariableGuid gEfiPciExpressBaseAddressGuid gEfiAcpi20TableGuid -- cgit v1.1