summaryrefslogtreecommitdiff
path: root/board/cr50/board.h
diff options
context:
space:
mode:
Diffstat (limited to 'board/cr50/board.h')
-rw-r--r--board/cr50/board.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/board/cr50/board.h b/board/cr50/board.h
index 2682ba83ab..be43d755eb 100644
--- a/board/cr50/board.h
+++ b/board/cr50/board.h
@@ -64,4 +64,13 @@ enum usb_strings {
#define USB_EP_HID 2
#define USB_EP_COUNT 3
+/*
+ * 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
+
#endif /* __BOARD_H */