From 85948a8b9acad8f7c346ecc8323c067d8a7a0ff7 Mon Sep 17 00:00:00 2001 From: Minkyu Kang Date: Wed, 18 Jan 2012 15:56:47 +0900 Subject: [PATCH] TRATS: use the generic watchdog timer Signed-off-by: Minkyu Kang Signed-off-by: Kyungmin Park Cc: HeungJun, Kim --- board/samsung/trats/trats.c | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) diff --git a/board/samsung/trats/trats.c b/board/samsung/trats/trats.c index 2925cffcfa..f795ff03af 100644 --- a/board/samsung/trats/trats.c +++ b/board/samsung/trats/trats.c @@ -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(); -- 2.25.1