Skip to content

Commit

Permalink
powerpc: Fix mpc83xx restart bug
Browse files Browse the repository at this point in the history
We need to write the correct value to the RCR to get a HW reset.

Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
  • Loading branch information
Kumar Gala committed Feb 16, 2006
1 parent 774fee5 commit 8b0d551
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arch/powerpc/platforms/83xx/misc.c
Original file line number Diff line number Diff line change
Expand Up @@ -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 (;;) ;
}

Expand Down

0 comments on commit 8b0d551

Please sign in to comment.