diff options
author | Aaron Carroll <aaronc@cse.unsw.edu.au> | 2011-01-24 18:06:44 +1100 |
---|---|---|
committer | Øyvind Harboe <oyvind.harboe@zylin.com> | 2011-01-31 08:53:21 +0100 |
commit | aea22bdbd14ce3d3641884bde68e228882fbd546 (patch) | |
tree | 0511b051554d00e14d453e1cb1dcd21ef57ca4be /src/target/target.h | |
parent | 3fa99ed2bfd01c06acc21e50445b096d71ceed18 (diff) | |
download | riscv-openocd-aea22bdbd14ce3d3641884bde68e228882fbd546.zip riscv-openocd-aea22bdbd14ce3d3641884bde68e228882fbd546.tar.gz riscv-openocd-aea22bdbd14ce3d3641884bde68e228882fbd546.tar.bz2 |
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>
Diffstat (limited to 'src/target/target.h')
-rw-r--r-- | src/target/target.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/target/target.h b/src/target/target.h index 4d03018..2c6f4cd 100644 --- a/src/target/target.h +++ b/src/target/target.h @@ -107,6 +107,7 @@ struct target const char *cmd_name; /* tcl Name of target */ int target_number; /* DO NOT USE! field to be removed in 2010 */ struct jtag_tap *tap; /* where on the jtag chain is this */ + int coreid; /* which device on the TAP? */ const char *variant; /* what variant of this chip is it? */ /** |