diff options
author | zwelch <zwelch@b42882b7-edfa-0310-969c-e2dbd0fdcd60> | 2009-06-05 00:42:39 +0000 |
---|---|---|
committer | zwelch <zwelch@b42882b7-edfa-0310-969c-e2dbd0fdcd60> | 2009-06-05 00:42:39 +0000 |
commit | 473dc89c24f3c17c04dcafbf9b5c79d73a35ffe4 (patch) | |
tree | da724fc016e4cef102887f816205daaf88d48ebd | |
parent | 05eb8d8c1395737b46f7cbc9273d6fb83dd2b984 (diff) | |
download | openocd+libswd-473dc89c24f3c17c04dcafbf9b5c79d73a35ffe4.tar.gz openocd+libswd-473dc89c24f3c17c04dcafbf9b5c79d73a35ffe4.tar.bz2 openocd+libswd-473dc89c24f3c17c04dcafbf9b5c79d73a35ffe4.tar.xz openocd+libswd-473dc89c24f3c17c04dcafbf9b5c79d73a35ffe4.zip |
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
-rw-r--r-- | src/flash/str9xpec.c | 2 | ||||
-rw-r--r-- | src/jtag/jtag.c | 4 | ||||
-rw-r--r-- | src/jtag/jtag.h | 2 |
3 files changed, 4 insertions, 4 deletions
diff --git a/src/flash/str9xpec.c b/src/flash/str9xpec.c index 2ab92d98..1ca7360c 100644 --- a/src/flash/str9xpec.c +++ b/src/flash/str9xpec.c @@ -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_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_build_block_list(bank); diff --git a/src/jtag/jtag.c b/src/jtag/jtag.c index c934b9ba..33330a09 100644 --- a/src/jtag/jtag.c +++ b/src/jtag/jtag.c @@ -294,7 +294,7 @@ jtag_tap_t *jtag_TapByString( const char *s ) n = strtol( s, &cp, 0 ); if( (s != cp) && (*cp == 0) ){ /* Then it is... */ - t = jtag_TapByAbsPosition(n); + t = jtag_tap_by_abs_position(n); } } 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 */ -jtag_tap_t * jtag_TapByAbsPosition( int n ) +jtag_tap_t * jtag_tap_by_abs_position( int n ) { int orig_n; jtag_tap_t *t; diff --git a/src/jtag/jtag.h b/src/jtag/jtag.h index aff2dff1..d4111554 100644 --- a/src/jtag/jtag.h +++ b/src/jtag/jtag.h @@ -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_TapByString(const char* dotted_name); 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_NumTotalTaps(void); |