svf: fix minor typos
Change-Id: I40ac2d01c1feb2771ce96a26c4a4d05a1e816a61 Signed-off-by: Antonio Borneo <borneo.antonio@gmail.com> Reviewed-on: http://openocd.zylin.com/5761 Tested-by: jenkins Reviewed-by: Tomas Vanek <vanekt@fbl.cz>
This commit is contained in:
parent
02ecd452c2
commit
d62b3c51df
|
@ -18,11 +18,11 @@
|
||||||
|
|
||||||
/* The specification for SVF is available here:
|
/* The specification for SVF is available here:
|
||||||
* http://www.asset-intertech.com/support/svf.pdf
|
* http://www.asset-intertech.com/support/svf.pdf
|
||||||
* Below, this document is refered to as the "SVF spec".
|
* Below, this document is referred to as the "SVF spec".
|
||||||
*
|
*
|
||||||
* The specification for XSVF is available here:
|
* The specification for XSVF is available here:
|
||||||
* http://www.xilinx.com/support/documentation/application_notes/xapp503.pdf
|
* http://www.xilinx.com/support/documentation/application_notes/xapp503.pdf
|
||||||
* Below, this document is refered to as the "XSVF spec".
|
* Below, this document is referred to as the "XSVF spec".
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifdef HAVE_CONFIG_H
|
#ifdef HAVE_CONFIG_H
|
||||||
|
@ -231,7 +231,7 @@ static int svf_quiet;
|
||||||
static int svf_nil;
|
static int svf_nil;
|
||||||
static int svf_ignore_error;
|
static int svf_ignore_error;
|
||||||
|
|
||||||
/* Targetting particular tap */
|
/* Targeting particular tap */
|
||||||
static int svf_tap_is_specified;
|
static int svf_tap_is_specified;
|
||||||
static int svf_set_padding(struct svf_xxr_para *para, int len, unsigned char tdi);
|
static int svf_set_padding(struct svf_xxr_para *para, int len, unsigned char tdi);
|
||||||
|
|
||||||
|
@ -854,7 +854,7 @@ static int svf_copy_hexstring_to_binary(char *str, uint8_t **bin, int orig_bit_l
|
||||||
|
|
||||||
/* check validity: we must have consumed everything */
|
/* check validity: we must have consumed everything */
|
||||||
if (str_len > 0 || (ch & ~((2 << ((bit_len - 1) % 4)) - 1)) != 0) {
|
if (str_len > 0 || (ch & ~((2 << ((bit_len - 1) % 4)) - 1)) != 0) {
|
||||||
LOG_ERROR("value execeeds length");
|
LOG_ERROR("value exceeds length");
|
||||||
return ERROR_FAIL;
|
return ERROR_FAIL;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -1078,7 +1078,7 @@ XXR_common:
|
||||||
pbuffer_tmp = &xxr_para_tmp->smask;
|
pbuffer_tmp = &xxr_para_tmp->smask;
|
||||||
xxr_para_tmp->data_mask |= XXR_SMASK;
|
xxr_para_tmp->data_mask |= XXR_SMASK;
|
||||||
} else {
|
} else {
|
||||||
LOG_ERROR("unknow parameter: %s", argus[i]);
|
LOG_ERROR("unknown parameter: %s", argus[i]);
|
||||||
return ERROR_FAIL;
|
return ERROR_FAIL;
|
||||||
}
|
}
|
||||||
if (ERROR_OK !=
|
if (ERROR_OK !=
|
||||||
|
@ -1524,7 +1524,7 @@ XXR_common:
|
||||||
svf_para.trst_mode = i_tmp;
|
svf_para.trst_mode = i_tmp;
|
||||||
LOG_DEBUG("\ttrst_mode = %s", svf_trst_mode_name[svf_para.trst_mode]);
|
LOG_DEBUG("\ttrst_mode = %s", svf_trst_mode_name[svf_para.trst_mode]);
|
||||||
} else {
|
} else {
|
||||||
LOG_ERROR("can not accpet TRST command if trst_mode is ABSENT");
|
LOG_ERROR("can not accept TRST command if trst_mode is ABSENT");
|
||||||
return ERROR_FAIL;
|
return ERROR_FAIL;
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
|
Loading…
Reference in New Issue