Merge branch 'linux-linaro-lsk-v4.4' into linux-linaro-lsk-v4.4-android
[firefly-linux-kernel-4.4.55.git] / drivers / staging / android / fiq_debugger / Kconfig
1 config FIQ_DEBUGGER
2         bool "FIQ Mode Serial Debugger"
3         default n
4         depends on ARM || ARM64
5         help
6           The FIQ serial debugger can accept commands even when the
7           kernel is unresponsive due to being stuck with interrupts
8           disabled.
9
10 config FIQ_DEBUGGER_NO_SLEEP
11         bool "Keep serial debugger active"
12         depends on FIQ_DEBUGGER
13         default n
14         help
15           Enables the serial debugger at boot. Passing
16           fiq_debugger.no_sleep on the kernel commandline will
17           override this config option.
18
19 config FIQ_DEBUGGER_WAKEUP_IRQ_ALWAYS_ON
20         bool "Don't disable wakeup IRQ when debugger is active"
21         depends on FIQ_DEBUGGER
22         default n
23         help
24           Don't disable the wakeup irq when enabling the uart clock.  This will
25           cause extra interrupts, but it makes the serial debugger usable with
26           on some MSM radio builds that ignore the uart clock request in power
27           collapse.
28
29 config FIQ_DEBUGGER_CONSOLE
30         bool "Console on FIQ Serial Debugger port"
31         depends on FIQ_DEBUGGER
32         default n
33         help
34           Enables a console so that printk messages are displayed on
35           the debugger serial port as the occur.
36
37 config FIQ_DEBUGGER_CONSOLE_DEFAULT_ENABLE
38         bool "Put the FIQ debugger into console mode by default"
39         depends on FIQ_DEBUGGER_CONSOLE
40         default n
41         help
42           If enabled, this puts the fiq debugger into console mode by default.
43           Otherwise, the fiq debugger will start out in debug mode.
44
45 config FIQ_DEBUGGER_UART_OVERLAY
46         bool "Install uart DT overlay"
47         depends on FIQ_DEBUGGER
48         select OF_OVERLAY
49         default n
50         help
51           If enabled, fiq debugger is calling fiq_debugger_uart_overlay()
52           that will apply overlay uart_overlay@0 to disable proper uart.
53
54 config FIQ_WATCHDOG
55         bool
56         select FIQ_DEBUGGER
57         select PSTORE_RAM
58         default n