mirror of https://gitee.com/openkylin/linux.git
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:
parent
774fee58c4
commit
8b0d5514a9
|
@ -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 (;;) ;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue