jtag: fix some minor typo
Minor typos found by the new checkpatch boosted by the dictionary provided by 'codespell'. Change-Id: I101c76a638805d77c1ff356cf0f027552389e5d3 Signed-off-by: Antonio Borneo <borneo.antonio@gmail.com> Reviewed-on: http://openocd.zylin.com/6216 Tested-by: jenkins
This commit is contained in:
parent
583be907cf
commit
8e337052b6
|
@ -436,7 +436,7 @@ static const struct command_registration aice_subcommand_handlers[] = {
|
|||
.handler = &aice_handle_aice_desc_command,
|
||||
.mode = COMMAND_CONFIG,
|
||||
.help = "set the aice device description",
|
||||
.usage = "[desciption string]",
|
||||
.usage = "[description string]",
|
||||
},
|
||||
{
|
||||
.name = "serial",
|
||||
|
|
|
@ -2627,7 +2627,7 @@ static int aice_usb_halt(uint32_t coreid)
|
|||
|
||||
if (core_info[coreid].debug_under_dex_on) {
|
||||
if (core_info[coreid].dex_use_psw_on == false) {
|
||||
/* under debug 'debug mode', force $psw to 'debug mode' bahavior */
|
||||
/* under debug 'debug mode', force $psw to 'debug mode' behavior */
|
||||
/* !!!NOTICE!!! this is workaround for debug 'debug mode'.
|
||||
* it is only for debugging 'debug exception handler' purpose.
|
||||
* after openocd detaches from target, target behavior is
|
||||
|
|
|
@ -490,7 +490,7 @@ void jtag_add_tlr(void)
|
|||
|
||||
/**
|
||||
* If supported by the underlying adapter, this clocks a raw bit sequence
|
||||
* onto TMS for switching betwen JTAG and SWD modes.
|
||||
* onto TMS for switching between JTAG and SWD modes.
|
||||
*
|
||||
* DO NOT use this to bypass the integrity checks and logging provided
|
||||
* by the jtag_add_pathmove() and jtag_add_statemove() calls.
|
||||
|
@ -1343,7 +1343,7 @@ static int jtag_validate_ircapture(void)
|
|||
int chain_pos = 0;
|
||||
int retval;
|
||||
|
||||
/* when autoprobing, accomodate huge IR lengths */
|
||||
/* when autoprobing, accommodate huge IR lengths */
|
||||
for (tap = NULL, total_ir_length = 0;
|
||||
(tap = jtag_tap_next_enabled(tap)) != NULL;
|
||||
total_ir_length += tap->ir_length) {
|
||||
|
|
|
@ -262,7 +262,7 @@ static int cmsis_dap_usb_open(struct cmsis_dap *dap, uint16_t vids[], uint16_t p
|
|||
* - config asked explicitly for an interface number
|
||||
* - the device has only one interface
|
||||
* The later two cases should be honored only if we know
|
||||
* we are on the rigt device */
|
||||
* we are on the right device */
|
||||
bool intf_identified_reliably = cmsis_dap_in_interface_str
|
||||
|| (device_identified_reliably &&
|
||||
(cmsis_dap_usb_interface != -1
|
||||
|
|
|
@ -301,7 +301,7 @@ static int jtag_dpi_init(void)
|
|||
serv_addr.sin_addr.s_addr = inet_addr(server_address);
|
||||
|
||||
if (serv_addr.sin_addr.s_addr == INADDR_NONE) {
|
||||
LOG_ERROR("inet_addr error occured");
|
||||
LOG_ERROR("inet_addr error occurred");
|
||||
return ERROR_FAIL;
|
||||
}
|
||||
|
||||
|
|
|
@ -844,11 +844,11 @@ static int nulink_usb_read_mem(void *handle, uint32_t addr, uint32_t size,
|
|||
/* the nulink only supports 8/32bit memory read/writes
|
||||
* honour 32bit, all others will be handled as 8bit access */
|
||||
if (size == 4) {
|
||||
/* When in jtag mode the nulink uses the auto-increment functinality.
|
||||
/* When in jtag mode the nulink uses the auto-increment functionality.
|
||||
* However it expects us to pass the data correctly, this includes
|
||||
* alignment and any page boundaries. We already do this as part of the
|
||||
* adi_v5 implementation, but the nulink is a hla adapter and so this
|
||||
* needs implementiong manually.
|
||||
* needs implementing manually.
|
||||
* currently this only affects jtag mode, they do single
|
||||
* access in SWD mode - but this may change and so we do it for both modes */
|
||||
|
||||
|
@ -909,11 +909,11 @@ static int nulink_usb_write_mem(void *handle, uint32_t addr, uint32_t size,
|
|||
/* the nulink only supports 8/32bit memory read/writes
|
||||
* honour 32bit, all others will be handled as 8bit access */
|
||||
if (size == 4) {
|
||||
/* When in jtag mode the nulink uses the auto-increment functinality.
|
||||
/* When in jtag mode the nulink uses the auto-increment functionality.
|
||||
* However it expects us to pass the data correctly, this includes
|
||||
* alignment and any page boundaries. We already do this as part of the
|
||||
* adi_v5 implementation, but the nulink is a hla adapter and so this
|
||||
* needs implementiong manually.
|
||||
* needs implementing manually.
|
||||
* currently this only affects jtag mode, do single
|
||||
* access in SWD mode - but this may change and so we do it for both modes */
|
||||
|
||||
|
|
|
@ -561,8 +561,8 @@ static int ublast_read_byteshifted_tdos(uint8_t *buf, int nb_bytes)
|
|||
* - first bit is stored in byte0, bit0 (LSB)
|
||||
* - second bit is stored in byte0, bit 1
|
||||
* ...
|
||||
* - eight bit is sotred in byte0, bit 7
|
||||
* - ninth bit is sotred in byte1, bit 0
|
||||
* - eight bit is stored in byte0, bit 7
|
||||
* - ninth bit is stored in byte1, bit 0
|
||||
* - etc ...
|
||||
*
|
||||
* Returns ERROR_OK if OK, ERROR_xxx if a read error occurred
|
||||
|
|
|
@ -32,7 +32,7 @@
|
|||
* interface functions, instead of the built-in asynchronous driver
|
||||
* module that is used by the standard JTAG interface drivers.
|
||||
*
|
||||
* In addtion to the functions defined in the @c minidriver.h file, the
|
||||
* In addition to the functions defined in the @c minidriver.h file, the
|
||||
* @c jtag_minidriver.h file must declare the following functions (or
|
||||
* define static inline versions of them):
|
||||
* - jtag_add_callback
|
||||
|
|
Loading…
Reference in New Issue