summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAseda Aboagye <aaboagye@google.com>2016-02-23 14:49:37 -0800
committerchrome-bot <chrome-bot@chromium.org>2016-02-23 22:40:23 -0800
commit29b084094f89e45bde0dde70b0709654d8ae770b (patch)
treebdcd187475d68be035924c0301dd5a2b8c56aa28
parent4b35daffd1a2a77922b09dcb1e20457fc20da8e7 (diff)
downloadchrome-ec-29b084094f89e45bde0dde70b0709654d8ae770b.tar.gz
jerry: Increase UART TX buffer size.
Found out that the string that is printed from console_init() doesn't show up on the EC console for jerry. It seems that perhaps due to the priority of the console task and the numerous prints during boot, that print never makes it to the TX buffer. Currently, there's about 7200 bytes available in the shared memory region, which indicates that there's still a lot of free space. Therefore, increase the UART TX buffer size. BUG=None BRANCH=None TEST=Flash jerry and verify that 'console is enabled' string shows up on the EC console. TEST=make -j buildall tests Change-Id: Id0603a3b758b5c600d0b59f27040ead2ce48bbaf Signed-off-by: Aseda Aboagye <aaboagye@google.com> Reviewed-on: https://chromium-review.googlesource.com/329180 Commit-Ready: Aseda Aboagye <aaboagye@chromium.org> Tested-by: Aseda Aboagye <aaboagye@chromium.org> Reviewed-by: Randall Spangler <rspangler@chromium.org>
-rw-r--r--board/jerry/board.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/board/jerry/board.h b/board/jerry/board.h
index 24c77b5fca..1d73e1dd90 100644
--- a/board/jerry/board.h
+++ b/board/jerry/board.h
@@ -8,6 +8,10 @@
#ifndef __CROS_EC_BOARD_H
#define __CROS_EC_BOARD_H
+/* Increase size of UART TX buffer. */
+#undef CONFIG_UART_TX_BUF_SIZE
+#define CONFIG_UART_TX_BUF_SIZE 1024
+
/* Optional features */
#define CONFIG_AP_HANG_DETECT
#define CONFIG_BATTERY_CUT_OFF