summaryrefslogtreecommitdiffstats
path: root/arch/nios2/Kconfig.debug
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2015-02-17 14:23:42 -0800
committerLinus Torvalds <torvalds@linux-foundation.org>2015-02-17 14:23:42 -0800
commitb0f0c26a2ed49eccf98a011b86fe24fb9f2b35f6 (patch)
treead2efaa0ab0459257948127c56d4a7747cbefa11 /arch/nios2/Kconfig.debug
parent99fa0ad92c4fd8b529c89b3640b42323984be761 (diff)
parentd16d2be111a61baf3a4696f07bfc7a8e36697cec (diff)
downloadblackbird-op-linux-b0f0c26a2ed49eccf98a011b86fe24fb9f2b35f6.tar.gz
blackbird-op-linux-b0f0c26a2ed49eccf98a011b86fe24fb9f2b35f6.zip
Merge tag 'nios2-v3.20-rc1' of git://git.rocketboards.org/linux-socfpga-next
Pull arch/nios2 update from Ley Foon Tan: "Here is the nios2 update for 3.20: - add early printk support - add kgdb support - add compressed kernel support - bugfixes" * tag 'nios2-v3.20-rc1' of git://git.rocketboards.org/linux-socfpga-next: nios2: add kgdb support MAINTAINERS: update arch/nios2 git tree nios2: default CONFIG_NIOS2_BOOT_LINK_OFFSET to 8MB nios2: Add support for compressed kernel nios2: add early printk support nios2: Port OOM changes to do_page_fault() nios2: Remove unused prepare_to_copy()
Diffstat (limited to 'arch/nios2/Kconfig.debug')
-rw-r--r--arch/nios2/Kconfig.debug11
1 files changed, 11 insertions, 0 deletions
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
OpenPOWER on IntegriCloud