forked from pool/dmidecode
company name. - dmidecode-fix-tpm-device-firmware-version.patch: Fix firmware version of TPM device. - dmioem-fix-hpe-type-219-uefi-flag.patch: Fix the reporting of HP/HPE UEFI feature. OBS-URL: https://build.opensuse.org/package/show/Base:System/dmidecode?expand=0&rev=42
33 lines
1.0 KiB
Diff
33 lines
1.0 KiB
Diff
From: Jerry Hoemann <jerry.hoemann@hpe.com>
|
|
Date: Wed, 11 Apr 2018 14:33:20 +0200
|
|
Subject: dmioem: decode HPE UEFI type 219 Misc Features
|
|
Patch-mainline: yes
|
|
Git-commit: 2ba4fab210e23cc97db57217af9a6f3b35a9b666
|
|
|
|
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>
|
|
---
|
|
dmioem.c | 2 +-
|
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
|
--- dmidecode-3.1.orig/dmioem.c 2018-04-17 11:52:32.405520323 +0200
|
|
+++ dmidecode-3.1/dmioem.c 2018-04-17 11:52:41.919641237 +0200
|
|
@@ -226,7 +226,7 @@ static int dmi_decode_hp(const struct dm
|
|
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:
|