summaryrefslogtreecommitdiff
path: root/common
diff options
context:
space:
mode:
authorVijay Hiremath <vijay.p.hiremath@intel.com>2016-08-30 12:03:20 -0700
committerchrome-bot <chrome-bot@chromium.org>2016-09-01 05:02:38 -0700
commitade0de9881ae843c4fae26180b2c6efbfd080363 (patch)
treeae33468bc108eba5359362e2595e01bf85bebecb /common
parentce4f7ba59cd09dcb93c631797c62f3d8ebb0a4e4 (diff)
downloadchrome-ec-ade0de9881ae843c4fae26180b2c6efbfd080363.tar.gz
Revert "ectool: Add ectool command to do AP force shutdown"
There are no actual use cases of this command hence reverting it. This reverts commit 2324ed47aa3b6da72a9c022a21b46a8ea9eb896c. BUG=chrome-os-partner:56681 BRANCH=none TEST=make buildall -j Change-Id: Ibfa6c99d591e7601299236d8ad56451ef5ab20f2 Signed-off-by: Vijay Hiremath <vijay.p.hiremath@intel.com> Reviewed-on: https://chromium-review.googlesource.com/377852 Commit-Ready: Vijay P Hiremath <vijay.p.hiremath@intel.com> Tested-by: Vijay P Hiremath <vijay.p.hiremath@intel.com> Reviewed-by: Shawn N <shawnn@chromium.org>
Diffstat (limited to 'common')
-rw-r--r--common/system.c10
1 files changed, 1 insertions, 9 deletions
diff --git a/common/system.c b/common/system.c
index b216603157..9c1d53b60b 100644
--- a/common/system.c
+++ b/common/system.c
@@ -4,7 +4,6 @@
*/
/* System module for Chrome EC : common functions */
-#include "chipset.h"
#include "clock.h"
#include "common.h"
#include "console.h"
@@ -805,12 +804,6 @@ static int handle_pending_reboot(enum ec_reboot_cmd cmd)
/* That shouldn't return... */
return EC_ERROR_UNKNOWN;
#endif
-#ifdef HAS_TASK_CHIPSET
- case EC_REBOOT_AP_SHUTDOWN:
- CPRINTS("Force AP Shutdown");
- chipset_force_shutdown();
- return EC_SUCCESS;
-#endif
default:
return EC_ERROR_INVAL;
}
@@ -1279,8 +1272,7 @@ int host_command_reboot(struct host_cmd_handler_args *args)
if (p.cmd == EC_REBOOT_JUMP_RO ||
p.cmd == EC_REBOOT_JUMP_RW ||
p.cmd == EC_REBOOT_COLD ||
- p.cmd == EC_REBOOT_HIBERNATE ||
- p.cmd == EC_REBOOT_AP_SHUTDOWN) {
+ p.cmd == EC_REBOOT_HIBERNATE) {
/* Clean busy bits on host for commands that won't return */
args->result = EC_RES_SUCCESS;
host_send_response(args);