Commit 7db58396 authored by zwelch's avatar zwelch
Browse files

Eliminate MixedCaps symbol from public JTAG TAP API:

- Purely mechanical transformations to the source files.
- Rename 'jtag_TapByJimObj' as 'jtag_tap_by_jim_obj.'


git-svn-id: svn://svn.berlios.de/openocd/trunk@2066 b42882b7-edfa-0310-969c-e2dbd0fdcd60
parent 689e9664
......@@ -300,7 +300,7 @@ jtag_tap_t *jtag_tap_by_string( const char *s )
return t;
}
jtag_tap_t * jtag_TapByJimObj( Jim_Interp *interp, Jim_Obj *o )
jtag_tap_t * jtag_tap_by_jim_obj( Jim_Interp *interp, Jim_Obj *o )
{
jtag_tap_t *t;
const char *cp;
......@@ -1535,7 +1535,7 @@ static int jim_jtag_command( Jim_Interp *interp, int argc, Jim_Obj *const *argv
{
jtag_tap_t *t;
t = jtag_TapByJimObj( goi.interp, goi.argv[0] );
t = jtag_tap_by_jim_obj( goi.interp, goi.argv[0] );
if( t == NULL ){
return JIM_ERR;
}
......@@ -1569,7 +1569,7 @@ static int jim_jtag_command( Jim_Interp *interp, int argc, Jim_Obj *const *argv
jtag_tap_t *t;
Jim_GetOpt_Obj(&goi, &o);
t = jtag_TapByJimObj( goi.interp, o );
t = jtag_tap_by_jim_obj( goi.interp, o );
if( t == NULL ){
return JIM_ERR;
}
......@@ -1589,7 +1589,7 @@ static int jim_jtag_command( Jim_Interp *interp, int argc, Jim_Obj *const *argv
jtag_tap_t *t;
Jim_GetOpt_Obj(&goi, &o);
t = jtag_TapByJimObj( goi.interp, o );
t = jtag_tap_by_jim_obj( goi.interp, o );
if( t == NULL ){
return JIM_ERR;
}
......@@ -2434,7 +2434,7 @@ static int Jim_Command_drscan(Jim_Interp *interp, int argc, Jim_Obj *const *args
}
} /* validate args */
tap = jtag_TapByJimObj( interp, args[1] );
tap = jtag_tap_by_jim_obj( interp, args[1] );
if( tap == NULL ){
return JIM_ERR;
}
......
......@@ -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_position(int n);
extern jtag_tap_t* jtag_tap_by_string(const char* dotted_name);
extern jtag_tap_t* jtag_TapByJimObj(Jim_Interp* interp, Jim_Obj* obj);
extern jtag_tap_t* jtag_tap_by_jim_obj(Jim_Interp* interp, Jim_Obj* obj);
extern jtag_tap_t* jtag_tap_by_abs_position(int abs_position);
extern int jtag_NumEnabledTaps(void);
extern int jtag_NumTotalTaps(void);
......
......@@ -3450,7 +3450,7 @@ static int target_configure( Jim_GetOptInfo *goi, target_t *target )
if( e != JIM_OK ){
return e;
}
tap = jtag_TapByJimObj( goi->interp, o );
tap = jtag_tap_by_jim_obj( goi->interp, o );
if( tap == NULL ){
return JIM_ERR;
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment