summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJett Rink <jettrink@chromium.org>2018-08-28 07:30:04 -0600
committerchrome-bot <chrome-bot@chromium.org>2018-08-30 14:41:51 -0700
commitf5816b497231c9fbd78353c581f44f2f8dd1c837 (patch)
treee55456ad33add390ffe24d91194e8b97529a77e4
parente16cd37e0ccb0a7140ba98db5ac379c280f362a7 (diff)
downloadchrome-ec-f5816b497231c9fbd78353c581f44f2f8dd1c837.tar.gz
nautilus: decrease UART buffer
We are running out of RAM space for nautilus and the UART buffer does not need to be 4KB. 1KB is almost enough, so 2KB should be plenty. In the long term chromium:826592 will allow us to use even smaller buffers. BRANCH=none BUG=chromium:826592,b:112088135 TEST=builds and links with child CL stack Change-Id: I054f884fea5761de26888a5b4fe26ded6c2ffbd9 Signed-off-by: Jett Rink <jettrink@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/1194082 Reviewed-by: Furquan Shaikh <furquan@chromium.org> Reviewed-by: Nicolas Boichat <drinkcat@chromium.org>
-rw-r--r--board/nautilus/board.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/board/nautilus/board.h b/board/nautilus/board.h
index c7e91afbf2..e37bc29196 100644
--- a/board/nautilus/board.h
+++ b/board/nautilus/board.h
@@ -130,7 +130,7 @@
#define CONFIG_ACCEL_FIFO_THRES (CONFIG_ACCEL_FIFO / 3)
#undef CONFIG_UART_TX_BUF_SIZE
-#define CONFIG_UART_TX_BUF_SIZE 4096
+#define CONFIG_UART_TX_BUF_SIZE 2048
#define CONFIG_TABLET_MODE
#define CONFIG_TABLET_MODE_SWITCH