提交 8b0d5514 编写于 作者: K Kumar Gala

powerpc: Fix mpc83xx restart bug

We need to write the correct value to the RCR to get a HW reset.
Signed-off-by: NKumar Gala <galak@kernel.crashing.org>
上级 774fee58
......@@ -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 (;;) ;
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册