diff options
author | Shawn Nematbakhsh <shawnn@chromium.org> | 2016-09-16 17:41:01 -0700 |
---|---|---|
committer | chrome-bot <chrome-bot@chromium.org> | 2016-09-23 12:22:18 -0700 |
commit | 3c7b251df95d8a1495b191b1f77054f5168f0a5a (patch) | |
tree | b8753472ff50f8f7e7df559577ee6370f74844e1 | |
parent | 62bb88c730d196c2dff9a86018271ced0673e3fd (diff) | |
download | chrome-ec-3c7b251df95d8a1495b191b1f77054f5168f0a5a.tar.gz |
kevin / gru: Make AP_OVERTEMP assertion print less scary
AP_OVERTEMP is asserted for various reasons by the host to bring itself
down, so make that clear. Also shorten some misc. prints to save RAM.
BUG=None
TEST=`make buildall -j`
BRANCH=None
Change-Id: Ia8d15f421bd3f34aeeeb2251fbfd5d7cd3f7c081
Signed-off-by: Shawn Nematbakhsh <shawnn@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/386681
Reviewed-by: Julius Werner <jwerner@chromium.org>
Reviewed-by: Aseda Aboagye <aaboagye@chromium.org>
(cherry picked from commit dbea6711a3cedbd9865022d2079b297bd6c20852)
Reviewed-on: https://chromium-review.googlesource.com/387626
Commit-Ready: Shawn N <shawnn@chromium.org>
Tested-by: Shawn N <shawnn@chromium.org>
-rw-r--r-- | board/kevin/board.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/board/kevin/board.c b/board/kevin/board.c index 4b71b5df76..63a615acb4 100644 --- a/board/kevin/board.c +++ b/board/kevin/board.c @@ -58,13 +58,13 @@ static void tcpc_alert_event(enum gpio_signal signal) static void overtemp_interrupt(enum gpio_signal signal) { - CPRINTS("AP_OVERTEMP asserted. Shutting down AP!"); + CPRINTS("AP wants shutdown"); chipset_force_shutdown(); } static void warm_reset_request_interrupt(enum gpio_signal signal) { - CPRINTS("WARM_RESET_REQ asserted."); + CPRINTS("AP wants warm reset"); chipset_reset(0); } @@ -376,11 +376,11 @@ void board_hibernate(void) * hibernate. The charger VBUS interrupt will wake us up and reset the * EC. Upon init, we'll reinitialize the TCPCs to be at full power. */ - CPRINTS("Setting TCPCs to low power mode."); + CPRINTS("Set TCPCs to low power"); for (i = 0; i < CONFIG_USB_PD_PORT_COUNT; i++) { rv = tcpc_write(i, TCPC_REG_POWER, TCPC_REG_POWER_PWR_LOW); if (rv) - CPRINTS("Error setting TCPC %d to low power!", i); + CPRINTS("Error setting TCPC %d", i); } cflush(); |