]> git.ipfire.org Git - people/ms/u-boot.git/blobdiff - common/Kconfig
Convert CONFIG_SYS_CONSOLE_OVERWRITE_ROUTINE to Kconfig
[people/ms/u-boot.git] / common / Kconfig
index e78e91829b5398cadc381495d6e5328860060577..69d09ec7628f3b063af46aeecbc553b9be028f22 100644 (file)
@@ -309,6 +309,15 @@ config SYS_CONSOLE_IS_IN_ENV
          environment variables can be updated after boot to change the
          input/output devices.
 
+config SYS_CONSOLE_OVERWRITE_ROUTINE
+       bool "Allow board control over console overwriting"
+       help
+         If this is enabled, and the board-specific function
+         overwrite_console() returns 1, the stdin, stderr and stdout are
+         switched to the serial port, else the settings in the environment
+         are used. If this is not enabled, the console will not be switched
+         to serial.
+
 config SYS_CONSOLE_ENV_OVERWRITE
        bool "Update environment variables during console init"
        help