X-Git-Url: https://review.openocd.org/gitweb?p=openocd.git;a=blobdiff_plain;f=src%2Fjtag%2Fhla%2Fhla_interface.h;h=418b7d35ef5c007ff201faea727117c2d37cf0b2;hp=13c169f2a8df4e7dda05621c202874574afcca2c;hb=d0e763ac7ef6aa17b17bd00ccdfbccfb4eacda69;hpb=1e6970dafdccfec388d1a816c2019f9c6b26e338 diff --git a/src/jtag/hla/hla_interface.h b/src/jtag/hla/hla_interface.h index 13c169f2a8..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; /** */ @@ -46,10 +44,8 @@ struct hl_interface_param_s { enum hl_transports transport; /** */ bool connect_under_reset; - /** Output file for trace data (if any) */ - FILE *trace_f; - /** Trace module source clock rate */ - uint32_t trace_source_hz; + /** Initial interface clock clock speed */ + int initial_interface_speed; }; struct hl_interface_s { @@ -67,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 */