yosemitev2:Multi-host DIMM info displayed in OCP debug card

This implementation is going to display the DIMM
information in the OCP debug-card.

Tested: information frame value of Dimm info
displayed in the OCP debug card with multi-host
Yosemitev2 platform.

Change-Id: Ia3f198ee99806e25c6fe8e995130d45a9ac0f23b
Signed-off-by: Karthikeyan Pasupathi <pkarthikeyan1509@gmail.com>
diff --git a/include/oemcommands.hpp b/include/oemcommands.hpp
index 65c3adf..a46db3a 100644
--- a/include/oemcommands.hpp
+++ b/include/oemcommands.hpp
@@ -89,6 +89,10 @@
     CMD_OEM_Q_GET_DRIVE_INFO = 0x15,
 };
 
+/* To handle the processor product
+ * name (ASCII code). */
+#define MAX_BUF 50
+
 #define BMC_POS 0
 #define SIZE_CPU_PPIN 8
 #define SIZE_BOOT_ORDER 6
@@ -101,6 +105,9 @@
 #define BIT_2 0x04
 #define BIT_3 0x08
 
+#define DIMM_TYPE "type"
+#define DIMM_SPEED "speed"
+#define JSON_DIMM_TYPE_FILE "/usr/share/lcd-debug/dimm_type.json"
 #define JSON_OEM_DATA_FILE "/etc/oemData.json"
 #define KEY_PPIN_INFO "mb_cpu_ppin"
 #define KEY_MC_CONFIG "mb_machine_config"
@@ -146,6 +153,9 @@
                                       {"NET_IPV6", 9}, {"SATA_HDD", 2},
                                       {"SATA_CD", 3},  {"OTHER", 4}};
 
+std::map<size_t, std::string> dimmVenMap = {
+    {0xce, "Samsung"}, {0xad, "Hynix"}, {0x2c, "Micron"}};
+
 const char* chassisType[] = {"ORV1", "ORV2"};
 const char* mbType[] = {"SS", "DS", "TYPE3"};
 const char* riserType[] = {"NO_CARD", "2_SLOT", "3_SLOT"};