Publish DRAM Manufacturer ID
The commit publishes DRAM manufacturer ID over D-Bus.
Dependent PDI commit:
https://gerrit.openbmc.org/c/openbmc/phosphor-dbus-interfaces/+/71554
Change-Id: I8acb8f311c83cfcbbd7cadc24e2e226f15824069
Signed-off-by: Sunny Srivastava <sunnsr25@in.ibm.com>
diff --git a/vpd-parser/isdimm_vpd_parser.hpp b/vpd-parser/isdimm_vpd_parser.hpp
index c8105f4..8270884 100644
--- a/vpd-parser/isdimm_vpd_parser.hpp
+++ b/vpd-parser/isdimm_vpd_parser.hpp
@@ -99,6 +99,13 @@
auto getDDR4CCIN(const std::string& partNumber);
/**
+ * @brief The function fetches manufacturer's ID of DIMM.
+ *
+ * @return manufacturer ID.
+ */
+ auto getDDR4ManufacturerId();
+
+ /**
* @brief This function calculates DIMM size from SPD
*
* @param[in] iterator - iterator to buffer containing SPD
@@ -138,6 +145,13 @@
*/
auto getDDR5CCIN(const std::string& partNumber);
+ /**
+ * @brief The function fetches manufacturer's ID of DIMM.
+ *
+ * @return manufacturer ID.
+ */
+ auto getDDR5ManufacturerId();
+
// vdp file to be parsed
const Binary& memVpd;
};