aboutsummaryrefslogtreecommitdiff
path: root/src/target/arm966e.c
diff options
context:
space:
mode:
authoroharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>2009-06-04 11:33:36 +0000
committeroharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>2009-06-04 11:33:36 +0000
commit6468859389d25b24ee3c569935c46eae5d1a580d (patch)
tree79dc39f28a319fedea7d1a10bbe8f063073e0063 /src/target/arm966e.c
parentbb1a1ddb541808ef404473a22721231cdfe96929 (diff)
downloadriscv-openocd-6468859389d25b24ee3c569935c46eae5d1a580d.zip
riscv-openocd-6468859389d25b24ee3c569935c46eae5d1a580d.tar.gz
riscv-openocd-6468859389d25b24ee3c569935c46eae5d1a580d.tar.bz2
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/target/arm966e.c')
-rw-r--r--src/target/arm966e.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/target/arm966e.c b/src/target/arm966e.c
index 425cf66..58c99c0 100644
--- a/src/target/arm966e.c
+++ b/src/target/arm966e.c
@@ -189,11 +189,11 @@ int arm966e_read_cp15(target_t *target, int reg_addr, u32 *value)
fields[2].out_value = &nr_w_buf;
fields[2].in_value = NULL;
- jtag_add_dr_scan(3, fields, TAP_INVALID);
+ jtag_add_dr_scan(3, fields, jtag_add_end_state(TAP_INVALID));
fields[1].in_value = (u8 *)value;
- jtag_add_dr_scan(3, fields, TAP_INVALID);
+ jtag_add_dr_scan(3, fields, jtag_add_end_state(TAP_INVALID));
jtag_add_callback(arm_le_to_h_u32, (u8 *)value);
@@ -244,7 +244,7 @@ int arm966e_write_cp15(target_t *target, int reg_addr, u32 value)
fields[2].out_value = &nr_w_buf;
fields[2].in_value = NULL;
- jtag_add_dr_scan(3, fields, TAP_INVALID);
+ jtag_add_dr_scan(3, fields, jtag_add_end_state(TAP_INVALID));
#ifdef _DEBUG_INSTRUCTION_EXECUTION_
LOG_DEBUG("addr: 0x%x value: %8.8x", reg_addr, value);