Adding ISDIMM support
Added ISDIMM support for Bonnell machine
Change-Id: Ifdb2fc9e2d38267c8eb6cd5848d30102ab48efd1
Signed-off-by: jinuthomas <jinu.joy.thomas@in.ibm.com>
diff --git a/vpd-parser/parser_factory.cpp b/vpd-parser/parser_factory.cpp
index f7d0f04..27fae5a 100644
--- a/vpd-parser/parser_factory.cpp
+++ b/vpd-parser/parser_factory.cpp
@@ -3,6 +3,7 @@
#include "const.hpp"
#include "ibm_vpd_utils.hpp"
#include "ipz_parser.hpp"
+#include "isdimm_vpd_parser.hpp"
#include "keyword_vpd_parser.hpp"
#include "memory_vpd_parser.hpp"
#include "vpd_exceptions.hpp"
@@ -40,11 +41,18 @@
return new KeywordVpdParser(vpdVector);
}
- case MEMORY_VPD:
+ case DDR4_DDIMM_MEMORY_VPD:
+ case DDR5_DDIMM_MEMORY_VPD:
{
return new memoryVpdParser(vpdVector);
}
+ case DDR4_ISDIMM_MEMORY_VPD:
+ case DDR5_ISDIMM_MEMORY_VPD:
+ {
+ return new isdimmVpdParser(vpdVector);
+ }
+
default:
throw VpdDataException("Unable to determine VPD format");
}