summaryrefslogtreecommitdiff
path: root/board/glados/board.h
diff options
context:
space:
mode:
authorAseda Aboagye <aaboagye@google.com>2015-10-07 10:44:33 -0700
committerchrome-bot <chrome-bot@chromium.org>2015-10-15 12:04:37 -0700
commit811f5482f04bd7173909516ea59a90deda6fc002 (patch)
treeddd4c112ff1930db08d5a2019c1febdcd443a8e5 /board/glados/board.h
parentdb77cafb3e254e95139949d5931554dd4a4d9f0c (diff)
downloadchrome-ec-811f5482f04bd7173909516ea59a90deda6fc002.tar.gz
GLaDOS: Kunimitsu: Chell: Reduce UART TX buffer to 512B.
This saves us another 1.5K in data RAM. BUG=chrome-os-partner:46060 BUG=chrome-os-partner:46063 BRANCH=None TEST=make -j buildall tests TEST=Flashed on GLaDOS and watched EC console during boot for any anomalities. Change-Id: I534796892e5e55e956e4d517cbe233bb7628520a Signed-off-by: Aseda Aboagye <aaboagye@google.com> Reviewed-on: https://chromium-review.googlesource.com/305361 Commit-Ready: Aseda Aboagye <aaboagye@chromium.org> Tested-by: Aseda Aboagye <aaboagye@chromium.org> Reviewed-by: Aseda Aboagye <aaboagye@chromium.org> Reviewed-by: Alec Berg <alecaberg@chromium.org>
Diffstat (limited to 'board/glados/board.h')
-rw-r--r--board/glados/board.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/board/glados/board.h b/board/glados/board.h
index e3f44a3ccb..90503cfa35 100644
--- a/board/glados/board.h
+++ b/board/glados/board.h
@@ -54,6 +54,9 @@
#undef CONFIG_RO_SIZE
#define CONFIG_RO_SIZE (100 * 1024)
#define CONFIG_SCI_GPIO GPIO_PCH_SCI_L
+/* We're space constrained on GLaDOS, so reduce the UART TX buffer size. */
+#undef CONFIG_UART_TX_BUF_SIZE
+#define CONFIG_UART_TX_BUF_SIZE 512
#define CONFIG_USB_CHARGER
#define CONFIG_USB_MUX_PI3USB30532
#define CONFIG_USB_MUX_PS8740