diff options
author | Joel Stanley <joel@jms.id.au> | 2015-01-29 10:47:52 +1030 |
---|---|---|
committer | Stewart Smith <stewart@linux.vnet.ibm.com> | 2015-01-29 11:51:58 +1100 |
commit | 0bc448e9fefff767362494dbc49e0ae3bfb3ed93 (patch) | |
tree | 3e41b766d4085a27fc188f2a4ad78651670ed5cb | |
parent | e1503c4bea0a3e428d3befe9bdf6e9004c28882b (diff) | |
download | skiboot-0bc448e9fefff767362494dbc49e0ae3bfb3ed93.zip skiboot-0bc448e9fefff767362494dbc49e0ae3bfb3ed93.tar.gz skiboot-0bc448e9fefff767362494dbc49e0ae3bfb3ed93.tar.bz2 |
Revert "platforms/astbmc: Temporary reboot workaround"skiboot-4.1.1
This reverts commit 7185393df6d7d806811b827fabce1d8ad3e05fff.
Now that we have the correct behaviour in the BMC, we can go back
to sending the correct ipmi command for rebooting the machine.
Signed-off-by: Joel Stanley <joel@jms.id.au>
Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
-rw-r--r-- | platforms/astbmc/common.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/platforms/astbmc/common.c b/platforms/astbmc/common.c index 993ac4c..f9c988d 100644 --- a/platforms/astbmc/common.c +++ b/platforms/astbmc/common.c @@ -76,9 +76,7 @@ int64_t astbmc_ipmi_power_down(uint64_t request) int64_t astbmc_ipmi_reboot(void) { - /* TODO: we should send a IPMI_CHASSIS_HARD_RESET, but the BMC - * doesn't respond to this command yet */ - return ipmi_chassis_control(IPMI_CHASSIS_PWR_CYCLE); + return ipmi_chassis_control(IPMI_CHASSIS_HARD_RESET); } static void astbmc_fixup_dt_system_id(void) |