[POWERPC] CPM2: Reset the CPM when early debugging is not enabled.
authorLaurent Pinchart <laurentp@cse-semaphore.com>
Thu, 10 Apr 2008 15:02:38 +0000 (17:02 +0200)
committerKumar Gala <galak@kernel.crashing.org>
Thu, 17 Apr 2008 06:01:37 +0000 (01:01 -0500)
commit872a15deed2f6c2dc14353a6109adde99cfee690
tree8095620d96d1eec45d0e59d541aa18246da2625f
parent0585fa5fb74001487e71c9f04875803e1f1174e1
[POWERPC] CPM2: Reset the CPM when early debugging is not enabled.

Similarly to what is done for PQ1-based platforms, this patch resets the
PQ2 Communication Processor Module in cpm2_reset() when early debugging is
not enabled. This helps avoiding conflicts when the boot loader configured
the CPM in an unexpected way.

Signed-off-by: Laurent Pinchart <laurentp@cse-semaphore.com>
Acked-by: Scott Wood <scottwood@freescale.com>
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
arch/powerpc/sysdev/cpm2.c