X-Git-Url: https://review.openocd.org/gitweb?a=blobdiff_plain;f=src%2Fjtag%2Fhla%2Fhla_interface.h;h=418b7d35ef5c007ff201faea727117c2d37cf0b2;hb=refs%2Fchanges%2F88%2F3488%2F3;hp=c4e3298d04d7db2fea92297ab7776b97e8ffd3c6;hpb=08d4411b59dd8bd0e7d8009003b71d23acbf6eee;p=openocd.git diff --git a/src/jtag/hla/hla_interface.h b/src/jtag/hla/hla_interface.h index c4e3298d04..418b7d35ef 100644 --- a/src/jtag/hla/hla_interface.h +++ b/src/jtag/hla/hla_interface.h @@ -16,9 +16,7 @@ * GNU General Public License for more details. * * * * 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., * - * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. * + * along with this program. If not, see . * ***************************************************************************/ #ifndef _HL_INTERFACE @@ -33,9 +31,9 @@ extern const char *hl_transports[]; struct hl_interface_param_s { /** */ - char *device_desc; + const char *device_desc; /** */ - char *serial; + const char *serial; /** */ uint16_t vid; /** */ @@ -45,9 +43,9 @@ struct hl_interface_param_s { /** */ enum hl_transports transport; /** */ - int max_buffer; - /** */ bool connect_under_reset; + /** Initial interface clock clock speed */ + int initial_interface_speed; }; struct hl_interface_s { @@ -56,7 +54,7 @@ struct hl_interface_s { /** */ const struct hl_layout *layout; /** */ - void *fd; + void *handle; }; /** */ @@ -65,5 +63,6 @@ int hl_interface_open(enum hl_transports tr); 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 */