X-Git-Url: https://review.openocd.org/gitweb?a=blobdiff_plain;f=src%2Fjtag%2Fswd.h;h=80d50ff81008c462714913f9344a39c741b0a17b;hb=8d70c862002bafc1c2f7d1bb4095de68d399294e;hp=9a591f38c6d96dd994e3deed1c6fb51f1a77cc28;hpb=38f8e5eefac748a30a4bf5e9d7a7313c8ae0e4e9;p=openocd.git diff --git a/src/jtag/swd.h b/src/jtag/swd.h index 9a591f38c6..80d50ff810 100644 --- a/src/jtag/swd.h +++ b/src/jtag/swd.h @@ -14,9 +14,12 @@ * You should have received a copy of the GNU General Public License * * along with this program; if not, write to the * * Free Software Foundation, Inc., * - * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. * + * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. * ***************************************************************************/ +#ifndef SWD_H +#define SWD_H + /* Bits in SWD command packets, written from host to target * first bit on the wire is START */ @@ -128,4 +131,9 @@ struct swd_driver { int *(*trace)(bool swo); }; +int swd_init_reset(struct command_context *cmd_ctx); +void swd_add_reset(int req_srst); + bool transport_is_swd(void); + +#endif /* SWD_H */