summaryrefslogtreecommitdiff
path: root/include/configs
diff options
context:
space:
mode:
authorPali Rohár <pali@kernel.org>2021-05-25 19:42:42 +0200
committerStefan Roese <sr@denx.de>2021-07-08 16:40:52 +0200
commit7d9e9f582790d2572f6aff366043306a7e5c7767 (patch)
tree4c280c156138e1622212090936eb73d36898a798 /include/configs
parent8214728e4fe6f4ed495a5f85d0fc921cef77e0e9 (diff)
downloadu-boot-7d9e9f582790d2572f6aff366043306a7e5c7767.tar.gz
u-boot-7d9e9f582790d2572f6aff366043306a7e5c7767.tar.bz2
u-boot-7d9e9f582790d2572f6aff366043306a7e5c7767.zip
arm: mvebu: a37xx: Enable more baudrates
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>
Diffstat (limited to 'include/configs')
-rw-r--r--include/configs/mvebu_armada-37xx.h9
-rw-r--r--include/configs/turris_mox.h9
2 files changed, 14 insertions, 4 deletions
diff --git a/include/configs/mvebu_armada-37xx.h b/include/configs/mvebu_armada-37xx.h
index 2ad4325eaf..a2bea2947d 100644
--- a/include/configs/mvebu_armada-37xx.h
+++ b/include/configs/mvebu_armada-37xx.h
@@ -17,8 +17,13 @@
#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
diff --git a/include/configs/turris_mox.h b/include/configs/turris_mox.h
index 9c021a1ef9..6712839823 100644
--- a/include/configs/turris_mox.h
+++ b/include/configs/turris_mox.h
@@ -22,8 +22,13 @@
/* 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