summaryrefslogtreecommitdiff
path: root/src/jtag
diff options
context:
space:
mode:
authorZachary T Welch <zw@superlucidity.net>2009-11-13 13:30:50 -0800
committerZachary T Welch <zw@superlucidity.net>2009-11-13 13:30:50 -0800
commitef746e27c55c14b7a4f6381c490e5c175e409c0b (patch)
treec98f55afdd4a40de64371a04f7d201a47decb7e4 /src/jtag
parent98723c4ecdbe06f90c66f3abec27b792c3b38e34 (diff)
downloadopenocd_libswd-ef746e27c55c14b7a4f6381c490e5c175e409c0b.tar.gz
openocd_libswd-ef746e27c55c14b7a4f6381c490e5c175e409c0b.tar.bz2
openocd_libswd-ef746e27c55c14b7a4f6381c490e5c175e409c0b.tar.xz
openocd_libswd-ef746e27c55c14b7a4f6381c490e5c175e409c0b.zip
command_t -> struct command
Remove misleading typedef and redundant suffix from struct command.
Diffstat (limited to 'src/jtag')
-rw-r--r--src/jtag/minidummy/minidummy.c2
-rw-r--r--src/jtag/rlink/rlink.c8
-rw-r--r--src/jtag/zy1000/zy1000.c2
3 files changed, 6 insertions, 6 deletions
diff --git a/src/jtag/minidummy/minidummy.c b/src/jtag/minidummy/minidummy.c
index b01f593b..67919e4e 100644
--- a/src/jtag/minidummy/minidummy.c
+++ b/src/jtag/minidummy/minidummy.c
@@ -78,7 +78,7 @@ int interface_jtag_add_plain_ir_scan(int num_fields, const struct scan_field *fi
return ERROR_OK;
}
-/*extern jtag_command_t **jtag_get_last_command_p(void);*/
+/*extern jtag_struct command **jtag_get_last_command_p(void);*/
int interface_jtag_add_dr_scan(int num_fields, const struct scan_field *fields, tap_state_t state)
{
diff --git a/src/jtag/rlink/rlink.c b/src/jtag/rlink/rlink.c
index 8f2f26fe..8aa0342a 100644
--- a/src/jtag/rlink/rlink.c
+++ b/src/jtag/rlink/rlink.c
@@ -578,7 +578,7 @@ dtc_run_download(
struct dtc_reply_queue_entry {
struct dtc_reply_queue_entry_s *next;
- jtag_command_t *cmd; /* the command that resulted in this entry */
+ jtag_struct command *cmd; /* the command that resulted in this entry */
struct {
uint8_t *buffer; /* the scan buffer */
@@ -637,7 +637,7 @@ dtc_queue_enqueue_reply(
int size,
int offset,
int length,
- jtag_command_t *cmd
+ jtag_struct command *cmd
) {
struct dtc_reply_queue_entry *rq_entry;
@@ -1090,7 +1090,7 @@ void rlink_reset(int trst, int srst)
static
int
rlink_scan(
- jtag_command_t *cmd,
+ jtag_struct command *cmd,
enum scan_type type,
uint8_t *buffer,
int scan_size
@@ -1378,7 +1378,7 @@ rlink_scan(
static
int rlink_execute_queue(void)
{
- jtag_command_t *cmd = jtag_command_queue; /* currently processed command */
+ jtag_struct command *cmd = jtag_command_queue; /* currently processed command */
int scan_size;
enum scan_type type;
uint8_t *buffer;
diff --git a/src/jtag/zy1000/zy1000.c b/src/jtag/zy1000/zy1000.c
index 1edf57f8..526914af 100644
--- a/src/jtag/zy1000/zy1000.c
+++ b/src/jtag/zy1000/zy1000.c
@@ -595,7 +595,7 @@ int interface_jtag_add_plain_ir_scan(int num_fields, const struct scan_field *fi
return ERROR_OK;
}
-/*extern jtag_command_t **jtag_get_last_command_p(void);*/
+/*extern jtag_struct command **jtag_get_last_command_p(void);*/
int interface_jtag_add_dr_scan(int num_fields, const struct scan_field *fields, tap_state_t state)
{