IPMI OEM BIC - Clear CMOS
Register an IPMI command handler with NetFn 0x38 Cmd 0x25
and send this command to BIC through IPMB to clear CMOS.
TESTED : Tested and verified in Facebook YosemiteV2 platform.
Signed-off-by: Jayashree Dhanapal <jayashree-d@hcl.com>
Change-Id: I5df7a637c5860ae7b0fc7e65e5737614fb3c4293
diff --git a/include/biccommands.hpp b/include/biccommands.hpp
index 1520702..44d0e76 100644
--- a/include/biccommands.hpp
+++ b/include/biccommands.hpp
@@ -6,6 +6,7 @@
CMD_OEM_SEND_POST_BUFFER_TO_BMC = 0x8,
CMD_OEM_SET_HOST_POWER_STATE = 0x0C,
CMD_OEM_GET_FLASH_SIZE = 0x19,
+ CMD_OEM_CLEAR_CMOS = 0x25,
};
// Flash size response length