From 995c6b69853d319797dec2d5f0fc74309a3ef96e Mon Sep 17 00:00:00 2001 From: Vadim Bendebury Date: Mon, 12 Dec 2016 12:18:44 -0800 Subject: [PATCH] cr50: reduce UART TX buffer size As we are getting short on SRAM and do not need that extensive UART debugging support, let's reduce the UART TX buffer size to a standard value of 512 bytes. BRANCH=none BUG=chrome-os-partner:58961 TEST=built and booted a new image. Verified that the cr50 console connection is still operational. Change-Id: Ieb77671cb144b9ea5073f5d3242c9e41e5d78883 Signed-off-by: Vadim Bendebury Reviewed-on: https://chromium-review.googlesource.com/418948 Reviewed-by: Mary Ruthven --- board/cr50/board.h | 9 --------- 1 file changed, 9 deletions(-) diff --git a/board/cr50/board.h b/board/cr50/board.h index 295a6ddf0c..84a12d595a 100644 --- a/board/cr50/board.h +++ b/board/cr50/board.h @@ -196,15 +196,6 @@ int is_ec_rst_asserted(void); /* TODO(crosbug.com/p/56540): Remove this when UART0_RX works everywhere */ #define GC_UART0_RX_DISABLE -/* - * This would be a low hanging fruit if there is a need to reduce memory - * footprint. Having a large buffer helps not to drop debug outputs generated - * before console is initialized, but this is not really necessary in a - * production device. - */ -#undef CONFIG_UART_TX_BUF_SIZE -#define CONFIG_UART_TX_BUF_SIZE 4096 - #define CC_DEFAULT (CC_ALL & ~CC_MASK(CC_TPM)) /* Nv Memory users */