ADIv5: use new DAP ops for DP read/write
authorDavid Brownell <dbrownell@users.sourceforge.net>
Wed, 3 Mar 2010 06:46:38 +0000 (22:46 -0800)
committerDavid Brownell <dbrownell@users.sourceforge.net>
Wed, 3 Mar 2010 06:46:38 +0000 (22:46 -0800)
commit61ee632dbc4dce5f4ce6f6dac537f488595917b9
tree738fe5eeac33b6ffe1dbc65f4d4f339d9c3600fa
parent24b1426a728f2bac1b3828069fa13af2be6d9e94
ADIv5: use new DAP ops for DP read/write

Make ADIv5 internals use the two new transport-neutral calls for reading
and writing DP registers.  Also,  bugfix some of their call sites to
handle the fault returns, instead of ignoring them.

Remove the old JTAG-specific calls, using their code as the bodies
of the JTAG-specific implementation for the new methods.

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