support BMC boot flag valid bit clearing
Set/Get system boot options commands don't support
BMC boot flag valid bit clearing, add it.
Tested: it test by ipmi commands:
set BIOS boot option with parameter 3
ipmitool raw 0x00 0x08 0x03 xx
get boot option with parameter 3
ipmitool raw 0x00 0x09 0x03 0 0
for example:
ipmitool raw 0x00 0x08 0x03 2
no response, without error response
ipmitool raw 0x00 0x09 0x03 0 0
01 03 02
the third response datum is the value by setting boot option.
Change-Id: I7db3c7d9f52b107b5b07d94fe58f3c7ada761460
Signed-off-by: Chen Yugang <yugang.chen@linux.intel.com>
diff --git a/chassishandler.hpp b/chassishandler.hpp
index 4d7d450..2957127 100644
--- a/chassishandler.hpp
+++ b/chassishandler.hpp
@@ -48,6 +48,7 @@
enum class BootOptionParameter : size_t
{
setInProgress = 0x0,
+ bootFlagValidClr = 0x3,
bootInfo = 0x4,
bootFlags = 0x5,
opalNetworkSettings = 0x61