summaryrefslogtreecommitdiffhomepage
path: root/Private/FirmwareKit
diff options
context:
space:
mode:
authorAmlal El Mahrouss <amlal.elmahrouss@icloud.com>2024-04-25 12:12:19 +0200
committerAmlal El Mahrouss <amlal.elmahrouss@icloud.com>2024-04-25 12:12:37 +0200
commitd3c9b5287789534340146ffdb696f67aa8b7308d (patch)
tree58d08a0891e216fde95e73ba0e42fa7c2b27a8d0 /Private/FirmwareKit
parent8b46ad6f40df85c1939196f0f75e46d212193756 (diff)
MHR-16: Format, and revert previous staged commit.
Signed-off-by: Amlal El Mahrouss <amlal.elmahrouss@icloud.com>
Diffstat (limited to 'Private/FirmwareKit')
-rw-r--r--Private/FirmwareKit/EFI/API.hxx7
1 files changed, 0 insertions, 7 deletions
diff --git a/Private/FirmwareKit/EFI/API.hxx b/Private/FirmwareKit/EFI/API.hxx
index 093d10b3..0e2ef200 100644
--- a/Private/FirmwareKit/EFI/API.hxx
+++ b/Private/FirmwareKit/EFI/API.hxx
@@ -121,13 +121,6 @@ inline void InitEFI(EfiSystemTable *SystemTable) noexcept {
ST->BootServices->SetWatchdogTimer(0, 0, 0, nullptr);
ST->ConOut->EnableCursor(ST->ConOut, false);
-
- if (ST->FirmwareVendor[0] != '@' ||
- ST->FirmwareVendor[1] != 'M' ||
- ST->FirmwareVendor[1] != 'H' ||
- ST->FirmwareVendor[1] != 'R') {
- EFI::ThrowError(L"Unsupported Firmware", L"Firmware is unsupported, please build OVMF by yourself.");
- }
}
#ifdef __BOOTLOADER__