* 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 OPENOCD_JTAG_INTERFACE_H
*/
struct jtag_interface {
/** The name of the JTAG interface driver. */
- char *name;
+ const char * const name;
/**
* Bit vector listing capabilities exposed by this driver.
#define DEBUG_CAP_TMS_SEQ (1 << 0)
/** transports supported in C code (NULL terminated vector) */
- const char **transports;
+ const char * const *transports;
const struct swd_driver *swd;
int (*srst_asserted)(int *srst_asserted);
};
-extern const char *jtag_only[];
+extern const char * const jtag_only[];
-extern const struct swd_driver *swd;
+void adapter_assert_reset(void);
+void adapter_deassert_reset(void);
#endif /* OPENOCD_JTAG_INTERFACE_H */