Tidy debug output for reboot command

Should print what command is being executed, to help debug software sync

BUG=chrome-os-partner:11087
TEST=power on system, look for updated debug message, for example
   [1.636893 Executing host reboot command 5]

Change-Id: Ib543fc265fe881dc2089119ab3c0a52b0fce3b4d
Signed-off-by: Randall Spangler <rspangler@chromium.org>
Reviewed-on: https://gerrit.chromium.org/gerrit/27659
This commit is contained in:
Randall Spangler
2012-07-17 10:24:34 -07:00
committed by Gerrit
parent 561a121526
commit 8978c6abac

View File

@@ -796,7 +796,7 @@ int host_command_reboot(struct host_cmd_handler_args *args)
host_send_response(EC_RES_SUCCESS);
#endif
CPUTS("[Executing host reboot command]\n");
CPRINTF("[%T Executing host reboot command %d]\n", p.cmd);
switch (handle_pending_reboot(p.cmd)) {
case EC_SUCCESS:
return EC_RES_SUCCESS;