X-Git-Url: http://demsky.eecs.uci.edu/git/?a=blobdiff_plain;f=arch%2Fnios2%2FKconfig.debug;h=2fd08cbfdddb2a724db5685d0b7df86d6fe4d9bc;hb=c189cb8ef62832f33b6cf757350a0270532a1ad8;hp=8d4e6bacd997b3f687d1262631830a3c73c1f0f6;hpb=3b421b80be635d696848b72d3c7700a0e5ee3414;p=firefly-linux-kernel-4.4.55.git diff --git a/arch/nios2/Kconfig.debug b/arch/nios2/Kconfig.debug index 8d4e6bacd997..2fd08cbfdddb 100644 --- a/arch/nios2/Kconfig.debug +++ b/arch/nios2/Kconfig.debug @@ -14,4 +14,15 @@ config DEBUG_STACK_USAGE This option will slow down process creation somewhat. +config EARLY_PRINTK + bool "Activate early kernel debugging" + default y + select SERIAL_CORE_CONSOLE + depends on SERIAL_ALTERA_JTAGUART_CONSOLE || SERIAL_ALTERA_UART_CONSOLE + help + Enable early printk on console + This is useful for kernel debugging when your machine crashes very + early before the console code is initialized. + You should normally say N here, unless you want to debug such a crash. + endmenu