]> rtime.felk.cvut.cz Git - sojka/nv-tegra/linux-3.10.git/commitdiff
arm: tegra: enable Tegra WDT for T124
authorMitch Luban <mluban@nvidia.com>
Tue, 3 Jun 2014 07:33:10 +0000 (00:33 -0700)
committerHarshada Kale <hkale@nvidia.com>
Tue, 17 Jun 2014 11:44:41 +0000 (04:44 -0700)
Enables both tegra WDT as well as reboot on kernel panic. Reboot
on kernel panic has a timeout value of 60 seconds.

These mechanisms give us a high chance that we have DRAM retention
across resets. Important to gather ramoops and PTM traces.

Change-Id: If5f80c422e511f72430beaf83072a0e2f0b551d7
Signed-off-by: Mitch Luban <mluban@nvidia.com>
Reviewed-on: http://git-master/r/419514
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Thomas Cherry <tcherry@nvidia.com>
arch/arm/configs/tegra12_android_defconfig

index aec343b8a3efd52cece6502333f5f0bb6b6255df..ef26c70a8ac7757fd6cac0c0c0d9202117f2c70d 100644 (file)
@@ -323,6 +323,9 @@ CONFIG_WATCHDOG_CORE=y
 CONFIG_WATCHDOG_NOWAYOUT=y
 CONFIG_PALMAS_WATCHDOG=y
 CONFIG_MAX77660_SYSTEM_WATCHDOG=y
+CONFIG_TEGRA_WATCHDOG=y
+CONFIG_TEGRA_WATCHDOG_ENABLE_ON_PROBE=y
+CONFIG_PANIC_TIMEOUT=5
 CONFIG_GPADC_TPS80031=y
 CONFIG_AIC3XXX_CORE=y
 CONFIG_MFD_RC5T583=y