Since there are no ways to differentiate D0 and D1 stepping value by only checking CPUID, we use string "D0/D1" for boards with a D0 or D1 stepping value.
Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Zailiang Sun <[email protected]> CC: David Wei <[email protected]> --- .../SmBiosMiscDxe/MiscSystemManufacturerFunction.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Vlv2TbltDevicePkg/SmBiosMiscDxe/MiscSystemManufacturerFunction.c b/Vlv2TbltDevicePkg/SmBiosMiscDxe/MiscSystemManufacturerFunction.c index 726e9b2426..10dbabe777 100644 --- a/Vlv2TbltDevicePkg/SmBiosMiscDxe/MiscSystemManufacturerFunction.c +++ b/Vlv2TbltDevicePkg/SmBiosMiscDxe/MiscSystemManufacturerFunction.c @@ -294,11 +294,11 @@ if (Event != NULL) { DEBUG ((EFI_D_ERROR, "C0 Stepping Detected\n")); break; case PchD0: - UnicodeSPrint (Buffer, sizeof (Buffer),L"%s%s", PlatformNameBuffer, L"D0 PLATFORM"); + UnicodeSPrint (Buffer, sizeof (Buffer),L"%s%s", PlatformNameBuffer, L"D0/D1 PLATFORM"); HiiSetString(mHiiHandle,STRING_TOKEN(STR_MISC_SYSTEM_PRODUCT_NAME), Buffer, NULL); - UnicodeSPrint (Buffer, sizeof (Buffer),L"%s",L"D0"); + UnicodeSPrint (Buffer, sizeof (Buffer),L"%s",L"D0/D1"); HiiSetString(mHiiHandle,STRING_TOKEN(STR_MISC_SYSTEM_VERSION), Buffer, NULL); - DEBUG ((EFI_D_ERROR, "D0 Stepping Detected\n")); + DEBUG ((EFI_D_ERROR, "D0/D1 Stepping Detected\n")); break; default: DEBUG ((EFI_D_ERROR, "Unknow Stepping Detected\n")); -- 2.19.1.windows.1 _______________________________________________ edk2-devel mailing list [email protected] https://lists.01.org/mailman/listinfo/edk2-devel

