]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - drivers/watchdog/imx_watchdog.c
merged tx6dl-devel into denx master branch
[karo-tx-uboot.git] / drivers / watchdog / imx_watchdog.c
index 50e602af127b33eef7ab7320a9a552630b8fdc7b..ee53a582515f15ac43e29dfa92703ed66ca24652 100644 (file)
@@ -55,12 +55,7 @@ void reset_cpu(ulong addr)
 {
        struct watchdog_regs *wdog = (struct watchdog_regs *)WDOG1_BASE_ADDR;
 
-       writew(WCR_WDE, &wdog->wcr);
-       writew(0x5555, &wdog->wsr);
-       writew(0xaaaa, &wdog->wsr);     /* load minimum 1/2 second timeout */
        while (1) {
-               /*
-                * spin for .5 seconds before reset
-                */
+               writew(0, &wdog->wcr); /* clear SRS initiating SOFT reset */
        }
 }