]> git.sur5r.net Git - openocd/commit
ARM: ADIv5 code shrinkage, cleanup
authorDavid Brownell <dbrownell@users.sourceforge.net>
Sun, 21 Feb 2010 22:53:15 +0000 (14:53 -0800)
committerDavid Brownell <dbrownell@users.sourceforge.net>
Sun, 21 Feb 2010 22:53:15 +0000 (14:53 -0800)
commit39cfe6279616a69b858ddd3493d61ed7133ff081
treeecc841e312328599d521f0f4046b4494ee780d7e
parenta97bb67543eacde38f093610982812f714e7a050
ARM: ADIv5 code shrinkage, cleanup

adi_jtag_dp_scan_u32() now wraps adi_jtag_dp_scan(), removing
code duplication.  Include doxygen for the former.  Comment
some particularly relevant points.  Minor fault handling fixes
for both routines:  don't register a callback that can't run,
or return ERROR_OK after an error.

Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
src/target/arm_adi_v5.c