diff options
author | Nicolas Boichat <drinkcat@google.com> | 2016-07-04 16:31:12 +0800 |
---|---|---|
committer | ChromeOS Commit Bot <chromeos-commit-bot@chromium.org> | 2016-07-11 09:31:02 +0000 |
commit | 835f539acb584426e1bd67e0c09969cceaaa732d (patch) | |
tree | 6be76e49ec212f296cc9ad12e68f309a1e7bf24b | |
parent | 143c0e7e4dbb59ac952ed281fe502564ae141709 (diff) | |
download | chrome-ec-835f539acb584426e1bd67e0c09969cceaaa732d.tar.gz |
elm: Increase UART TX buffer size to 8kb
We have more than enough memory for that, and it makes it possible
to poll the logs from AP much more unfrequently.
BRANCH=oak
BUG=chromium:527904
TEST=make buildall -j
TEST=Boot elm, cat /sys/kernel/debug/cros_ec/console_log does not
miss any data.
Change-Id: I8cce88e39d00a94397b6fc852a371b4595870b24
Reviewed-on: https://chromium-review.googlesource.com/359474
Reviewed-by: Rong Chang <rongchang@chromium.org>
Commit-Queue: Nicolas Boichat <drinkcat@chromium.org>
Tested-by: Nicolas Boichat <drinkcat@chromium.org>
-rw-r--r-- | board/elm/board.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/board/elm/board.h b/board/elm/board.h index 98b334d067..2a58a80a81 100644 --- a/board/elm/board.h +++ b/board/elm/board.h @@ -48,6 +48,10 @@ #define CONFIG_CMD_TYPEC #define CONFIG_EXTPOWER_GPIO +/* Increase tx buffer size, as we'd like to stream EC log to AP. */ +#undef CONFIG_UART_TX_BUF_SIZE +#define CONFIG_UART_TX_BUF_SIZE 8192 + /* Wakeup pin: EC_WAKE(PA0) - WKUP1 */ #define CONFIG_FORCE_CONSOLE_RESUME #define CONFIG_HIBERNATE |