From: Minkyu Kang <mk7.kang@samsung.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH 2/2] TRATS: use the generic watchdog timer
Date: Wed, 18 Jan 2012 16:21:15 +0900 [thread overview]
Message-ID: <4F1672EB.4040106@samsung.com> (raw)
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>
---
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();
--
1.7.5.4
next reply other threads:[~2012-01-18 7:21 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-01-18 7:21 Minkyu Kang [this message]
2012-01-25 2:01 ` [U-Boot] [PATCH 2/2] TRATS: use the generic watchdog timer Minkyu Kang
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4F1672EB.4040106@samsung.com \
--to=mk7.kang@samsung.com \
--cc=u-boot@lists.denx.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox