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