projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
774fee5
)
powerpc: Fix mpc83xx restart bug
author
Kumar Gala
<galak@kernel.crashing.org>
Thu, 16 Feb 2006 20:32:08 +0000
(14:32 -0600)
committer
Kumar Gala
<galak@kernel.crashing.org>
Thu, 16 Feb 2006 20:32:08 +0000
(14:32 -0600)
We need to write the correct value to the RCR to get a HW reset.
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
arch/powerpc/platforms/83xx/misc.c
patch
|
blob
|
history
diff --git
a/arch/powerpc/platforms/83xx/misc.c
b/arch/powerpc/platforms/83xx/misc.c
index 0eb3d99f1b93d4fb18ca521f0220832db6c698fb..1455bcef489258a811bf9d4b961437d35b7f13f1 100644
(file)
--- 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), 0x
52535445
);
+ out_be32(reg + (RST_CTRL_REG >> 2), 0x
2
);
for (;;) ;
}