public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
* [Patch][edk2-platforms/devel-MinnowBoardMax-UDK2017] Fix the D1 stepping issue for Minnowboard Turbot
@ 2018-11-14  5:44 Sun, Zailiang
  0 siblings, 0 replies; only message in thread
From: Sun, Zailiang @ 2018-11-14  5:44 UTC (permalink / raw)
  To: edk2-devel; +Cc: Zailiang Sun, David Wei

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 <zailiang.sun@intel.com>
CC: David Wei <david.wei@intel.com>
---
 .../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



^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2018-11-14  7:22 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-11-14  5:44 [Patch][edk2-platforms/devel-MinnowBoardMax-UDK2017] Fix the D1 stepping issue for Minnowboard Turbot Sun, Zailiang

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox