From 29b084094f89e45bde0dde70b0709654d8ae770b Mon Sep 17 00:00:00 2001 From: Aseda Aboagye Date: Tue, 23 Feb 2016 14:49:37 -0800 Subject: 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 Reviewed-on: https://chromium-review.googlesource.com/329180 Commit-Ready: Aseda Aboagye Tested-by: Aseda Aboagye Reviewed-by: Randall Spangler --- board/jerry/board.h | 4 ++++ 1 file changed, 4 insertions(+) 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 -- cgit v1.2.1