Add '-coreid' target option to support multiple cores per TAP.
authorAaron Carroll <aaronc@cse.unsw.edu.au>
Mon, 24 Jan 2011 07:06:44 +0000 (18:06 +1100)
committerØyvind Harboe <oyvind.harboe@zylin.com>
Mon, 31 Jan 2011 07:53:21 +0000 (08:53 +0100)
commitaea22bdbd14ce3d3641884bde68e228882fbd546
tree0511b051554d00e14d453e1cb1dcd21ef57ca4be
parent3fa99ed2bfd01c06acc21e50445b096d71ceed18
Add '-coreid' target option to support multiple cores per TAP.

ARM Cortex-A9 multi-core chips expose a single TAP/DAP which connects
to both cores.  The '-coreid' option selects which core the target
should connect to.

Note that at present, OpenOCD can connect to either core, but not both
simulatenously, until ADI contexts can be shared.

Signed-off-by: Aaron Carroll <aaronc@cse.unsw.edu.au>
src/target/target.c
src/target/target.h