Segregate utility methods
This commit segregates utility methods required commonly by both
openpower-read-vpd and ibm-read-vpd from methods only required by
ibm-read-vpd.
All dependency required by utility methods specific to ibm-read-vpd
is not applicable to utility methods required by openpower-read-vpd.
Hence to avoid un-necessary dependency inclusion, this change is
introduced.
Signed-off-by: Sunny Srivastava <sunnsr25@in.ibm.com>
Change-Id: I95f2be27dc0c391a45beb1654a99506317aaa52b
diff --git a/vpd-parser/parser_factory.cpp b/vpd-parser/parser_factory.cpp
index 7953655..0489ef1 100644
--- a/vpd-parser/parser_factory.cpp
+++ b/vpd-parser/parser_factory.cpp
@@ -1,9 +1,10 @@
#include "parser_factory.hpp"
+#include "const.hpp"
+#include "ibm_vpd_utils.hpp"
#include "ipz_parser.hpp"
#include "keyword_vpd_parser.hpp"
#include "memory_vpd_parser.hpp"
-#include "utils.hpp"
#include "vpd_exceptions.hpp"
using namespace vpd::keyword::parser;
@@ -11,6 +12,7 @@
using namespace openpower::vpd::parser::interface;
using namespace openpower::vpd::ipz::parser;
using namespace openpower::vpd::exceptions;
+using namespace openpower::vpd::constants;
namespace openpower
{