diff options
author | Rebecca Schultz Zavin <rebecca@android.com> | 2011-01-11 15:35:47 -0800 |
---|---|---|
committer | Dan Willemsen <dwillemsen@nvidia.com> | 2011-11-30 21:36:53 -0800 |
commit | f7ddc6b94d99d639a9b5786c77aeec2d7d8f529e (patch) | |
tree | e67d3376c8f0d05643c74868e8c6f522372410d9 /drivers/watchdog/Kconfig | |
parent | 79ce9284291ff5f57a09debf9eea92adb53a7543 (diff) |
watchdog: tegra_wdt: Several changes to watchdog driver
Add a config option to enable the watchdog driver from probe
Reduce the default timeout to 30 seconds
Read the reset reason and print a messge if the last reboot was
due to watchdog reset
Change-Id: I7500ef236089b06ffcff3d8e7d86a5b9060b59cb
Signed-off-by: Rebecca Schultz Zavin <rebecca@android.com>
Diffstat (limited to 'drivers/watchdog/Kconfig')
-rw-r--r-- | drivers/watchdog/Kconfig | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/drivers/watchdog/Kconfig b/drivers/watchdog/Kconfig index aef91be8e2da..cb460109b95f 100644 --- a/drivers/watchdog/Kconfig +++ b/drivers/watchdog/Kconfig @@ -222,6 +222,12 @@ config TEGRA_WATCHDOG To compile this driver as a module, choose M here: the module will be called tegra_wdt. +config TEGRA_WATCHDOG_ENABLE_ON_PROBE + tristate "Tegra watchdog" + depends on ARCH_TEGRA && TEGRA_WATCHDOG + help + Say Y here to enable the tegra watchdog at driver + probe time, rather than when the device is opened. config EP93XX_WATCHDOG tristate "EP93xx Watchdog" |