Eliminate MixedCaps symbol from public JTAG TAP API:

- Purely mechanical transformations to the source files.
- Rename 'jtag_TapByAbsPosition' as 'jtag_tap_by_abs_position.'


git-svn-id: svn://svn.berlios.de/openocd/trunk@2064 b42882b7-edfa-0310-969c-e2dbd0fdcd60
This commit is contained in:
zwelch 2009-06-05 00:42:39 +00:00
parent 05eb8d8c13
commit 473dc89c24
3 changed files with 4 additions and 4 deletions

View File

@ -325,7 +325,7 @@ static int str9xpec_flash_bank_command(struct command_context_s *cmd_ctx, char *
arm7_9 = armv4_5->arch_info; arm7_9 = armv4_5->arch_info;
jtag_info = &arm7_9->jtag_info; jtag_info = &arm7_9->jtag_info;
str9xpec_info->tap = jtag_TapByAbsPosition( jtag_info->tap->abs_chain_position - 1); str9xpec_info->tap = jtag_tap_by_abs_position( jtag_info->tap->abs_chain_position - 1);
str9xpec_info->isc_enable = 0; str9xpec_info->isc_enable = 0;
str9xpec_build_block_list(bank); str9xpec_build_block_list(bank);

View File

@ -294,7 +294,7 @@ jtag_tap_t *jtag_TapByString( const char *s )
n = strtol( s, &cp, 0 ); n = strtol( s, &cp, 0 );
if( (s != cp) && (*cp == 0) ){ if( (s != cp) && (*cp == 0) ){
/* Then it is... */ /* Then it is... */
t = jtag_TapByAbsPosition(n); t = jtag_tap_by_abs_position(n);
} }
} }
return t; return t;
@ -319,7 +319,7 @@ jtag_tap_t * jtag_TapByJimObj( Jim_Interp *interp, Jim_Obj *o )
} }
/* returns a pointer to the n-th device in the scan chain */ /* returns a pointer to the n-th device in the scan chain */
jtag_tap_t * jtag_TapByAbsPosition( int n ) jtag_tap_t * jtag_tap_by_abs_position( int n )
{ {
int orig_n; int orig_n;
jtag_tap_t *t; jtag_tap_t *t;

View File

@ -180,7 +180,7 @@ extern const char *jtag_tap_name(const jtag_tap_t *tap);
extern jtag_tap_t* jtag_tap_by_position(int n); extern jtag_tap_t* jtag_tap_by_position(int n);
extern jtag_tap_t* jtag_TapByString(const char* dotted_name); extern jtag_tap_t* jtag_TapByString(const char* dotted_name);
extern jtag_tap_t* jtag_TapByJimObj(Jim_Interp* interp, Jim_Obj* obj); extern jtag_tap_t* jtag_TapByJimObj(Jim_Interp* interp, Jim_Obj* obj);
extern jtag_tap_t* jtag_TapByAbsPosition(int abs_position); extern jtag_tap_t* jtag_tap_by_abs_position(int abs_position);
extern int jtag_NumEnabledTaps(void); extern int jtag_NumEnabledTaps(void);
extern int jtag_NumTotalTaps(void); extern int jtag_NumTotalTaps(void);