ADIv5: remove ATOMIC/COMPOSITE interface mode
commit3b68a708c2b039d9b091608eccb2206725742a47
authorDavid Brownell <dbrownell@users.sourceforge.net>
Sun, 21 Feb 2010 22:56:56 +0000 (21 14:56 -0800)
committerDavid Brownell <dbrownell@users.sourceforge.net>
Sun, 21 Feb 2010 22:56:56 +0000 (21 14:56 -0800)
tree5698d4d62a09c3c1b28cccd2a1c07cd287528c86
parentecff73043c1ddcc97d4d1ea1c87f251a850b22d4
ADIv5: remove ATOMIC/COMPOSITE interface mode

This removes context-sensitivity from the programming interface and makes
it possible to know what a block of code does without needing to know the
previous history (specifically, the DAP's "trans_mode" setting).

The mode was only set to ATOMIC briefly after DAP initialization, making
this patch be primarily cleanup; almost everything depends on COMPOSITE.
The transactions which shouldn't have been queued were already properly
flushing the queue.

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