summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWai-Hong Tam <waihong@google.com>2020-10-09 16:11:45 -0700
committerCommit Bot <commit-bot@chromium.org>2020-10-10 03:14:43 +0000
commit87d81388aa4e152037bf8e16f483648b627a6075 (patch)
treec7dae8c071fd2228f8a1e907031e7a9924f7d256
parente371a6360ccad67f4264f3ebda4ce0df08c5b18a (diff)
downloadchrome-ec-87d81388aa4e152037bf8e16f483648b627a6075.tar.gz
Trogdor: Enlarge UART TX buffer
Increase console output buffer since we have the RAM available. It helps console message drop/corruption. BRANCH=None BUG=None TEST=Enabled i2ctrace which dumps lots of messages. Change-Id: Icd98d429ec80cdae1d8970624a1c4c385ef73184 Signed-off-by: Wai-Hong Tam <waihong@google.com> Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2464232 Reviewed-by: Alexandru M Stan <amstan@chromium.org> Commit-Queue: Alexandru M Stan <amstan@chromium.org>
-rw-r--r--baseboard/trogdor/baseboard.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/baseboard/trogdor/baseboard.h b/baseboard/trogdor/baseboard.h
index af20f0cd25..9802434f0d 100644
--- a/baseboard/trogdor/baseboard.h
+++ b/baseboard/trogdor/baseboard.h
@@ -66,6 +66,10 @@
*/
#define CONFIG_BOARD_RESET_AFTER_POWER_ON
+/* Increase console output buffer since we have the RAM available. */
+#undef CONFIG_UART_TX_BUF_SIZE
+#define CONFIG_UART_TX_BUF_SIZE 4096
+
/* Battery */
#define CONFIG_BATTERY_CUT_OFF
#define CONFIG_BATTERY_PRESENT_GPIO GPIO_BATT_PRES_ODL