Skip to contentSkip to conversation

TRATS: use the generic watchdog timer

PATCH New Minkyu Kang 2 participants 2 messages Jan 18, 2012 – Jan 25, 2012

lore
Share & tools
lore
#0 lore raw

PATCH 2/2 TRATS: use the generic watchdog timer

---
 board/samsung/trats/trats.c |   11 +----------
 1 files changed, 1 insertions(+), 10 deletions(-)
board/samsung/trats/trats.c +1 -10
index 2925cff..f795ff0 100644
@@ -310,14 +310,6 @@ static void board_clock_init(void)
 	writel(CLK_GATE_BLOCK_VAL, (unsigned int)&clk->gate_block);
 }
 
-static void board_watchdog_disable(void)
-{
-	struct exynos4_watchdog *wd =
-		(struct exynos4_watchdog *)samsung_get_base_watchdog();
-
-	writel(~(WTCON_EN | WTCON_INT), (unsigned int)&wd->wtcon);
-}
-
 static void board_power_init(void)
 {
 	struct exynos4_power *pwr =
@@ -368,8 +360,7 @@ static void board_uart_init(void)
 
 int board_early_init_f(void)
 {
-	board_watchdog_disable();
-
+	wdt_stop();
 	pmic_reset();
 	board_clock_init();
 	board_uart_init();
Signature · 1 line
1.7.5.4