Skip to contentSkip to conversation

config_fallback: update CONFIG_SYS_BAUDRATE_TABLE

PATCH New Christian Gmeiner 2 participants 5 messages Sep 6, 2018

lore
Share & tools
lore
#0 lore raw

PATCH 1/2 config_fallback: update CONFIG_SYS_BAUDRATE_TABLE

Take the values from x86-common.h as inspiration.

---
 include/config_fallbacks.h | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
include/config_fallbacks.h +2 -1
index c18f19a550..4c1bdf5ee5 100644
@@ -26,7 +26,8 @@
 #endif
 
 #ifndef CONFIG_SYS_BAUDRATE_TABLE
-#define CONFIG_SYS_BAUDRATE_TABLE	{ 9600, 19200, 38400, 57600, 115200 }
+#define CONFIG_SYS_BAUDRATE_TABLE	{ 300, 600, 1200, 2400, 4800, \
+					9600, 19200, 38400, 57600, 115200 }
 #endif
 
 /* Console I/O Buffer Size */
Signature · 1 line
2.17.1
#1 lore raw

PATCH 2/2 x86_common: drop custom CONFIG_SYS_BAUDRATE_TABLE

---
 include/configs/x86-common.h | 2 --
 1 file changed, 2 deletions(-)
include/configs/x86-common.h +0 -2
index f0b027e69c..78c382de0c 100644
@@ -47,8 +47,6 @@
 /*-----------------------------------------------------------------------
  * Serial Configuration
  */
-#define CONFIG_SYS_BAUDRATE_TABLE	{300, 600, 1200, 2400, 4800, \
-					 9600, 19200, 38400, 115200}
 #define CONFIG_SYS_NS16550_PORT_MAPPED
 
 /*-----------------------------------------------------------------------
Signature · 1 line
2.17.1
#2 lore raw

PATCH 2/2 x86_common: drop custom CONFIG_SYS_BAUDRATE_TABLE

Quoted 1 line · Christian Gmeiner

I would use "x86" instead of "x86_common" in the commit title.

Quoted 5 lines
---
 include/configs/x86-common.h | 2 --
 1 file changed, 2 deletions(-)

Regards,
Bin

#3 lore raw

PATCH 1/2 config_fallback: update CONFIG_SYS_BAUDRATE_TABLE

In reply to Christian Gmeiner

Hi Christian,

Quoted 13 lines · Christian Gmeiner

Take the values from x86-common.h as inspiration.

---
 include/config_fallbacks.h | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
include/config_fallbacks.h +0 -0
index c18f19a550..4c1bdf5ee5 100644

include/config_fallbacks.h line 29

Quoted 5 lines
include/config_fallbacks.h +1 -1
@@ -26,7 +26,8 @@
 #endif
 
 #ifndef CONFIG_SYS_BAUDRATE_TABLE
-#define CONFIG_SYS_BAUDRATE_TABLE      { 9600, 19200, 38400, 57600, 115200 }
+#define CONFIG_SYS_BAUDRATE_TABLE      { 300, 600, 1200, 2400, 4800, \

I don't see a value to bring in 300/600/1200 etc .

include/config_fallbacks.h

Quoted 5 lines
include/config_fallbacks.h +1 -1
+                                       9600, 19200, 38400, 57600, 115200 }
 #endif
 
 /* Console I/O Buffer Size */
--

Regards,
Bin

#4 lore raw

PATCH 1/2 config_fallback: update CONFIG_SYS_BAUDRATE_TABLE

Am Do., 6. Sep. 2018 um 09:58 Uhr schrieb Bin Meng <[email protected]>:

Quoted 20 lines

Hi Christian,

Quoted 15 lines · Christian Gmeiner

Take the values from x86-common.h as inspiration.

---
 include/config_fallbacks.h | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
include/config_fallbacks.h +0 -0
index c18f19a550..4c1bdf5ee5 100644
@@ -26,7 +26,8 @@
 #endif
 
Quoted 6 lines

include/config_fallbacks.h line 29

Quoted 3 lines
include/config_fallbacks.h +1 -1
 #ifndef CONFIG_SYS_BAUDRATE_TABLE
-#define CONFIG_SYS_BAUDRATE_TABLE      { 9600, 19200, 38400, 57600, 115200 }
+#define CONFIG_SYS_BAUDRATE_TABLE      { 300, 600, 1200, 2400, 4800, \

I don't see a value to bring in 300/600/1200 etc .

I just copied the table from x86 - I am fine with dropping these baud rates them.

Quoted 6 lines
Quoted 5 lines
include/config_fallbacks.h +1 -1
+                                       9600, 19200, 38400, 57600, 115200 }
 #endif
 
 /* Console I/O Buffer Size */
--
Signature · 5 lines
greets
--
Christian Gmeiner, MSc

https://christian-gmeiner.info