aboutsummaryrefslogtreecommitdiff
path: root/src/console/Kconfig
diff options
context:
space:
mode:
authorLee Leahy <leroy.p.leahy@intel.com>2016-02-20 05:39:10 -0800
committerLeroy P Leahy <leroy.p.leahy@intel.com>2016-02-22 02:39:07 +0100
commitcda71b8dea96dc4f2567ee1638a5968ba29b8ac5 (patch)
tree2eddec6a59418e7a516a4c99943501a3c861e590 /src/console/Kconfig
parent63cf7cd258ee17c6913578a17a58d19fb78e5386 (diff)
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>
Diffstat (limited to 'src/console/Kconfig')
-rw-r--r--src/console/Kconfig15
1 files changed, 15 insertions, 0 deletions
diff --git a/src/console/Kconfig b/src/console/Kconfig
index 83adc4f01c..847d17e1eb 100644
--- a/src/console/Kconfig
+++ b/src/console/Kconfig
@@ -73,6 +73,18 @@ choice
prompt "Baud rate"
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
bool "115200"
help
@@ -99,6 +111,9 @@ endchoice
#FIXME(dhendrix): Change name to SERIAL_BAUD? (Stefan sayz: yes!!)
config TTYS0_BAUD
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 57600 if CONSOLE_SERIAL_57600
default 38400 if CONSOLE_SERIAL_38400