diff options
author | drath <drath@b42882b7-edfa-0310-969c-e2dbd0fdcd60> | 2008-01-14 21:42:30 +0000 |
---|---|---|
committer | drath <drath@b42882b7-edfa-0310-969c-e2dbd0fdcd60> | 2008-01-14 21:42:30 +0000 |
commit | 3041bb26edc88320ce9bb0fc000ea5c2e1e66ebf (patch) | |
tree | 8117adf3d7ce5ce1cddfe3574e03ac7f37c2ad5e /src/target/arm_jtag.c | |
parent | 13eac429e1b2b6b9061a58c05dc7e67415d5ad0e (diff) | |
download | riscv-openocd-3041bb26edc88320ce9bb0fc000ea5c2e1e66ebf.zip riscv-openocd-3041bb26edc88320ce9bb0fc000ea5c2e1e66ebf.tar.gz riscv-openocd-3041bb26edc88320ce9bb0fc000ea5c2e1e66ebf.tar.bz2 |
- use correct SCAN_N check value (disabled by default)
- add Øyvind Harboe to list of AUTHORS (thanks a lot to Øyvind for his hard work)
git-svn-id: svn://svn.berlios.de/openocd/trunk@255 b42882b7-edfa-0310-969c-e2dbd0fdcd60
Diffstat (limited to 'src/target/arm_jtag.c')
-rw-r--r-- | src/target/arm_jtag.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/target/arm_jtag.c b/src/target/arm_jtag.c index f87f37a..edc1bd8 100644 --- a/src/target/arm_jtag.c +++ b/src/target/arm_jtag.c @@ -86,7 +86,7 @@ int arm_jtag_scann(arm_jtag_t *jtag_info, u32 new_scan_chain) if(jtag_info->cur_scan_chain != new_scan_chain) { #ifdef _ARM_JTAG_SCAN_N_CHECK_ - u8 scan_n_check_value = 0x10; + u8 scan_n_check_value = 1 << (jtag_info->scann_size - 1); #endif scan_field_t field; |