blob: ca1beb87f987c6e4161892a67fa8bd13a00f6252 [file] [log] [blame]
Greg Kroah-Hartmanb2441312017-11-01 15:07:57 +01001# SPDX-License-Identifier: GPL-2.0
Ley Foon Tan2fc84832014-11-06 15:20:19 +08002
Ley Foon Tane8bf5bc2015-02-10 23:21:08 +08003config EARLY_PRINTK
4 bool "Activate early kernel debugging"
5 default y
Randy Dunlapadfc8f92021-09-23 17:29:39 -07006 depends on TTY
Ley Foon Tane8bf5bc2015-02-10 23:21:08 +08007 select SERIAL_CORE_CONSOLE
Ley Foon Tane8bf5bc2015-02-10 23:21:08 +08008 help
Randy Dunlapadfc8f92021-09-23 17:29:39 -07009 Enable early printk on console.
Ley Foon Tane8bf5bc2015-02-10 23:21:08 +080010 This is useful for kernel debugging when your machine crashes very
11 early before the console code is initialized.
12 You should normally say N here, unless you want to debug such a crash.