]> 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)
commit84c52e81de00d7c7ccb3b1404b9646335255cc85
tree340a22b8fa3f7e36982c12ef893ce4d27657fe16
parentbeab9191b3f4d42bf9408988bf938a53b10e4b31
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