xref: /openbmc/linux/arch/nios2/Kconfig.debug (revision adfc8f9d)
1b2441318SGreg Kroah-Hartman# SPDX-License-Identifier: GPL-2.0
22fc8483fSLey Foon Tan
3e8bf5bc7SLey Foon Tanconfig EARLY_PRINTK
4e8bf5bc7SLey Foon Tan	bool "Activate early kernel debugging"
5e8bf5bc7SLey Foon Tan	default y
6*adfc8f9dSRandy Dunlap	depends on TTY
7e8bf5bc7SLey Foon Tan	select SERIAL_CORE_CONSOLE
8e8bf5bc7SLey Foon Tan	help
9*adfc8f9dSRandy Dunlap	  Enable early printk on console.
10e8bf5bc7SLey Foon Tan	  This is useful for kernel debugging when your machine crashes very
11e8bf5bc7SLey Foon Tan	  early before the console code is initialized.
12e8bf5bc7SLey Foon Tan	  You should normally say N here, unless you want to debug such a crash.
13