]> git.baikalelectronics.ru Git - kernel.git/commit
Blackfin: debug-mmrs: fix typos with gptimers/mdma/ppi
authorMike Frysinger <vapier@gentoo.org>
Thu, 26 May 2011 21:27:36 +0000 (17:27 -0400)
committerMike Frysinger <vapier@gentoo.org>
Sat, 28 May 2011 21:02:56 +0000 (17:02 -0400)
commita80675dea22b8d5df3dcd9f769508e7371fca4d5
tree340a22b8fa3f7e36982c12ef893ce4d27657fe16
parent0f7ba89e4d5c6b114b89de95152875bec16b9734
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