Remove remaining references to FTD2XX driver
This includes a USB blaster configuration that only worked with that low-level access and some obsolete build-tests. Change-Id: I53d27cbf782ebbd131b1af25e358adf35f2b4500 Signed-off-by: Andreas Fritiofson <andreas.fritiofson@gmail.com> Reviewed-on: https://review.openocd.org/c/openocd/+/6660 Tested-by: jenkins Reviewed-by: Antonio Borneo <borneo.antonio@gmail.com> Reviewed-by: Tomas Vanek <vanekt@fbl.cz>
This commit is contained in:
committed by
Antonio Borneo
parent
6fef2eca38
commit
4afd8852bb
@@ -1,6 +1,6 @@
|
||||
/*******************************************************************************
|
||||
* Driver for OpenJTAG Project (www.openjtag.org) *
|
||||
* Compatible with libftdi and ftd2xx drivers. *
|
||||
* Compatible with libftdi drivers. *
|
||||
* *
|
||||
* Cypress CY7C65215 support *
|
||||
* Copyright (C) 2015 Vianney le Clément de Saint-Marcq, Essensium NV *
|
||||
|
||||
@@ -36,7 +36,6 @@ struct ublast_lowlevel {
|
||||
uint16_t ublast_pid;
|
||||
uint16_t ublast_vid_uninit;
|
||||
uint16_t ublast_pid_uninit;
|
||||
char *ublast_device_desc;
|
||||
struct libusb_device_handle *libusb_dev;
|
||||
char *firmware_path;
|
||||
|
||||
|
||||
@@ -119,7 +119,6 @@ struct ublast_info {
|
||||
|
||||
char *lowlevel_name;
|
||||
struct ublast_lowlevel *drv;
|
||||
char *ublast_device_desc;
|
||||
uint16_t ublast_vid, ublast_pid;
|
||||
uint16_t ublast_vid_uninit, ublast_pid_uninit;
|
||||
int flags;
|
||||
@@ -140,7 +139,7 @@ static struct ublast_info info = {
|
||||
};
|
||||
|
||||
/*
|
||||
* Available lowlevel drivers (FTDI, FTD2xx, ...)
|
||||
* Available lowlevel drivers (FTDI, libusb, ...)
|
||||
*/
|
||||
struct drvs_map {
|
||||
char *name;
|
||||
@@ -874,7 +873,6 @@ static int ublast_init(void)
|
||||
info.drv->ublast_pid = info.ublast_pid;
|
||||
info.drv->ublast_vid_uninit = info.ublast_vid_uninit;
|
||||
info.drv->ublast_pid_uninit = info.ublast_pid_uninit;
|
||||
info.drv->ublast_device_desc = info.ublast_device_desc;
|
||||
info.drv->firmware_path = info.firmware_path;
|
||||
|
||||
info.flags |= info.drv->flags;
|
||||
@@ -908,16 +906,6 @@ static int ublast_quit(void)
|
||||
return info.drv->close(info.drv);
|
||||
}
|
||||
|
||||
COMMAND_HANDLER(ublast_handle_device_desc_command)
|
||||
{
|
||||
if (CMD_ARGC != 1)
|
||||
return ERROR_COMMAND_SYNTAX_ERROR;
|
||||
|
||||
info.ublast_device_desc = strdup(CMD_ARGV[0]);
|
||||
|
||||
return ERROR_OK;
|
||||
}
|
||||
|
||||
COMMAND_HANDLER(ublast_handle_vid_pid_command)
|
||||
{
|
||||
if (CMD_ARGC > 4) {
|
||||
@@ -1031,13 +1019,6 @@ COMMAND_HANDLER(ublast_firmware_command)
|
||||
|
||||
|
||||
static const struct command_registration ublast_subcommand_handlers[] = {
|
||||
{
|
||||
.name = "device_desc",
|
||||
.handler = ublast_handle_device_desc_command,
|
||||
.mode = COMMAND_CONFIG,
|
||||
.help = "set the USB device description of the USB-Blaster",
|
||||
.usage = "description-string",
|
||||
},
|
||||
{
|
||||
.name = "vid_pid",
|
||||
.handler = ublast_handle_vid_pid_command,
|
||||
|
||||
Reference in New Issue
Block a user