]> git.sur5r.net Git - openocd/commit
ARM: ADIv5 symbol and comment cleanup
authorDavid Brownell <dbrownell@users.sourceforge.net>
Sat, 2 Jan 2010 23:53:03 +0000 (15:53 -0800)
committerDavid Brownell <dbrownell@users.sourceforge.net>
Sat, 2 Jan 2010 23:53:03 +0000 (15:53 -0800)
commite60c164cdb50a0aa268165e57de0a4cd0d58fcdf
tree802c4963cc76103b7032d8d51f742a2e942c02af
parentec88ccc51cb5d8594ae95660c826954f3a9042ec
ARM: ADIv5 symbol and comment cleanup

Instead of magic numbers, use their AP_REG_* constants.  Rename
the ROM address symbol as BASE to match ARM's documentation.

Comment various other symbols in the header; add some missing ones.
Remove an unused struct.  Add some doxygen for stuff including the
DAP structure and initialization.

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