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

Philipp Tomsich philipp.tomsich at theobroma-systems.com
Fri Mar 17 19:34:53 UTC 2017


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

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

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
-- 
1.9.1



More information about the U-Boot mailing list