diff options
author | Ley Foon Tan <lftan@altera.com> | 2015-02-10 16:21:08 +0100 |
---|---|---|
committer | Ley Foon Tan <lftan@altera.com> | 2015-02-10 16:21:08 +0100 |
commit | e8bf5bc776edef44777b13b2eb4461d653519bae (patch) | |
tree | 91626d85686ba2938f0c1fa76633b790a76c3cfc /arch/nios2/Kconfig.debug | |
parent | nios2: Port OOM changes to do_page_fault() (diff) | |
download | linux-e8bf5bc776edef44777b13b2eb4461d653519bae.tar.xz linux-e8bf5bc776edef44777b13b2eb4461d653519bae.zip |
nios2: add early printk support
Signed-off-by: Ley Foon Tan <lftan@altera.com>
Diffstat (limited to 'arch/nios2/Kconfig.debug')
-rw-r--r-- | arch/nios2/Kconfig.debug | 11 |
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 |