| 1 | # SPDX-License-Identifier: GPL-2.0 |
| 2 | |
| 3 | config EARLY_PRINTK |
| 4 | bool "Activate early kernel debugging" |
| 5 | default y |
| 6 | depends on TTY |
| 7 | select SERIAL_CORE_CONSOLE |
| 8 | help |
| 9 | Enable early printk on console. |
| 10 | 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. |