powerpc: Fix mpc83xx restart bug
authorKumar Gala <galak@kernel.crashing.org>
Thu, 16 Feb 2006 20:32:08 +0000 (14:32 -0600)
committerKumar Gala <galak@kernel.crashing.org>
Thu, 16 Feb 2006 20:32:08 +0000 (14:32 -0600)
We need to write the correct value to the RCR to get a HW reset.

Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
arch/powerpc/platforms/83xx/misc.c

index 0eb3d99f1b93d4fb18ca521f0220832db6c698fb..1455bcef489258a811bf9d4b961437d35b7f13f1 100644 (file)
@@ -35,7 +35,7 @@ void mpc83xx_restart(char *cmd)
        out_be32(reg + (RST_PROT_REG >> 2), 0x52535445);
 
        /* set software hard reset */
-       out_be32(reg + (RST_CTRL_REG >> 2), 0x52535445);
+       out_be32(reg + (RST_CTRL_REG >> 2), 0x2);
        for (;;) ;
 }