summaryrefslogtreecommitdiff
path: root/arch/arm/cpu/arm926ejs
diff options
context:
space:
mode:
authorWolfgang Denk <wd@denx.de>2010-10-29 21:50:24 +0200
committerWolfgang Denk <wd@denx.de>2010-10-29 21:50:24 +0200
commitd75c2a3d7f34ff1eb9920ad72483cff7cb6d358f (patch)
tree2bf529f0ee08c530a46def3d6d4727ccdcaef236 /arch/arm/cpu/arm926ejs
parent17dd883c5b76bdade0f7a48f2eb02d918a5ebef9 (diff)
parent1ab027cbf6536f40348699a7b7bfa8bbedf88c8e (diff)
downloadu-boot-imx-d75c2a3d7f34ff1eb9920ad72483cff7cb6d358f.zip
u-boot-imx-d75c2a3d7f34ff1eb9920ad72483cff7cb6d358f.tar.gz
u-boot-imx-d75c2a3d7f34ff1eb9920ad72483cff7cb6d358f.tar.bz2
Merge branch 'master' of git://git.denx.de/u-boot-imx
Diffstat (limited to 'arch/arm/cpu/arm926ejs')
-rw-r--r--arch/arm/cpu/arm926ejs/mx25/reset.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/arch/arm/cpu/arm926ejs/mx25/reset.c b/arch/arm/cpu/arm926ejs/mx25/reset.c
index 1e33150..1a43683 100644
--- a/arch/arm/cpu/arm926ejs/mx25/reset.c
+++ b/arch/arm/cpu/arm926ejs/mx25/reset.c
@@ -43,14 +43,14 @@ void reset_cpu (ulong ignored)
{
struct wdog_regs *regs = (struct wdog_regs *)IMX_WDT_BASE;
/* Disable watchdog and set Time-Out field to 0 */
- writel (0x00000000, &regs->wcr);
+ writew(0, &regs->wcr);
/* Write Service Sequence */
- writel (0x00005555, &regs->wsr);
- writel (0x0000AAAA, &regs->wsr);
+ writew(WSR_UNLOCK1, &regs->wsr);
+ writew(WSR_UNLOCK2, &regs->wsr);
/* Enable watchdog */
- writel (WCR_WDE, &regs->wcr);
+ writew(WCR_WDE, &regs->wcr);
while (1) ;
}