oem-meta: Add file IO responder for post code

Support write file request when multiple hosts send postcode to BMC
and store its post code history.

Tested: Verified in yosemite4 platform. The boot state property is
set correctly.

Change-Id: Ic4c7223b9e80f04f9c737f50b02af0d1cc119a52
Signed-off-by: Delphine CC Chiu <Delphine_CC_Chiu@wiwynn.com>
Signed-off-by: Sora Su <baxiche@gmail.com>
diff --git a/oem/meta/libpldmresponder/file_io.cpp b/oem/meta/libpldmresponder/file_io.cpp
index e4800fb..3aac5a6 100644
--- a/oem/meta/libpldmresponder/file_io.cpp
+++ b/oem/meta/libpldmresponder/file_io.cpp
@@ -1,5 +1,7 @@
 #include "file_io.hpp"
 
+#include "file_io_type_post_code.hpp"
+
 #include <libpldm/oem/meta/file_io.h>
 
 #include <filesystem>
@@ -11,6 +13,8 @@
 {
     switch (fileIOType)
     {
+        case FileIOType::POST_CODE:
+            return std::make_unique<PostCodeHandler>(messageTid);
         default:
             error("Get invalid file io type {FILEIOTYPE}", "FILEIOTYPE",
                   fileIOType);