]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - drivers/serial/Kconfig
dm: serial: Add a REQUIRE_SERIAL_CONSOLE option for boards with no serial port
[karo-tx-uboot.git] / drivers / serial / Kconfig
index fd126a825f29b8abedfb70de752a327e1bf516cb..a880eacfaf7149b8149bf7d8db006d7b4adfea56 100644 (file)
@@ -1,3 +1,14 @@
+config REQUIRE_SERIAL_CONSOLE
+       bool "Require a serial port for console"
+       # Running without a serial console is not supported by the
+       # non-dm serial code
+       depends on DM_SERIAL
+       default y
+       help
+         Require a serial port for the console, and panic if none is found
+         during serial port initialization (default y). Set this to n on
+         boards which have no debug serial port whatsoever.
+
 config DM_SERIAL
        bool "Enable Driver Model for serial drivers"
        depends on DM