]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
arm: mvebu: a37xx: Enable more baudrates
authorPali Rohár <pali@kernel.org>
Tue, 25 May 2021 17:42:42 +0000 (19:42 +0200)
committerStefan Roese <sr@denx.de>
Thu, 8 Jul 2021 14:40:52 +0000 (16:40 +0200)
Extend CONFIG_SYS_BAUDRATE_TABLE and include all standard baudrates and
also nonstandard up to the 6 MBaud. U-Boot's A3720 UART driver can use
baudrates from 300 Baud to 6 MBaud.

This changes all A3720 boards, since all of them include either
mvebu_armada-37xx.h or turris_mox.h config file.

Signed-off-by: Pali Rohár <pali@kernel.org>
Reviewed-by: Marek Behún <marek.behun@nic.cz>
Reviewed-by: Stefan Roese <sr@denx.de>
include/configs/mvebu_armada-37xx.h
include/configs/turris_mox.h

index 2ad4325eaf54b0861a7e0d9b168c3a53d0db8b9b..a2bea2947dd15102c67ce096f41019a1e2ec6913 100644 (file)
 
 #define CONFIG_SYS_BOOTM_LEN   SZ_64M /* Increase max gunzip size */
 
-#define CONFIG_SYS_BAUDRATE_TABLE      { 9600, 19200, 38400, 57600, \
-                                         115200, 230400, 460800, 921600 }
+#define CONFIG_SYS_BAUDRATE_TABLE      { 300, 600, 1200, 1800, 2400, 4800, \
+                                         9600, 19200, 38400, 57600, 115200, \
+                                         230400, 460800, 500000, 576000, \
+                                         921600, 1000000, 1152000, 1500000, \
+                                         2000000, 2500000, 3000000, 3500000, \
+                                         4000000, 4500000, 5000000, 5500000, \
+                                         6000000 }
 
 /*
  * For booting Linux, the board info and command line data
index 9c021a1ef94c20f7a707c1ebe09c0cf18f4a4035..671283982356f9f4505f0fb8e3e83cd3ee248ff1 100644 (file)
 
 /* auto boot */
 
-#define CONFIG_SYS_BAUDRATE_TABLE      { 9600, 19200, 38400, 57600, \
-                                         115200, 230400, 460800, 921600 }
+#define CONFIG_SYS_BAUDRATE_TABLE      { 300, 600, 1200, 1800, 2400, 4800, \
+                                         9600, 19200, 38400, 57600, 115200, \
+                                         230400, 460800, 500000, 576000, \
+                                         921600, 1000000, 1152000, 1500000, \
+                                         2000000, 2500000, 3000000, 3500000, \
+                                         4000000, 4500000, 5000000, 5500000, \
+                                         6000000 }
 
 /*
  * For booting Linux, the board info and command line data