diff options
author | oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60> | 2009-06-04 11:33:36 +0000 |
---|---|---|
committer | oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60> | 2009-06-04 11:33:36 +0000 |
commit | 6468859389d25b24ee3c569935c46eae5d1a580d (patch) | |
tree | 79dc39f28a319fedea7d1a10bbe8f063073e0063 /src/flash | |
parent | bb1a1ddb541808ef404473a22721231cdfe96929 (diff) | |
download | openocd_libswd-6468859389d25b24ee3c569935c46eae5d1a580d.tar.gz openocd_libswd-6468859389d25b24ee3c569935c46eae5d1a580d.tar.bz2 openocd_libswd-6468859389d25b24ee3c569935c46eae5d1a580d.tar.xz openocd_libswd-6468859389d25b24ee3c569935c46eae5d1a580d.zip |
remove TAP_INVALID as argument to jtag_add_xxx() fn's
git-svn-id: svn://svn.berlios.de/openocd/trunk@2042 b42882b7-edfa-0310-969c-e2dbd0fdcd60
Diffstat (limited to 'src/flash')
-rw-r--r-- | src/flash/str9xpec.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/flash/str9xpec.c b/src/flash/str9xpec.c index 1ea81763..6d2beb44 100644 --- a/src/flash/str9xpec.c +++ b/src/flash/str9xpec.c @@ -539,7 +539,7 @@ static int str9xpec_lock_device(struct flash_bank_s *bank) field.out_value = NULL; field.in_value = &status; - jtag_add_dr_scan(1, &field, TAP_INVALID); + jtag_add_dr_scan(1, &field, jtag_add_end_state(TAP_INVALID)); jtag_execute_queue(); } while(!(status & ISC_STATUS_BUSY)); @@ -620,7 +620,7 @@ static int str9xpec_set_address(struct flash_bank_s *bank, u8 sector) field.out_value = §or; field.in_value = NULL; - jtag_add_dr_scan(1, &field, TAP_INVALID); + jtag_add_dr_scan(1, &field, jtag_add_end_state(TAP_INVALID)); return ERROR_OK; } @@ -717,7 +717,7 @@ static int str9xpec_write(struct flash_bank_s *bank, u8 *buffer, u32 offset, u32 field.out_value = NULL; field.in_value = scanbuf; - jtag_add_dr_scan(1, &field, TAP_INVALID); + jtag_add_dr_scan(1, &field, jtag_add_end_state(TAP_INVALID)); jtag_execute_queue(); status = buf_get_u32(scanbuf, 0, 8); @@ -767,7 +767,7 @@ static int str9xpec_write(struct flash_bank_s *bank, u8 *buffer, u32 offset, u32 field.out_value = NULL; field.in_value = scanbuf; - jtag_add_dr_scan(1, &field, TAP_INVALID); + jtag_add_dr_scan(1, &field, jtag_add_end_state(TAP_INVALID)); jtag_execute_queue(); status = buf_get_u32(scanbuf, 0, 8); @@ -959,7 +959,7 @@ static int str9xpec_write_options(struct flash_bank_s *bank) field.out_value = NULL; field.in_value = &status; - jtag_add_dr_scan(1, &field, TAP_INVALID); + jtag_add_dr_scan(1, &field, jtag_add_end_state(TAP_INVALID)); jtag_execute_queue(); } while(!(status & ISC_STATUS_BUSY)); |