Merge tag 'vfio-v3.20-rc1' of git://github.com/awilliam/linux-vfio
[firefly-linux-kernel-4.4.55.git] / arch / nios2 / Kconfig.debug
index 8d4e6bacd997b3f687d1262631830a3c73c1f0f6..2fd08cbfdddb2a724db5685d0b7df86d6fe4d9bc 100644 (file)
@@ -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