watchdog: tegra: add tegra11x support
Xin Xie [Tue, 19 Feb 2013 19:21:37 +0000 (11:21 -0800)]
bug 1239979

Change-Id: I4ca7e4682bf2b27254024f9e8236c7e8868b4e73
Signed-off-by: Xin Xie <xxie@nvidia.com>
Reviewed-on: http://git-master/r/202740
(cherry picked from commit ddeeb47d676652dacfba7edf79fb423e48513a31)
Reviewed-on: http://git-master/r/205284
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>

drivers/watchdog/tegra_wdt.c

index 2db8251..b82a52c 100644 (file)
@@ -3,7 +3,7 @@
  *
  * watchdog driver for NVIDIA tegra internal watchdog
  *
- * Copyright (c) 2012, NVIDIA Corporation.
+ * Copyright (c) 2012-2013, NVIDIA Corporation. All rights reserved.
  *
  * based on drivers/watchdog/softdog.c and drivers/watchdog/omap_wdt.c
  *
@@ -118,7 +118,7 @@ static irqreturn_t tegra_wdt_interrupt(int irq, void *dev_id)
        writel(TIMER_PCR_INTR, wdt->wdt_timer + TIMER_PCR);
        return IRQ_HANDLED;
 }
-#elif defined(CONFIG_ARCH_TEGRA_3x_SOC)
+#elif defined(CONFIG_ARCH_TEGRA_3x_SOC) || defined(CONFIG_ARCH_TEGRA_11x_SOC)
 
 #define TIMER_PTV                      0
  #define TIMER_EN                      (1 << 31)