From 65d2848a46359cc88037866008154f2651735e73 Mon Sep 17 00:00:00 2001 From: Edward Hill Date: Fri, 19 Oct 2018 17:34:02 -0600 Subject: grunt: Increase port80 buffer to 256 bytes Increase length of history buffer for port80 messages from 128 to 256. This is enough to see all messages when resuming from S3 (which currently produces 211 messages). Booting from S5 produces 848 messages, but making the buffer that large seems excessive. BUG=b:117949636 BRANCH=grunt TEST=See buffer printed after boot and resume Change-Id: I18a9e95a0a1a96c6bdab54d9a42d1211cd491e20 Signed-off-by: Edward Hill Reviewed-on: https://chromium-review.googlesource.com/1292362 Reviewed-by: Jonathan Brandmeyer Reviewed-on: https://chromium-review.googlesource.com/c/1299897 Reviewed-by: Martin Roth Tested-by: Martin Roth --- baseboard/grunt/baseboard.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'baseboard/grunt') diff --git a/baseboard/grunt/baseboard.h b/baseboard/grunt/baseboard.h index e586c79ac5..6b2daa60fd 100644 --- a/baseboard/grunt/baseboard.h +++ b/baseboard/grunt/baseboard.h @@ -159,6 +159,9 @@ #define CONFIG_CHARGER_LIMIT_POWER_THRESH_CHG_MW 15001 #define CONFIG_CHARGER_LIMIT_POWER_THRESH_BAT_PCT 3 +/* Increase length of history buffer for port80 messages. */ +#undef CONFIG_PORT80_HISTORY_LEN +#define CONFIG_PORT80_HISTORY_LEN 256 #define I2C_PORT_BATTERY I2C_PORT_POWER #define I2C_PORT_CHARGER I2C_PORT_POWER -- cgit v1.2.1