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/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