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/reef/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/reef/board.h')
-rw-r--r-- | board/reef/board.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/board/reef/board.h b/board/reef/board.h index 349944c26f..f37e315034 100644 --- a/board/reef/board.h +++ b/board/reef/board.h @@ -146,6 +146,8 @@ #define CONFIG_WLAN_POWER_ACTIVE_LOW #define WIRELESS_GPIO_WLAN_POWER GPIO_WIRELESS_GPIO_WLAN_POWER #define CONFIG_PWR_STATE_DISCHARGE_FULL +#undef CONFIG_UART_TX_BUF_SIZE +#define CONFIG_UART_TX_BUF_SIZE 512 /* * During shutdown sequence TPS65094x PMIC turns off the sensor rails |