summaryrefslogtreecommitdiff
diff options
authorJerry Hoemann <jerry.hoemann@hpe.com>2018-04-11 14:33:20 +0200
committerJean Delvare <jdelvare@suse.de>2018-04-11 14:33:20 +0200
commit2ba4fab210e23cc97db57217af9a6f3b35a9b666 (patch)
tree1c12f3d75fb0b8c9707ca2a3bcdebeaec0ff1d61
parent174387405e98cd94c627832ae23abcb9be7e5623 (diff)
downloaddmidecode-2ba4fab210e23cc97db57217af9a6f3b35a9b666.tar.gz
dmioem: decode HPE UEFI type 219 Misc Features
The incorrect "Misc Feature" bit in type 219 table was being used to identify that the platform is capable of booting with UEFI. For corresponding kernel change please see: commit(c42cbe41727a) in linux. Signed-off-by: Jerry Hoemann <jerry.hoemann@hpe.com> Signed-off-by: Jean Delvare <jdelvare@suse.de>
-rw-r--r--dmioem.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/dmioem.c b/dmioem.c
index 8a72ac9..1742330 100644
--- a/dmioem.c
+++ b/dmioem.c
@@ -268,7 +268,7 @@ static int dmi_decode_hp(const struct dmi_header *h)
feat = DWORD(data + 0x10);
printf("\tMisc. Features: 0x%08x\n", feat);
printf("\t\tiCRU: %s\n", feat & 0x0001 ? "Yes" : "No");
- printf("\t\tUEFI: %s\n", feat & 0x0408 ? "Yes" : "No");
+ printf("\t\tUEFI: %s\n", feat & 0x1400 ? "Yes" : "No");
break;
default:
close