aboutsummaryrefslogtreecommitdiff
path: root/src/jtag/drivers/jtag_usb_common.h
blob: 8c03742e9224de133ed213d81c3685c702a67111 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
/*
 * SPDX-License-Identifier: GPL-2.0+
 * Copyright (c) 2018 Pengutronix, Oleksij Rempel <kernel@pengutronix.de>
 */

#ifndef OPENOCD_JTAG_USB_COMMON_H
#define OPENOCD_JTAG_USB_COMMON_H

void jtag_usb_set_location(const char *location);
const char *jtag_usb_get_location(void);
bool jtag_usb_location_equal(uint8_t dev_bus, uint8_t *port_path,
			     size_t path_len);

#endif /* OPENOCD_JTAG_USB_COMMON_H */