Enabled PFR image validation support for PFR ptfms.

Added support for validating the PFR image in ipmi firmware write
data command.

Tested:

Tested firmware update utility via KCS interface

Signed-off-by: Rajashekar Gade Reddy <raja.sekhar.reddy.gade@linux.intel.com>
Change-Id: I16d66af593dd2ab03759281d4cef8ba238c1d85a
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 546f726..218c5c6 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -104,3 +104,8 @@
 target_link_libraries (zinteloemcmds ${OPENSSL_CRYPTO_LIBRARY})
 
 install (TARGETS zinteloemcmds DESTINATION lib/ipmid-providers)
+option (INTEL_PFR_ENABLED "Intel PFR Enabled" OFF)
+target_compile_definitions (
+    zinteloemcmds PRIVATE
+    $<$<BOOL:${INTEL_PFR_ENABLED}>: -DINTEL_PFR_ENABLED>
+)