IPMI OEM BIC - Get Bios Flash Size

Register an IPMI command handler with NetFn: 0x38 Cmd: 0x19
send this command to BIC through IPMB to get the Bios flash
size.

TESTED : Verified in YosemiteV2 platform and able to get
bios flash size.

Signed-off-by: Kumar Thangavel <thangavel.k@hcl.com>
Change-Id: I8a82f2495c1c7d4fefb49de471052cd9d740e75d
diff --git a/include/biccommands.hpp b/include/biccommands.hpp
index 8702380..1520702 100644
--- a/include/biccommands.hpp
+++ b/include/biccommands.hpp
@@ -5,8 +5,12 @@
     CMD_OEM_GET_BIC_GPIO_STATE = 0x3,
     CMD_OEM_SEND_POST_BUFFER_TO_BMC = 0x8,
     CMD_OEM_SET_HOST_POWER_STATE = 0x0C,
+    CMD_OEM_GET_FLASH_SIZE = 0x19,
 };
 
+// Flash size response length
+constexpr uint8_t flashSizeRespLen = 0x7;
+
 const char* dbusObj = "/xyz/openbmc_project/state/boot/raw";
 
 const char* dbusService = "xyz.openbmc_project.State.Boot.Raw";
diff --git a/include/commandutils.hpp b/include/commandutils.hpp
index d51c0e8..b9290d0 100644
--- a/include/commandutils.hpp
+++ b/include/commandutils.hpp
@@ -23,6 +23,7 @@
 static constexpr bool debug = false;
 
 using IanaType = std::array<uint8_t, 3>;
+using flashSize = std::array<uint8_t, 4>;
 
 static constexpr IanaType iana = {0x15, 0xA0, 0x0}; // Meta's IANA