Blackfin: debug-mmrs: fix typos with gptimers/mdma/ppi
commitd09fb602030e3247c21452ee2b3229baf115f71f
authorMike Frysinger <vapier@gentoo.org>
Thu, 26 May 2011 21:27:36 +0000 (26 17:27 -0400)
committerMike Frysinger <vapier@gentoo.org>
Sat, 28 May 2011 21:02:56 +0000 (28 17:02 -0400)
tree340a22b8fa3f7e36982c12ef893ce4d27657fe16
parenta4ffd956924e265865a4425bd888927059fd46a9
Blackfin: debug-mmrs: fix typos with gptimers/mdma/ppi

This code was mostly developed against a BF54x, so some BF537-specific
issues were missed.

The PPI block starts at PPI_CONTROL, not PPI_STATUS (which is the reverse
of the EPPI block).

The MDMA block starts at MDMA_NEXT_DESC_PTR, not MDMA_CONFIG.  Seems the
sim does not catch misreads here so that'll need to get fixed.

The gptimer block is mostly 32bit regs, not 16bit.  Use the gptimer struct
to figure that out rather than hardcoding it locally.

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
arch/blackfin/kernel/debug-mmrs.c