diff options
author | Minkyu Kang <mk7.kang@samsung.com> | 2012-01-18 06:56:47 (GMT) |
---|---|---|
committer | Albert ARIBAUD <albert.u.boot@aribaud.net> | 2012-02-12 09:11:29 (GMT) |
commit | 85948a8b9acad8f7c346ecc8323c067d8a7a0ff7 (patch) | |
tree | 39f6d5f31022887cce0390bff8341de4e88af0b1 /board/samsung/trats/trats.c | |
parent | 851db35e2dc07ca1d0a5c02be2652cf1173652eb (diff) | |
download | u-boot-fsl-qoriq-85948a8b9acad8f7c346ecc8323c067d8a7a0ff7.tar.xz |
TRATS: use the generic watchdog timer
Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
Cc: HeungJun, Kim <riverful.kim@samsung.com>
Diffstat (limited to 'board/samsung/trats/trats.c')
-rw-r--r-- | board/samsung/trats/trats.c | 11 |
1 files changed, 1 insertions, 10 deletions
diff --git a/board/samsung/trats/trats.c b/board/samsung/trats/trats.c index 2925cff..f795ff0 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(); |