console: Add higher baud rates
Enable baud rates of 230400, 460800 and 921600. Leave the default set to 115200. TEST=Build and run on Galileo at 921600. Change-Id: I8e3980f33665bc183b454cf97c68e297f1b0502c Signed-off-by: Lee Leahy <leroy.p.leahy@intel.com> Reviewed-on: https://review.coreboot.org/13755 Tested-by: build bot (Jenkins) Reviewed-by: Stefan Reinauer <stefan.reinauer@coreboot.org> Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net>
This commit is contained in:
@ -73,6 +73,18 @@ choice
|
|||||||
prompt "Baud rate"
|
prompt "Baud rate"
|
||||||
default CONSOLE_SERIAL_115200
|
default CONSOLE_SERIAL_115200
|
||||||
|
|
||||||
|
config CONSOLE_SERIAL_921600
|
||||||
|
bool "921600"
|
||||||
|
help
|
||||||
|
Set serial port Baud rate to 921600.
|
||||||
|
config CONSOLE_SERIAL_460800
|
||||||
|
bool "460800"
|
||||||
|
help
|
||||||
|
Set serial port Baud rate to 460800.
|
||||||
|
config CONSOLE_SERIAL_230400
|
||||||
|
bool "230400"
|
||||||
|
help
|
||||||
|
Set serial port Baud rate to 230400.
|
||||||
config CONSOLE_SERIAL_115200
|
config CONSOLE_SERIAL_115200
|
||||||
bool "115200"
|
bool "115200"
|
||||||
help
|
help
|
||||||
@ -99,6 +111,9 @@ endchoice
|
|||||||
#FIXME(dhendrix): Change name to SERIAL_BAUD? (Stefan sayz: yes!!)
|
#FIXME(dhendrix): Change name to SERIAL_BAUD? (Stefan sayz: yes!!)
|
||||||
config TTYS0_BAUD
|
config TTYS0_BAUD
|
||||||
int
|
int
|
||||||
|
default 921600 if CONSOLE_SERIAL_921600
|
||||||
|
default 460800 if CONSOLE_SERIAL_460800
|
||||||
|
default 230400 if CONSOLE_SERIAL_230400
|
||||||
default 115200 if CONSOLE_SERIAL_115200
|
default 115200 if CONSOLE_SERIAL_115200
|
||||||
default 57600 if CONSOLE_SERIAL_57600
|
default 57600 if CONSOLE_SERIAL_57600
|
||||||
default 38400 if CONSOLE_SERIAL_38400
|
default 38400 if CONSOLE_SERIAL_38400
|
||||||
|
Reference in New Issue
Block a user