PEL: Add support for raw symbolic FRUs and procs

Allow the FRUIdentity and Callout objects to take the raw maintenance
procedure and symbolic FRU names as opposed to just the PEL message
registry names.  This will allow the values to come from sources
besides the registry, such as the device tree used by PHAL.

Signed-off-by: Matt Spinler <spinler@us.ibm.com>
Change-Id: I4171fb7128ae1b1b5e3e635f7f95b7f7df7c6638
diff --git a/extensions/openpower-pels/callout.cpp b/extensions/openpower-pels/callout.cpp
index a477803..4ddb897 100644
--- a/extensions/openpower-pels/callout.cpp
+++ b/extensions/openpower-pels/callout.cpp
@@ -94,8 +94,8 @@
     _size = flattenedSize();
 }
 
-Callout::Callout(CalloutPriority priority,
-                 const std::string& procedureFromRegistry)
+Callout::Callout(CalloutPriority priority, const std::string& procedure,
+                 CalloutValueType type)
 {
     _flags = calloutType | fruIdentIncluded;
 
@@ -103,14 +103,14 @@
 
     _locationCodeSize = 0;
 
-    _fruIdentity = std::make_unique<FRUIdentity>(procedureFromRegistry);
+    _fruIdentity = std::make_unique<FRUIdentity>(procedure, type);
 
     _size = flattenedSize();
 }
 
-Callout::Callout(CalloutPriority priority,
-                 const std::string& symbolicFRUFromRegistry,
-                 const std::string& locationCode, bool trustedLocationCode)
+Callout::Callout(CalloutPriority priority, const std::string& symbolicFRU,
+                 CalloutValueType type, const std::string& locationCode,
+                 bool trustedLocationCode)
 {
     _flags = calloutType | fruIdentIncluded;
 
@@ -118,8 +118,8 @@
 
     setLocationCode(locationCode);
 
-    _fruIdentity = std::make_unique<FRUIdentity>(symbolicFRUFromRegistry,
-                                                 trustedLocationCode);
+    _fruIdentity =
+        std::make_unique<FRUIdentity>(symbolicFRU, type, trustedLocationCode);
 
     _size = flattenedSize();
 }