From aaf5991d79fd7e620b74b3aed63e61181aa19f01 Mon Sep 17 00:00:00 2001 From: Salvador Arroyo Date: Sun, 27 May 2012 18:03:07 +0200 Subject: [PATCH] MPSSE: Add FT232H to supported chips Change-Id: I1ce1db7eb87a7cdeafc1f8b8b34594f6fa3bf1f8 Signed-off-by: Salvador Arroyo Reviewed-on: http://openocd.zylin.com/677 Tested-by: jenkins Reviewed-by: Freddie Chopin Reviewed-by: Peter Stuge --- src/jtag/drivers/mpsse.c | 3 +++ src/jtag/drivers/mpsse.h | 1 + 2 files changed, 4 insertions(+) diff --git a/src/jtag/drivers/mpsse.c b/src/jtag/drivers/mpsse.c index dbca535f..063ef2ff 100644 --- a/src/jtag/drivers/mpsse.c +++ b/src/jtag/drivers/mpsse.c @@ -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; diff --git a/src/jtag/drivers/mpsse.h b/src/jtag/drivers/mpsse.h index 766a2158..b83bdc4a 100644 --- a/src/jtag/drivers/mpsse.h +++ b/src/jtag/drivers/mpsse.h @@ -36,6 +36,7 @@ enum ftdi_chip_type { TYPE_FT2232C, TYPE_FT2232H, TYPE_FT4232H, + TYPE_FT232H, }; struct mpsse_ctx; -- 2.39.5