summaryrefslogtreecommitdiff
path: root/drivers/serial/Kconfig
diff options
context:
space:
mode:
authorPhilipp Tomsich <philipp.tomsich@theobroma-systems.com>2017-03-17 19:34:53 (GMT)
committerTom Rini <trini@konsulko.com>2017-03-19 18:48:37 (GMT)
commitf40574e2d78c96a3818c4fa2379382d924866a6e (patch)
treeff286cf5889ab6d452bcbf35eb46b229d1d04cbb /drivers/serial/Kconfig
parent3a649407a49b041ceb826d55b5919dc8297f8965 (diff)
downloadu-boot-fsl-qoriq-f40574e2d78c96a3818c4fa2379382d924866a6e.tar.xz
Kconfig: Migrate CONFIG_BAUDRATE
Move this in to Kconfig with a default of 115200. Signed-off-by: Philipp Tomsich <philipp.tomsich@theobroma-systems.com> [trini: Run moveconfig.py, reword commit slightly] Signed-off-by: Tom Rini <trini@konsulko.com>
Diffstat (limited to 'drivers/serial/Kconfig')
-rw-r--r--drivers/serial/Kconfig9
1 files changed, 9 insertions, 0 deletions
diff --git a/drivers/serial/Kconfig b/drivers/serial/Kconfig
index 7cb0eaa..ca56a7e 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