From 3041bb26edc88320ce9bb0fc000ea5c2e1e66ebf Mon Sep 17 00:00:00 2001 From: drath Date: Mon, 14 Jan 2008 21:42:30 +0000 Subject: [PATCH] =?utf8?q?-=20use=20correct=20SCAN=5FN=20check=20value=20(?= =?utf8?q?disabled=20by=20default)=20-=20add=20=C3=98yvind=20Harboe=20to?= =?utf8?q?=20list=20of=20AUTHORS=20(thanks=20a=20lot=20to=20=C3=98yvind=20?= =?utf8?q?for=20his=20hard=20work)?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit git-svn-id: svn://svn.berlios.de/openocd/trunk@255 b42882b7-edfa-0310-969c-e2dbd0fdcd60 --- AUTHORS | 1 + src/target/arm_jtag.c | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/AUTHORS b/AUTHORS index b76564be..9e174fcb 100644 --- a/AUTHORS +++ b/AUTHORS @@ -3,3 +3,4 @@ Magnus Lundin Michael Fischer Spencer Oliver Carsten Schlote +Øyvind Harboe diff --git a/src/target/arm_jtag.c b/src/target/arm_jtag.c index f87f37a5..edc1bd88 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; -- 2.39.5