config_fallback: update CONFIG_SYS_BAUDRATE_TABLE
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
@@ -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
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
@@ -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
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
Signed-off-by Christian Gmeiner <[email protected]>--- include/configs/x86-common.h | 2 -- 1 file changed, 2 deletions(-)
Regards,
Bin
PATCH 1/2 config_fallback: update CONFIG_SYS_BAUDRATE_TABLE
In reply to Christian GmeinerHi Christian,
Quoted 13 lines · Christian Gmeiner
Take the values from
x86-common.has inspiration.Signed-off-by Christian Gmeiner <[email protected]>--- include/config_fallbacks.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)include/config_fallbacks.h +0
-0
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
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.has inspiration.Signed-off-by Christian Gmeiner <[email protected]>--- include/config_fallbacks.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)include/config_fallbacks.h +0
-0@@ -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