[coreboot-gerrit] Patch set updated for coreboot: console: Add higher baud rates

Leroy P Leahy (leroy.p.leahy@intel.com) gerrit at coreboot.org
Sun Feb 21 03:08:23 CET 2016


Leroy P Leahy (leroy.p.leahy at intel.com) just uploaded a new patch set to gerrit, which you can find at https://review.coreboot.org/13755

-gerrit

commit e8267cc115d53c00ff4dd4b0e46347c98ab1f5b1
Author: Lee Leahy <leroy.p.leahy at intel.com>
Date:   Sat Feb 20 05:39:10 2016 -0800

    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 at intel.com>
---
 src/console/Kconfig | 15 +++++++++++++++
 1 file changed, 15 insertions(+)

diff --git a/src/console/Kconfig b/src/console/Kconfig
index 83adc4f..847d17e 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



More information about the coreboot-gerrit mailing list