Add IPMI coldReset command support
* Implement by calling dbus method for coldReset
* Optimize warmReset/coldReset code
* Be implemented with related changes in skeleton repository
Resolves openbmc/openbmc#437
Change-Id: Ia33805c73b5d345419918c467ef7b9cf6fbb246d
Signed-off-by: Nan Li <william.bjlinan@hotmail.com>
diff --git a/globalhandler.h b/globalhandler.h
index 608df3b..dcdb68d 100644
--- a/globalhandler.h
+++ b/globalhandler.h
@@ -6,7 +6,8 @@
// Various GLOBAL operations under a single command.
enum ipmi_global_control_cmds : uint8_t
{
-IPMI_CMD_WARM_RESET = 0x02,
+ IPMI_CMD_COLD_RESET = 0x02,
+ IPMI_CMD_WARM_RESET = 0x03,
};
#endif