oem-meta: Add file IO responder for host bios version

Add handler for write-file command "BIOS_VERSION", which is sent
when host's postcode complete triggered, and update the bios version
to settingsd.

Tested: Verified in yosemite4 platform. The BIOS version was recorded
correctly.

Change-Id: I99580e3593cb417f6e350f5f1e7735fccf6e010b
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 3aac5a6..0471766 100644
--- a/oem/meta/libpldmresponder/file_io.cpp
+++ b/oem/meta/libpldmresponder/file_io.cpp
@@ -1,5 +1,6 @@
 #include "file_io.hpp"
 
+#include "file_io_type_bios_version.hpp"
 #include "file_io_type_post_code.hpp"
 
 #include <libpldm/oem/meta/file_io.h>
@@ -15,6 +16,9 @@
     {
         case FileIOType::POST_CODE:
             return std::make_unique<PostCodeHandler>(messageTid);
+        case FileIOType::BIOS_VERSION:
+            return std::make_unique<BIOSVersionHandler>(messageTid,
+                                                        dBusHandler);
         default:
             error("Get invalid file io type {FILEIOTYPE}", "FILEIOTYPE",
                   fileIOType);