* 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 _HL_INTERFACE
struct hl_interface_param_s {
/** */
- char *device_desc;
+ const char *device_desc;
/** */
- char *serial;
+ const char *serial;
/** */
uint16_t vid;
/** */
unsigned api;
/** */
enum hl_transports transport;
+ /** */
+ bool connect_under_reset;
+ /** Initial interface clock clock speed */
+ int initial_interface_speed;
};
struct hl_interface_s {
/** */
const struct hl_layout *layout;
/** */
- void *fd;
+ void *handle;
};
/** */
int hl_interface_init_target(struct target *t);
int hl_interface_init_reset(void);
+int hl_interface_override_target(const char **targetname);
#endif /* _HL_INTERFACE */