summaryrefslogtreecommitdiff
path: root/board/rammus/board.h
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-31 19:03:19 -0700
commit088b21fb3008c60d28894f8da62b5ba44e2ab63c (patch)
treeec0c8d0c8dc670fe68c6117d804b3bbcea3a3ddb /board/rammus/board.h
parent7e2620939074ae2ef8af5a3a3df007105f564d2c (diff)
downloadchrome-ec-088b21fb3008c60d28894f8da62b5ba44e2ab63c.tar.gz
rammus: decrease UART buffer
We are running out of RAM space for rammus 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: I31bee3a8c5093e05dc5f27bcc99b8b19a8f022d5 Signed-off-by: Jett Rink <jettrink@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/1200262 Reviewed-by: Jonathan Brandmeyer <jbrandmeyer@chromium.org>
Diffstat (limited to 'board/rammus/board.h')
-rw-r--r--board/rammus/board.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/board/rammus/board.h b/board/rammus/board.h
index ae8fad3bad..939d1378c9 100644
--- a/board/rammus/board.h
+++ b/board/rammus/board.h
@@ -134,7 +134,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