diff options
Diffstat (limited to 'drivers/watchdog')
-rw-r--r-- | drivers/watchdog/orion5x_wdt.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/drivers/watchdog/orion5x_wdt.c b/drivers/watchdog/orion5x_wdt.c index 2cde568e4fb0..d2dc9762a8c9 100644 --- a/drivers/watchdog/orion5x_wdt.c +++ b/drivers/watchdog/orion5x_wdt.c | |||
@@ -73,9 +73,9 @@ static void orion5x_wdt_enable(void) | |||
73 | writel(reg, TIMER_CTRL); | 73 | writel(reg, TIMER_CTRL); |
74 | 74 | ||
75 | /* Enable reset on watchdog */ | 75 | /* Enable reset on watchdog */ |
76 | reg = readl(CPU_RESET_MASK); | 76 | reg = readl(RSTOUTn_MASK); |
77 | reg |= WDT_RESET; | 77 | reg |= WDT_RESET_OUT_EN; |
78 | writel(reg, CPU_RESET_MASK); | 78 | writel(reg, RSTOUTn_MASK); |
79 | 79 | ||
80 | spin_unlock(&wdt_lock); | 80 | spin_unlock(&wdt_lock); |
81 | } | 81 | } |
@@ -87,9 +87,9 @@ static void orion5x_wdt_disable(void) | |||
87 | spin_lock(&wdt_lock); | 87 | spin_lock(&wdt_lock); |
88 | 88 | ||
89 | /* Disable reset on watchdog */ | 89 | /* Disable reset on watchdog */ |
90 | reg = readl(CPU_RESET_MASK); | 90 | reg = readl(RSTOUTn_MASK); |
91 | reg &= ~WDT_RESET; | 91 | reg &= ~WDT_RESET_OUT_EN; |
92 | writel(reg, CPU_RESET_MASK); | 92 | writel(reg, RSTOUTn_MASK); |
93 | 93 | ||
94 | /* Disable watchdog timer */ | 94 | /* Disable watchdog timer */ |
95 | reg = readl(TIMER_CTRL); | 95 | reg = readl(TIMER_CTRL); |