X-Git-Url: https://review.openocd.org/gitweb?a=blobdiff_plain;f=src%2Ftarget%2Farm_adi_v5.h;h=8d1260866255f3d2d340c7dd69f76f9266303e76;hb=13ac3d556c8cae37807801b64c289a3e9bfde359;hp=047900ad2cd4c55aeee9c9c6bf59a7444dbab589;hpb=003f8a1d04f4e82c32d11f86ef32173048ab610c;p=openocd.git diff --git a/src/target/arm_adi_v5.h b/src/target/arm_adi_v5.h index 047900ad2c..8d12608662 100644 --- a/src/target/arm_adi_v5.h +++ b/src/target/arm_adi_v5.h @@ -213,6 +213,12 @@ struct adiv5_dap { * the AHB-AP has strange byte ordering these processors, and we need to * swizzle appropriately. */ bool ti_be_32_quirks; + + /** + * Signals that an attempt to reestablish communication afresh + * should be performed before the next access. + */ + bool do_reconnect; }; /** @@ -470,7 +476,7 @@ int dap_find_ap(struct adiv5_dap *dap, /* Lookup CoreSight component */ int dap_lookup_cs_component(struct adiv5_dap *dap, int ap, - uint32_t dbgbase, uint8_t type, uint32_t *addr); + uint32_t dbgbase, uint8_t type, uint32_t *addr, int32_t *idx); struct target;