summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorPhilipp Tomsich <[email protected]>2017-03-17 20:34:53 +0100
committerTom Rini <[email protected]>2017-03-19 14:48:37 -0400
commitf40574e2d78c96a3818c4fa2379382d924866a6e (patch)
treeff286cf5889ab6d452bcbf35eb46b229d1d04cbb /drivers
parent3a649407a49b041ceb826d55b5919dc8297f8965 (diff)
Kconfig: Migrate CONFIG_BAUDRATE
Move this in to Kconfig with a default of 115200. Signed-off-by: Philipp Tomsich <[email protected]> [trini: Run moveconfig.py, reword commit slightly] Signed-off-by: Tom Rini <[email protected]>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/serial/Kconfig9
1 files changed, 9 insertions, 0 deletions
diff --git a/drivers/serial/Kconfig b/drivers/serial/Kconfig
index 7cb0eaab73f..ca56a7e6042 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