From cda71b8dea96dc4f2567ee1638a5968ba29b8ac5 Mon Sep 17 00:00:00 2001 From: Lee Leahy Date: Sat, 20 Feb 2016 05:39:10 -0800 Subject: [PATCH] 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 Reviewed-on: https://review.coreboot.org/13755 Tested-by: build bot (Jenkins) Reviewed-by: Stefan Reinauer Reviewed-by: Paul Menzel --- src/console/Kconfig | 15 +++++++++++++++ 1 file changed, 15 insertions(+) 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