summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortim <tim2.lin@ite.corp-partner.google.com>2018-06-20 05:56:13 +0800
committerchrome-bot <chrome-bot@chromium.org>2018-06-21 04:46:00 -0700
commite2d6f3833127d478d15ac36e2336a92b1863d65f (patch)
treec6813062aa478e6f4558d077d46664c9be0576aa
parent794e0117d9930d57bf032b1eee2bfc180413a172 (diff)
downloadchrome-ec-e2d6f3833127d478d15ac36e2336a92b1863d65f.tar.gz
bip: Increase UART transmit buffer size
With this patch, we can get the completed messages during system boot. If the size of tx buffer is too small, the messages will print overwritten. BUG=none BRANCH=none TEST=The serial console can check message during system reboot. Change-Id: I37902096baeeb678b696d9a4acce1e048d2105a6 Signed-off-by: tim <tim2.lin@ite.corp-partner.google.com> Reviewed-on: https://chromium-review.googlesource.com/1098740 Commit-Ready: Tim2 Lin <tim2.lin@ite.corp-partner.google.com> Tested-by: Tim2 Lin <tim2.lin@ite.corp-partner.google.com> Reviewed-by: Jett Rink <jettrink@chromium.org>
-rw-r--r--board/bip/board.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/board/bip/board.h b/board/bip/board.h
index cf033b26bd..42fdeef709 100644
--- a/board/bip/board.h
+++ b/board/bip/board.h
@@ -20,6 +20,9 @@
#undef CONFIG_PWM
#undef CONFIG_PWM_KBLIGHT
+#undef CONFIG_UART_TX_BUF_SIZE
+#define CONFIG_UART_TX_BUF_SIZE 4096
+
#ifndef __ASSEMBLER__
#include "gpio_signal.h"