diff options
author | Abe Levkoy <alevkoy@chromium.org> | 2020-04-23 16:50:46 -0600 |
---|---|---|
committer | Commit Bot <commit-bot@chromium.org> | 2020-05-01 22:06:55 +0000 |
commit | e71c333908978fdbce67441060aa7467b83b2bc3 (patch) | |
tree | 117198c83072385d7ee97b557199c348f40af535 /board/dratini/board.h | |
parent | ff7a100aaf125c95a7c88e70b409cb3e377ace43 (diff) | |
download | chrome-ec-e71c333908978fdbce67441060aa7467b83b2bc3.tar.gz |
Various boards: Shrink UART Tx buffer to save space
Future USB-PD discovery changes will need that space. In each case,
reduce the size of the buffer by half (must be a power of 2).
Note: This change is only to save shared memory space in the ToT build.
It should not be picked onto release branches.
BUG=b:152420269,b:152419795
TEST=make buildall
BRANCH=none
Change-Id: Ia26c1cdd7eb4068d410b81bb4a3335d2c9142049
Signed-off-by: Abe Levkoy <alevkoy@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2163795
Diffstat (limited to 'board/dratini/board.h')
-rw-r--r-- | board/dratini/board.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/board/dratini/board.h b/board/dratini/board.h index bd40963a62..963a4cb590 100644 --- a/board/dratini/board.h +++ b/board/dratini/board.h @@ -21,7 +21,7 @@ #define CONFIG_HOSTCMD_ESPI #undef CONFIG_UART_TX_BUF_SIZE -#define CONFIG_UART_TX_BUF_SIZE 4096 +#define CONFIG_UART_TX_BUF_SIZE 2048 /* Keyboard features */ #define CONFIG_PWM_KBLIGHT |