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:
@@ -35,7 +35,7 @@ void mpc83xx_restart(char *cmd)
|
|||||||
out_be32(reg + (RST_PROT_REG >> 2), 0x52535445);
|
out_be32(reg + (RST_PROT_REG >> 2), 0x52535445);
|
||||||
|
|
||||||
/* set software hard reset */
|
/* set software hard reset */
|
||||||
out_be32(reg + (RST_CTRL_REG >> 2), 0x52535445);
|
out_be32(reg + (RST_CTRL_REG >> 2), 0x2);
|
||||||
for (;;) ;
|
for (;;) ;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user