powerpc: Fix mpc83xx restart bug

We need to write the correct value to the RCR to get a HW reset.

Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
This commit is contained in:
Kumar Gala 2006-02-16 14:32:08 -06:00
parent 774fee58c4
commit 8b0d5514a9

View 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 (;;) ;
}