diff mbox

[U-Boot,1/3] Kconfig: make CONFIG_BAUDRATE a first-class citizen

Message ID 1489779295-18612-2-git-send-email-philipp.tomsich@theobroma-systems.com
State Superseded
Delegated to: Tom Rini
Headers show

Commit Message

Philipp Tomsich March 17, 2017, 7:34 p.m. UTC
Signed-off-by: Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
---

 drivers/serial/Kconfig | 9 +++++++++
 1 file changed, 9 insertions(+)

Comments

Tom Rini March 19, 2017, 4:14 p.m. UTC | #1
On Fri, Mar 17, 2017 at 08:34:53PM +0100, Philipp Tomsich wrote:

> Signed-off-by: Philipp Tomsich <philipp.tomsich@theobroma-systems.com>

I'll migrate this and reword the commit slightly, thanks!
diff mbox

Patch

diff --git a/drivers/serial/Kconfig b/drivers/serial/Kconfig
index b11f3ff..d570a2b 100644
--- a/drivers/serial/Kconfig
+++ b/drivers/serial/Kconfig
@@ -4,6 +4,15 @@ 
 
 menu "Serial drivers"
 
+config BAUDRATE
+        int "Default baudrate"
+	default 115200
+	help
+	  Select a default baudrate, where "default" has a driver-specific
+	  meaning of either setting the baudrate for the early debug UART
+	  in the SPL stage (most drivers) or for choosing a default baudrate
+	  in the absence of an environment setting (serial_mxc.c).
+
 config REQUIRE_SERIAL_CONSOLE
 	bool "Require a serial port for console"
 	# Running without a serial console is not supported by the