]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
configs: stm32mp13: Add support for baudrates higher than 115200
authorPatrick Delaunay <patrick.delaunay@foss.st.com>
Thu, 30 Jun 2022 08:20:19 +0000 (10:20 +0200)
committerPatrick Delaunay <patrick.delaunay@foss.st.com>
Tue, 12 Jul 2022 09:48:15 +0000 (11:48 +0200)
On STM32MP13x STMicroelectronics boards, the UART can reliably go up to
4000000 bauds when connected to the external ST-LINKV3.

This patch adds the support of higher baudrates on STMicroelectronics
STM32MP13x boards with ST-LINKV3.

Signed-off-by: Patrick Delaunay <patrick.delaunay@foss.st.com>
Reviewed-by: Patrice Chotard <patrice.chotard@foss.st.com>
include/configs/stm32mp13_st_common.h

index ec64b12f7ab965c5a4e47396e24ec74fef988fc7..c51022b40d267230e30730f70551b8768679bb95 100644 (file)
@@ -14,4 +14,9 @@
 
 #include <configs/stm32mp13_common.h>
 
+/* uart with on-board st-link */
+#define CONFIG_SYS_BAUDRATE_TABLE      { 9600, 19200, 38400, 57600, 115200, \
+                                        230400, 460800, 921600, \
+                                        1000000, 2000000, 4000000}
+
 #endif