diff options
author | Nan Li <william.bjlinan@hotmail.com> | 2016-08-22 15:00:21 +0800 |
---|---|---|
committer | Patrick Williams <patrick@stwcx.xyz> | 2016-10-06 02:56:03 +0000 |
commit | bc759884ccc7bdb838a8cce3fe6d8d9c648dadc7 (patch) | |
tree | e95a4006116e59f3f13620532869f58d759966a3 /globalhandler.h | |
parent | 8d15fb490ea7db36ffacfe3dfaa5d8feb2a4ff0c (diff) | |
download | phosphor-host-ipmid-bc759884ccc7bdb838a8cce3fe6d8d9c648dadc7.tar.gz phosphor-host-ipmid-bc759884ccc7bdb838a8cce3fe6d8d9c648dadc7.zip |
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>
Diffstat (limited to 'globalhandler.h')
-rw-r--r-- | globalhandler.h | 3 |
1 files changed, 2 insertions, 1 deletions
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 |