diff options
author | oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60> | 2008-02-25 08:22:18 +0000 |
---|---|---|
committer | oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60> | 2008-02-25 08:22:18 +0000 |
commit | 687a9553c9cc74a7ca3d3ac5f2470b34e7cc623b (patch) | |
tree | 563afe959aebbd33cefff106c370832b4cbbeda0 /src/xsvf | |
parent | 4edcbe0a54505f6b44d23983c842b52cbaae1dc0 (diff) | |
download | openocd+libswd-687a9553c9cc74a7ca3d3ac5f2470b34e7cc623b.tar.gz openocd+libswd-687a9553c9cc74a7ca3d3ac5f2470b34e7cc623b.tar.bz2 openocd+libswd-687a9553c9cc74a7ca3d3ac5f2470b34e7cc623b.tar.xz openocd+libswd-687a9553c9cc74a7ca3d3ac5f2470b34e7cc623b.zip |
From Michael Bruck
- bugfix in server.c
- removed unused parameter from jtag_add_ir_scan et al. This
wasn't necessary in hindsight but anyway.
- arm11 source committed but not not in Makefile.am/target.c for now.
git-svn-id: svn://svn.berlios.de/openocd/trunk@341 b42882b7-edfa-0310-969c-e2dbd0fdcd60
Diffstat (limited to 'src/xsvf')
-rw-r--r-- | src/xsvf/xsvf.c | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/src/xsvf/xsvf.c b/src/xsvf/xsvf.c index 48ca0645..298377d9 100644 --- a/src/xsvf/xsvf.c +++ b/src/xsvf/xsvf.c @@ -188,9 +188,9 @@ int handle_xsvf_command(struct command_context_s *cmd_ctx, char *cmd, char **arg field.in_handler = NULL;
field.in_handler_priv = NULL;
if (device == -1)
- jtag_add_plain_ir_scan(1, &field, TAP_PI, NULL);
+ jtag_add_plain_ir_scan(1, &field, TAP_PI);
else
- jtag_add_ir_scan(1, &field, TAP_PI, NULL);
+ jtag_add_ir_scan(1, &field, TAP_PI);
if (jtag_execute_queue() != ERROR_OK)
{
tdo_mismatch = 1;
@@ -228,9 +228,9 @@ int handle_xsvf_command(struct command_context_s *cmd_ctx, char *cmd, char **arg field.in_value = NULL;
jtag_set_check_value(&field, dr_in_buf, dr_in_mask, NULL);
if (device == -1)
- jtag_add_plain_dr_scan(1, &field, TAP_PD, NULL);
+ jtag_add_plain_dr_scan(1, &field, TAP_PD);
else
- jtag_add_dr_scan(1, &field, TAP_PD, NULL);
+ jtag_add_dr_scan(1, &field, TAP_PD);
if (jtag_execute_queue() != ERROR_OK)
{
tdo_mismatch = 1;
@@ -302,9 +302,9 @@ int handle_xsvf_command(struct command_context_s *cmd_ctx, char *cmd, char **arg field.in_value = NULL;
jtag_set_check_value(&field, dr_in_buf, dr_in_mask, NULL);
if (device == -1)
- jtag_add_plain_dr_scan(1, &field, TAP_PD, NULL);
+ jtag_add_plain_dr_scan(1, &field, TAP_PD);
else
- jtag_add_dr_scan(1, &field, TAP_PD, NULL);
+ jtag_add_dr_scan(1, &field, TAP_PD);
if (jtag_execute_queue() != ERROR_OK)
{
tdo_mismatch = 1;
@@ -428,9 +428,9 @@ int handle_xsvf_command(struct command_context_s *cmd_ctx, char *cmd, char **arg field.in_handler = NULL;
field.in_handler_priv = NULL;
if (device == -1)
- jtag_add_plain_ir_scan(1, &field, xsvf_to_tap[xendir], NULL);
+ jtag_add_plain_ir_scan(1, &field, xsvf_to_tap[xendir]);
else
- jtag_add_ir_scan(1, &field, xsvf_to_tap[xendir], NULL);
+ jtag_add_ir_scan(1, &field, xsvf_to_tap[xendir]);
}
free(ir_buf);
}
|