- use correct SCAN_N check value (disabled by default)
authordrath <drath@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
Mon, 14 Jan 2008 21:42:30 +0000 (21:42 +0000)
committerdrath <drath@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
Mon, 14 Jan 2008 21:42:30 +0000 (21:42 +0000)
- 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

AUTHORS
src/target/arm_jtag.c

diff --git a/AUTHORS b/AUTHORS
index b76564b..9e174fc 100644 (file)
--- a/AUTHORS
+++ b/AUTHORS
@@ -3,3 +3,4 @@ Magnus Lundin <lundin@mlu.mine.nu>
 Michael Fischer <fischermi@t-online.de>
 Spencer Oliver <spen@spen-soft.co.uk>
 Carsten Schlote <schlote@vahanus.net>
+Øyvind Harboe <oyvind.harboe@zylin.com>
index f87f37a..edc1bd8 100644 (file)
@@ -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;