[PATCH v3 03/13] stm32mp1: Add support for baudrates higher than 115200
Alexandru Gagniuc
mr.nuke.me at gmail.com
Fri Oct 8 21:56:45 CEST 2021
The UART can reliably go up to 2000000 baud when connected to the
on-board st-link. Unfortunately u-boot will fall back to 115200 unless
higher rates are declared via CONFIG_SYS_BAUDRATE_TABLE.
Signed-off-by: Alexandru Gagniuc <mr.nuke.me at gmail.com>
Reviewed-by: Patrick Delaunay <patrick.delaunay at foss.st.com>
---
include/configs/stm32mp1.h | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/include/configs/stm32mp1.h b/include/configs/stm32mp1.h
index 06cd153d13..b12896bc07 100644
--- a/include/configs/stm32mp1.h
+++ b/include/configs/stm32mp1.h
@@ -16,6 +16,10 @@
#define CONFIG_ARMV7_SECURE_MAX_SIZE STM32_SYSRAM_SIZE
#endif
+#define CONFIG_SYS_BAUDRATE_TABLE { 9600, 19200, 38400, 57600, 115200, \
+ 230400, 460800, 921600, \
+ 1000000, 2000000 }
+
/*
* Configuration of the external SRAM memory used by U-Boot
*/
--
2.31.1
More information about the U-Boot
mailing list