arm: tegra: enable Tegra WDT for T124
Mitch Luban [Tue, 3 Jun 2014 07:33:10 +0000 (00:33 -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
(cherry picked from commit f8e114de5522ba58a1dbfd151eb147b902c401bc)
Reviewed-on: http://git-master/r/824005
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>

arch/arm/configs/tegra12_android_defconfig

index 02e3413..5eb3b53 100644 (file)
@@ -337,6 +337,9 @@ CONFIG_PALMAS_WATCHDOG=y
 CONFIG_SOFT_PLATFORM_WATCHDOG=y
 CONFIG_TEGRA_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