[edk2-devel] [PATCH] ShellPkg/SmbiosView: Add DDR5 support

Gao, Zhichao posted 1 patch 3 years, 6 months ago
Failed in applying to current master (apply log)
.../UefiShellDebug1CommandsLib/SmbiosView/QueryTable.c    | 8 ++++++++
1 file changed, 8 insertions(+)
[edk2-devel] [PATCH] ShellPkg/SmbiosView: Add DDR5 support
Posted by Gao, Zhichao 3 years, 6 months ago
REF: https://bugzilla.tianocore.org/show_bug.cgi?id=2352

Refer to SMBIOS 3.4 spec, add new memory device type - DDR5
and LPDDR5 support for the shell command "smbiosview".

Cc: Ray Ni <ray.ni@intel.com>
Signed-off-by: Zhichao Gao <zhichao.gao@intel.com>
---
 .../UefiShellDebug1CommandsLib/SmbiosView/QueryTable.c    | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/ShellPkg/Library/UefiShellDebug1CommandsLib/SmbiosView/QueryTable.c b/ShellPkg/Library/UefiShellDebug1CommandsLib/SmbiosView/QueryTable.c
index b80e16d56a..17a2a89d51 100644
--- a/ShellPkg/Library/UefiShellDebug1CommandsLib/SmbiosView/QueryTable.c
+++ b/ShellPkg/Library/UefiShellDebug1CommandsLib/SmbiosView/QueryTable.c
@@ -2550,6 +2550,14 @@ TABLE_ITEM  MemoryDeviceTypeTable[] = {
   {
     MemoryTypeHBM2,
     L"  HBM2 (High Bandwidth Memory Generation 2)"
+  },
+  {
+    MemoryTypeDdr5,
+    L"  DDR5"
+  },
+  {
+    MemoryTypeLpddr5,
+    L"  LPDDR5"
   }
 };
 
-- 
2.21.0.windows.1



-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.
View/Reply Online (#66114): https://edk2.groups.io/g/devel/message/66114
Mute This Topic: https://groups.io/mt/77452261/1787277
Group Owner: devel+owner@edk2.groups.io
Unsubscribe: https://edk2.groups.io/g/devel/unsub [importer@patchew.org]
-=-=-=-=-=-=-=-=-=-=-=-


Re: [edk2-devel] [PATCH] ShellPkg/SmbiosView: Add DDR5 support
Posted by Ni, Ray 3 years, 6 months ago
Reviewed-by: Ray Ni <ray.ni@intel.com>

> -----Original Message-----
> From: Gao, Zhichao <zhichao.gao@intel.com>
> Sent: Monday, October 12, 2020 9:21 AM
> To: devel@edk2.groups.io
> Cc: Ni, Ray <ray.ni@intel.com>
> Subject: [PATCH] ShellPkg/SmbiosView: Add DDR5 support
> 
> REF: https://bugzilla.tianocore.org/show_bug.cgi?id=2352
> 
> Refer to SMBIOS 3.4 spec, add new memory device type - DDR5
> and LPDDR5 support for the shell command "smbiosview".
> 
> Cc: Ray Ni <ray.ni@intel.com>
> Signed-off-by: Zhichao Gao <zhichao.gao@intel.com>
> ---
>  .../UefiShellDebug1CommandsLib/SmbiosView/QueryTable.c    | 8 ++++++++
>  1 file changed, 8 insertions(+)
> 
> diff --git
> a/ShellPkg/Library/UefiShellDebug1CommandsLib/SmbiosView/QueryTable.c
> b/ShellPkg/Library/UefiShellDebug1CommandsLib/SmbiosView/QueryTable.c
> index b80e16d56a..17a2a89d51 100644
> ---
> a/ShellPkg/Library/UefiShellDebug1CommandsLib/SmbiosView/QueryTable.c
> +++
> b/ShellPkg/Library/UefiShellDebug1CommandsLib/SmbiosView/QueryTable.c
> @@ -2550,6 +2550,14 @@ TABLE_ITEM  MemoryDeviceTypeTable[] = {
>    {
>      MemoryTypeHBM2,
>      L"  HBM2 (High Bandwidth Memory Generation 2)"
> +  },
> +  {
> +    MemoryTypeDdr5,
> +    L"  DDR5"
> +  },
> +  {
> +    MemoryTypeLpddr5,
> +    L"  LPDDR5"
>    }
>  };
> 
> --
> 2.21.0.windows.1



-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.
View/Reply Online (#66117): https://edk2.groups.io/g/devel/message/66117
Mute This Topic: https://groups.io/mt/77452261/1787277
Group Owner: devel+owner@edk2.groups.io
Unsubscribe: https://edk2.groups.io/g/devel/unsub [importer@patchew.org]
-=-=-=-=-=-=-=-=-=-=-=-