blob: 60fc224d4efc7894058832c5447de957c1304415 [file] [log] [blame]
Colin Cross66bbef22014-04-02 18:30:04 -07001config FIQ_DEBUGGER
2 bool "FIQ Mode Serial Debugger"
3 default n
Colin Cross516b14d2014-04-02 18:49:39 -07004 depends on ARM || ARM64
Colin Cross66bbef22014-04-02 18:30:04 -07005 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
10config 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
19config 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
29config 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
37config 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.
Arve Hjønnevåg60c384b2014-05-02 20:31:07 -070044
Dmitry Shmidtcaff55c2016-05-04 13:51:38 -070045config 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
Arve Hjønnevåg60c384b2014-05-02 20:31:07 -070054config FIQ_WATCHDOG
55 bool
56 select FIQ_DEBUGGER
57 select PSTORE_RAM
58 default n