aboutsummaryrefslogtreecommitdiffstats
path: root/arch/powerpc/sysdev/cpm2.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/powerpc/sysdev/cpm2.c')
-rw-r--r--arch/powerpc/sysdev/cpm2.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/arch/powerpc/sysdev/cpm2.c b/arch/powerpc/sysdev/cpm2.c
index fa70ee31349e..4ab3f1f5a7c3 100644
--- a/arch/powerpc/sysdev/cpm2.c
+++ b/arch/powerpc/sysdev/cpm2.c
@@ -80,6 +80,12 @@ void __init cpm2_reset(void)
80 /* Tell everyone where the comm processor resides. 80 /* Tell everyone where the comm processor resides.
81 */ 81 */
82 cpmp = &cpm2_immr->im_cpm; 82 cpmp = &cpm2_immr->im_cpm;
83
84#ifndef CONFIG_PPC_EARLY_DEBUG_CPM
85 /* Reset the CPM.
86 */
87 cpm_command(CPM_CR_RST, 0);
88#endif
83} 89}
84 90
85static DEFINE_SPINLOCK(cmd_lock); 91static DEFINE_SPINLOCK(cmd_lock);