diff options
Diffstat (limited to 'arch/arm/plat-samsung/watchdog-reset.c')
-rw-r--r-- | arch/arm/plat-samsung/watchdog-reset.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/arch/arm/plat-samsung/watchdog-reset.c b/arch/arm/plat-samsung/watchdog-reset.c index 2ecb50bea044..e4d5a4ce1e19 100644 --- a/arch/arm/plat-samsung/watchdog-reset.c +++ b/arch/arm/plat-samsung/watchdog-reset.c @@ -44,14 +44,14 @@ void samsung_wdt_reset(void) clk_prepare_enable(wdt_clock); /* disable watchdog, to be safe */ - __raw_writel(0, wdt_base + S3C2410_WTCON); + writel_relaxed(0, wdt_base + S3C2410_WTCON); /* put initial values into count and data */ - __raw_writel(0x80, wdt_base + S3C2410_WTCNT); - __raw_writel(0x80, wdt_base + S3C2410_WTDAT); + writel_relaxed(0x80, wdt_base + S3C2410_WTCNT); + writel_relaxed(0x80, wdt_base + S3C2410_WTDAT); /* set the watchdog to go and reset... */ - __raw_writel(S3C2410_WTCON_ENABLE | S3C2410_WTCON_DIV16 | + writel_relaxed(S3C2410_WTCON_ENABLE | S3C2410_WTCON_DIV16 | S3C2410_WTCON_RSTEN | S3C2410_WTCON_PRESCALE(0x20), wdt_base + S3C2410_WTCON); |