Re: [PATCH 3/5] serial: Use the default CONFIG_SYS_BAUDRATE_TABLE in more platforms

2021-10-02 Thread Tom Rini
On Mon, Sep 13, 2021 at 05:24:53PM -0400, Tom Rini wrote:

> A number of platforms are still defining CONFIG_SYS_BAUDRATE_TABLE to
> the fallback default of "{ 9600, 19200, 38400, 57600, 115200 }", but
> with varying whitespace, or were introduced after the default fallback
> was added.  Use the default table here.
> 
> Signed-off-by: Tom Rini 

Applied to u-boot/next, thanks!

-- 
Tom


signature.asc
Description: PGP signature


[PATCH 3/5] serial: Use the default CONFIG_SYS_BAUDRATE_TABLE in more platforms

2021-09-13 Thread Tom Rini
A number of platforms are still defining CONFIG_SYS_BAUDRATE_TABLE to
the fallback default of "{ 9600, 19200, 38400, 57600, 115200 }", but
with varying whitespace, or were introduced after the default fallback
was added.  Use the default table here.

Signed-off-by: Tom Rini 
---
 include/configs/amcore.h  | 1 -
 include/configs/ap121.h   | 3 ---
 include/configs/ap143.h   | 2 --
 include/configs/ap152.h   | 2 --
 include/configs/cm_fx6.h  | 1 -
 include/configs/kontron_sl28.h| 1 -
 include/configs/ls1012a_common.h  | 2 --
 include/configs/ls1028a_common.h  | 2 --
 include/configs/ls1043a_common.h  | 2 --
 include/configs/ls1046a_common.h  | 2 --
 include/configs/ls1088a_common.h  | 2 --
 include/configs/ls2080a_common.h  | 2 --
 include/configs/lx2160a_common.h  | 1 -
 include/configs/mt7620.h  | 3 ---
 include/configs/s5p4418_nanopi2.h | 1 -
 include/configs/stmark2.h | 1 -
 include/configs/synquacer.h   | 2 --
 include/configs/tplink_wdr4300.h  | 2 --
 include/configs/vexpress_common.h | 1 -
 include/configs/xtfpga.h  | 1 -
 20 files changed, 34 deletions(-)

diff --git a/include/configs/amcore.h b/include/configs/amcore.h
index 4fd02cd75da4..f70252e1cd28 100644
--- a/include/configs/amcore.h
+++ b/include/configs/amcore.h
@@ -13,7 +13,6 @@
 #define CONFIG_MCFTMR
 #define CONFIG_MCFUART
 #define CONFIG_SYS_UART_PORT   0
-#define CONFIG_SYS_BAUDRATE_TABLE  { 9600, 19200, 38400, 57600, 115200 }
 
 #define CONFIG_BOOTCOMMAND "bootm ffc2"
 #define CONFIG_EXTRA_ENV_SETTINGS  \
diff --git a/include/configs/ap121.h b/include/configs/ap121.h
index fb2a0b33cc04..f3fc53ba484f 100644
--- a/include/configs/ap121.h
+++ b/include/configs/ap121.h
@@ -21,9 +21,6 @@
 #define CONFIG_SYS_INIT_SP_ADDR \
(CONFIG_SYS_INIT_RAM_ADDR + CONFIG_SYS_INIT_RAM_SIZE - 1)
 
-#define CONFIG_SYS_BAUDRATE_TABLE \
-   {9600, 19200, 38400, 57600, 115200}
-
 #define CONFIG_BOOTCOMMAND  "sf probe;" \
"mtdparts default;" \
"bootm 0x9f65"
diff --git a/include/configs/ap143.h b/include/configs/ap143.h
index bb9544b8e74e..fa13a801b771 100644
--- a/include/configs/ap143.h
+++ b/include/configs/ap143.h
@@ -25,8 +25,6 @@
  * Serial Port
  */
 #define CONFIG_SYS_NS16550_CLK  2500
-#define CONFIG_SYS_BAUDRATE_TABLE \
-   {9600, 19200, 38400, 57600, 115200}
 
 #define CONFIG_BOOTCOMMAND  "sf probe;" \
"mtdparts default;" \
diff --git a/include/configs/ap152.h b/include/configs/ap152.h
index 766f10b6beac..3eaf19283bba 100644
--- a/include/configs/ap152.h
+++ b/include/configs/ap152.h
@@ -25,8 +25,6 @@
  * Serial Port
  */
 #define CONFIG_SYS_NS16550_CLK  2500
-#define CONFIG_SYS_BAUDRATE_TABLE \
-   {9600, 19200, 38400, 57600, 115200}
 
 #define CONFIG_BOOTCOMMAND  "sf probe;" \
"mtdparts default;" \
diff --git a/include/configs/cm_fx6.h b/include/configs/cm_fx6.h
index a22fd0ee1fe9..d40c3a9c3e54 100644
--- a/include/configs/cm_fx6.h
+++ b/include/configs/cm_fx6.h
@@ -32,7 +32,6 @@
 
 /* Serial console */
 #define CONFIG_MXC_UART_BASE   UART4_BASE
-#define CONFIG_SYS_BAUDRATE_TABLE  {9600, 19200, 38400, 57600, 115200}
 
 /* Environment */
 
diff --git a/include/configs/kontron_sl28.h b/include/configs/kontron_sl28.h
index 438a189702d4..6769592101de 100644
--- a/include/configs/kontron_sl28.h
+++ b/include/configs/kontron_sl28.h
@@ -45,7 +45,6 @@
 
 /* serial port */
 #define CONFIG_SYS_NS16550_CLK  (get_bus_freq(0) / 2)
-#define CONFIG_SYS_BAUDRATE_TABLE  { 9600, 19200, 38400, 57600, 115200 }
 
 #define CONFIG_SYS_CLK_FREQ1
 #define COUNTER_FREQUENCY_REAL (CONFIG_SYS_CLK_FREQ / 4)
diff --git a/include/configs/ls1012a_common.h b/include/configs/ls1012a_common.h
index 1edea0a2b2f3..8a49f2d0075d 100644
--- a/include/configs/ls1012a_common.h
+++ b/include/configs/ls1012a_common.h
@@ -59,8 +59,6 @@
 #define CONFIG_SYS_NS16550_REG_SIZE 1
 #define CONFIG_SYS_NS16550_CLK  (get_serial_clock())
 
-#define CONFIG_SYS_BAUDRATE_TABLE  { 9600, 19200, 38400, 57600, 115200 }
-
 #define CONFIG_SYS_HZ  1000
 
 #define CONFIG_HWCONFIG
diff --git a/include/configs/ls1028a_common.h b/include/configs/ls1028a_common.h
index 50edefb36324..1401264f9316 100644
--- a/include/configs/ls1028a_common.h
+++ b/include/configs/ls1028a_common.h
@@ -45,8 +45,6 @@
 #define CONFIG_SYS_NS16550_REG_SIZE 1
 #define CONFIG_SYS_NS16550_CLK  (get_bus_freq(0) / 2)
 
-#define CONFIG_SYS_BAUDRATE_TABLE  { 9600, 19200, 38400, 57600, 115200 }
-
 /* Miscellaneous configurable options */
 
 /* Physical Memory Map */
diff --git a/include/configs/ls1043a_common.h b/include/configs/ls1043a_common.h
index f6909d05a043..14f72520034e 100644
---