MPSSE: Add FT232H to supported chips

Change-Id: I1ce1db7eb87a7cdeafc1f8b8b34594f6fa3bf1f8
Signed-off-by: Salvador Arroyo <sarroyofdez@yahoo.es>
Reviewed-on: http://openocd.zylin.com/677
Tested-by: jenkins
Reviewed-by: Freddie Chopin <freddie.chopin@gmail.com>
Reviewed-by: Peter Stuge <peter@stuge.se>
This commit is contained in:
Salvador Arroyo 2012-05-27 18:03:07 +02:00 committed by Peter Stuge
parent f5e97b5e1b
commit aaf5991d79
2 changed files with 4 additions and 0 deletions

View File

@ -216,6 +216,9 @@ static bool open_matching_device(struct mpsse_ctx *ctx, const uint16_t *vid, con
case 0x800:
ctx->type = TYPE_FT4232H;
break;
case 0x900:
ctx->type = TYPE_FT232H;
break;
default:
LOG_ERROR("unsupported FTDI chip type: 0x%04x", desc.bcdDevice);
goto error;

View File

@ -36,6 +36,7 @@ enum ftdi_chip_type {
TYPE_FT2232C,
TYPE_FT2232H,
TYPE_FT4232H,
TYPE_FT232H,
};
struct mpsse_ctx;