]> git.sur5r.net Git - openocd/commitdiff
- Replace 'jtag_tap_by_abs_position' with 'jtag_tap_by_position'.
authorzwelch <zwelch@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
Tue, 9 Jun 2009 02:24:05 +0000 (02:24 +0000)
committerzwelch <zwelch@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
Tue, 9 Jun 2009 02:24:05 +0000 (02:24 +0000)
git-svn-id: svn://svn.berlios.de/openocd/trunk@2146 b42882b7-edfa-0310-969c-e2dbd0fdcd60

src/flash/str9xpec.c
src/jtag/jtag.c
src/jtag/jtag.h

index 1ca7360c09195dcdb41858458b0bf69b237795fc..2c243a97a533fba1189e3869f3328ee98456591d 100644 (file)
@@ -325,7 +325,7 @@ static int str9xpec_flash_bank_command(struct command_context_s *cmd_ctx, char *
        arm7_9 = armv4_5->arch_info;
        jtag_info = &arm7_9->jtag_info;
 
-       str9xpec_info->tap = jtag_tap_by_abs_position( jtag_info->tap->abs_chain_position - 1);
+       str9xpec_info->tap = jtag_tap_by_position( jtag_info->tap->abs_chain_position - 1);
        str9xpec_info->isc_enable = 0;
 
        str9xpec_build_block_list(bank);
index 0d7cdb3dd43280fcb056879fdbb0930f0cbf3b29..3292bc1328ada27f3eda1b1756f87a1a45f311ab 100644 (file)
@@ -296,7 +296,7 @@ jtag_tap_t *jtag_tap_by_string(const char *s)
        if ((s == cp) || (*cp != 0))
                return NULL;
 
-       return jtag_tap_by_abs_position(n);
+       return jtag_tap_by_position(n);
 }
 
 jtag_tap_t *jtag_tap_by_jim_obj(Jim_Interp *interp, Jim_Obj *o)
@@ -311,7 +311,7 @@ jtag_tap_t *jtag_tap_by_jim_obj(Jim_Interp *interp, Jim_Obj *o)
 }
 
 /* returns a pointer to the n-th device in the scan chain */
-jtag_tap_t *jtag_tap_by_abs_position(unsigned n)
+jtag_tap_t *jtag_tap_by_position(unsigned n)
 {
        jtag_tap_t *t = jtag_all_taps();
 
index a7f70a345aeab28c262c020d9d4e70c6e57f45a7..99ed93954d4aa6c8a7c55427afc5e55c373b2c66 100644 (file)
@@ -179,7 +179,7 @@ extern jtag_tap_t* jtag_all_taps(void);
 extern const char *jtag_tap_name(const jtag_tap_t *tap);
 extern jtag_tap_t* jtag_tap_by_string(const char* dotted_name);
 extern jtag_tap_t* jtag_tap_by_jim_obj(Jim_Interp* interp, Jim_Obj* obj);
-extern jtag_tap_t* jtag_tap_by_abs_position(unsigned abs_position);
+extern jtag_tap_t* jtag_tap_by_position(unsigned abs_position);
 extern unsigned jtag_tap_count_enabled(void);
 extern unsigned jtag_tap_count(void);