summaryrefslogtreecommitdiff
path: root/baseboard/grunt/baseboard.h
diff options
context:
space:
mode:
authorEdward Hill <ecgh@chromium.org>2018-10-19 17:34:02 -0600
committerchrome-bot <chrome-bot@chromium.org>2018-10-23 22:50:46 -0700
commit2be308a33262cadeda7249372b335b9107cf0e15 (patch)
treec68fda84919bf99773239994eec7a45f501101ed /baseboard/grunt/baseboard.h
parent8cb04e09c496184b12811413ce1d2e8c81727629 (diff)
downloadchrome-ec-2be308a33262cadeda7249372b335b9107cf0e15.tar.gz
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 <ecgh@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/1292362 Reviewed-by: Jonathan Brandmeyer <jbrandmeyer@chromium.org>
Diffstat (limited to 'baseboard/grunt/baseboard.h')
-rw-r--r--baseboard/grunt/baseboard.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/baseboard/grunt/baseboard.h b/baseboard/grunt/baseboard.h
index 6e9c32cda2..1c0f8ed001 100644
--- a/baseboard/grunt/baseboard.h
+++ b/baseboard/grunt/baseboard.h
@@ -152,6 +152,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