aboutsummaryrefslogtreecommitdiffstats
path: root/arch/powerpc
diff options
context:
space:
mode:
authorKumar Gala <galak@kernel.crashing.org>2006-02-16 14:32:08 -0600
committerKumar Gala <galak@kernel.crashing.org>2006-02-16 14:32:08 -0600
commit8b0d5514a96daab7825f481d8cd5e88a0376d659 (patch)
tree3a9396823d6ed8f77b47cf4181c499097de41ca8 /arch/powerpc
parent774fee58c465ea1c7e9775e347ec307bcf2deeb3 (diff)
downloadkernel_goldelico_gta04-8b0d5514a96daab7825f481d8cd5e88a0376d659.zip
kernel_goldelico_gta04-8b0d5514a96daab7825f481d8cd5e88a0376d659.tar.gz
kernel_goldelico_gta04-8b0d5514a96daab7825f481d8cd5e88a0376d659.tar.bz2
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>
Diffstat (limited to 'arch/powerpc')
-rw-r--r--arch/powerpc/platforms/83xx/misc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/powerpc/platforms/83xx/misc.c b/arch/powerpc/platforms/83xx/misc.c
index 0eb3d99..1455bce 100644
--- a/arch/powerpc/platforms/83xx/misc.c
+++ b/arch/powerpc/platforms/83xx/misc.c
@@ -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 (;;) ;
}