X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=src%2Ftarget%2Fembeddedice.h;h=5ed66603a6afa59b14c945e79738d0dd8be7a428;hb=f90d8fa45f2d4c9d4b7990f198b232ee55cbb4e1;hp=4f6a33c844f653a672e8e500d6a32699dbf62d83;hpb=6d1d58a1fc3dfd60e9cac89460b5a6e438d11efa;p=fw%2Fopenocd diff --git a/src/target/embeddedice.h b/src/target/embeddedice.h index 4f6a33c84..5ed66603a 100644 --- a/src/target/embeddedice.h +++ b/src/target/embeddedice.h @@ -108,7 +108,7 @@ extern int embeddedice_handshake(arm_jtag_t *jtag_info, int hsbit, uint32_t time /* If many embeddedice_write_reg() follow eachother, then the >1 invocations can be this faster version of * embeddedice_write_reg */ -static __inline__ void embeddedice_write_reg_inner( jtag_tap_t *tap, int reg_addr, uint32_t value) +static __inline__ void embeddedice_write_reg_inner(jtag_tap_t *tap, int reg_addr, uint32_t value) { static const int embeddedice_num_bits[]={32,5,1}; uint32_t values[3]; @@ -117,7 +117,7 @@ static __inline__ void embeddedice_write_reg_inner( jtag_tap_t *tap, int reg_add values[1]=reg_addr; values[2]=1; - jtag_add_dr_out( tap, + jtag_add_dr_out(tap, 3, embeddedice_num_bits, values,