Blame SOURCES/0002-dmioem-decode-HPE-UEFI-type-219-Misc-Features.patch

60918b
From 2ba4fab210e23cc97db57217af9a6f3b35a9b666 Mon Sep 17 00:00:00 2001
60918b
From: Jerry Hoemann <jerry.hoemann@hpe.com>
60918b
Date: Wed, 11 Apr 2018 14:33:20 +0200
60918b
Subject: [PATCH 2/3] dmioem: decode HPE UEFI type 219 Misc Features
60918b
60918b
The incorrect "Misc Feature" bit in type 219 table was being used to
60918b
identify that the platform is capable of booting with UEFI.
60918b
60918b
For corresponding kernel change please see:
60918b
60918b
	commit(c42cbe41727a)
60918b
60918b
in linux.
60918b
60918b
Signed-off-by: Jerry Hoemann <jerry.hoemann@hpe.com>
60918b
Signed-off-by: Jean Delvare <jdelvare@suse.de>
60918b
---
60918b
 dmioem.c | 2 +-
60918b
 1 file changed, 1 insertion(+), 1 deletion(-)
60918b
60918b
diff --git a/dmioem.c b/dmioem.c
60918b
index 8a72ac9..1742330 100644
60918b
--- a/dmioem.c
60918b
+++ b/dmioem.c
60918b
@@ -268,7 +268,7 @@ static int dmi_decode_hp(const struct dmi_header *h)
60918b
 			feat = DWORD(data + 0x10);
60918b
 			printf("\tMisc. Features: 0x%08x\n", feat);
60918b
 			printf("\t\tiCRU: %s\n", feat & 0x0001 ? "Yes" : "No");
60918b
-			printf("\t\tUEFI: %s\n", feat & 0x0408 ? "Yes" : "No");
60918b
+			printf("\t\tUEFI: %s\n", feat & 0x1400 ? "Yes" : "No");
60918b
 			break;
60918b
 
60918b
 		default:
60918b
-- 
60918b
2.9.5
60918b