Add memory media property to dimm interface
Add memory media property from SMBIOS Type 17 fields.
Tested:
Successful build and verified changes in
server.hpp and server.cpp.
Signed-off-by: Nirmal Patel <nirmal.patel@intel.com>
Change-Id: I2b83c7ab8a5a628bcc3097c82bed3f925fd5388d
diff --git a/xyz/openbmc_project/Inventory/Item/Dimm.interface.yaml b/xyz/openbmc_project/Inventory/Item/Dimm.interface.yaml
index 0244a44..ff24340 100644
--- a/xyz/openbmc_project/Inventory/Item/Dimm.interface.yaml
+++ b/xyz/openbmc_project/Inventory/Item/Dimm.interface.yaml
@@ -61,6 +61,11 @@
type: array[uint16]
description: >
Speeds supported by this memory in megatransfers.
+ - name: MemoryMedia
+ type: enum[self.MemoryTech]
+ default: Unknown
+ description: >
+ Memory Technology of this memory.
enumerations:
- name: Ecc
@@ -79,11 +84,17 @@
- name: AddressParity
description: >
Address parity errors can be corrected.
- - name: Type
+ - name: MemoryTech
description: >
This property shall contain the type ofmemory that this Resource
represents.
values:
+ - name: Other
+ description: >
+ Some devices which are not defined in SMBIOS table.
+ - name: Unknown
+ description: >
+ Unknown device.
- name: DRAM
description: >
The memory module is comprised of volatile memory.