memory.hpp: Add High Bandwidth Memory v3 (HBM3)
This follows the addition in phosphor-dbus-interfaces.
Signed-off-by: Tyson Tuckerbear <ttucker@google.com>
Change-Id: I8a448b8fa02b7d657d55e1cc35506cd9ca1d5961
diff --git a/redfish-core/lib/memory.hpp b/redfish-core/lib/memory.hpp
index dcd017d..feeb102 100644
--- a/redfish-core/lib/memory.hpp
+++ b/redfish-core/lib/memory.hpp
@@ -119,6 +119,10 @@
{
return "HBM2";
}
+ if (memoryType == "xyz.openbmc_project.Inventory.Item.Dimm.DeviceType.HBM3")
+ {
+ return "HBM3";
+ }
// This is values like Other or Unknown
// Also D-Bus values:
// DRAM