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

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