diff options
author | mifi <mifi@b42882b7-edfa-0310-969c-e2dbd0fdcd60> | 2008-01-07 17:11:11 +0000 |
---|---|---|
committer | mifi <mifi@b42882b7-edfa-0310-969c-e2dbd0fdcd60> | 2008-01-07 17:11:11 +0000 |
commit | 2e01a1ad1930aabb9e3bc7a0e3eb98b2b3331b1c (patch) | |
tree | c61277cfba79f42460543b0948a16be03c7a7272 /src/xsvf | |
parent | dfe1b3f31478817951ee8c493d5eec605b43cc6a (diff) |
- added gdb flash fixes patch
https://lists.berlios.de/pipermail/openocd-development/2007-December/000548.html
- added synthesize in_check_mask/value and error handler patch
https://lists.berlios.de/pipermail/openocd-development/2008-January/000554.html
(thanks to oyvind harboe for these patches)
git-svn-id: svn://svn.berlios.de/openocd/trunk@248 b42882b7-edfa-0310-969c-e2dbd0fdcd60
Diffstat (limited to 'src/xsvf')
-rw-r--r-- | src/xsvf/xsvf.c | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/src/xsvf/xsvf.c b/src/xsvf/xsvf.c index fd9e364e..16012887 100644 --- a/src/xsvf/xsvf.c +++ b/src/xsvf/xsvf.c @@ -226,10 +226,7 @@ int handle_xsvf_command(struct command_context_s *cmd_ctx, char *cmd, char **arg field.out_value = dr_out_buf; field.out_mask = NULL; field.in_value = NULL; - field.in_check_value = dr_in_buf; - field.in_check_mask = dr_in_mask; - field.in_handler = NULL; - field.in_handler_priv = 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); else @@ -303,10 +300,7 @@ int handle_xsvf_command(struct command_context_s *cmd_ctx, char *cmd, char **arg field.out_value = dr_out_buf; field.out_mask = NULL; field.in_value = NULL; - field.in_check_value = dr_in_buf; - field.in_check_mask = dr_in_mask; - field.in_handler = NULL; - field.in_handler_priv = 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); else |