msm: Add Watchdog V2 to Kconfig

Allow debugging cpu hangs and deadlocks.

Change-Id: I5aa06af2f94144cdf099d32769e8fbc2c457626f
Signed-off-by: Hanumant Singh <hanumant@codeaurora.org>
This commit is contained in:
Hanumant Singh
2012-07-05 14:21:53 -07:00
committed by Stephen Boyd
parent 4985233666
commit f210a8fbda
2 changed files with 9 additions and 0 deletions

View File

@@ -2072,6 +2072,14 @@ config MSM_WATCHDOG
not run during the bootup process, so it will not catch any early
lockups.
config MSM_WATCHDOG_V2
bool "MSM Watchdog Support"
help
This enables the watchdog module. It causes kernel panic if the
watchdog times out. It allows for detection of cpu hangs and
deadlocks. It does not run during the bootup process, so it will
not catch any early lockups.
config MSM_DLOAD_MODE
bool "Enable download mode on crashes"
depends on ARCH_MSM8X60 || ARCH_MSM8960 || ARCH_MSM9615

View File

@@ -225,6 +225,7 @@ obj-$(CONFIG_ARCH_FSM9XXX) += restart-fsm9xxx.o xo-fsm9xxx.o
obj-$(CONFIG_MSM_WATCHDOG) += msm_watchdog.o
obj-$(CONFIG_MSM_WATCHDOG) += msm_watchdog_asm.o
obj-$(CONFIG_MSM_WATCHDOG_V2) += msm_watchdog_v2.o
obj-$(CONFIG_MACH_MSM8X60_RUMI3) += board-msm8x60.o
obj-$(CONFIG_MACH_MSM8X60_SIM) += board-msm8x60.o
obj-$(CONFIG_MACH_MSM8X60_SURF) += board-msm8x60.o