]> git.sur5r.net Git - openocd/commit
ADIv5 share DAP command support
authorDavid Brownell <dbrownell@users.sourceforge.net>
Fri, 5 Mar 2010 18:39:25 +0000 (10:39 -0800)
committerDavid Brownell <dbrownell@users.sourceforge.net>
Fri, 5 Mar 2010 18:39:25 +0000 (10:39 -0800)
commitd33a81c549743e13633db9e8749f0e7cb0f7324b
treec1810fc1947b1ade439604b9388849bdb2e67587
parent57ebf6d3dea85d7c4d712a1ada161d76096fdf23
ADIv5 share DAP command support

Get rid of needless and undesirable code duplication for
all the DAP commands (resolving a FIXME) ... there's no
need for coreas to have private copies of that stuff.
Stick a pointer to the DAP in "struct arm", letting common
code get to it.

Also rename the "swjdp_info" symbol; just call it "dap".

This is an overall code shrink.

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