]> git.sur5r.net Git - openocd/commitdiff
MPSSE: Add FT232H to supported chips
authorSalvador Arroyo <sarroyofdez@yahoo.es>
Sun, 27 May 2012 16:03:07 +0000 (18:03 +0200)
committerPeter Stuge <peter@stuge.se>
Tue, 17 Jul 2012 04:59:56 +0000 (04:59 +0000)
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>
src/jtag/drivers/mpsse.c
src/jtag/drivers/mpsse.h

index dbca535f91b6e125a032bc4608698f5358211f46..063ef2ffb69bbf5fbd479105216e0e7802a72d4e 100644 (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;
index 766a215824ad67ef7adb29e0a84dd079e8ec7b1d..b83bdc4a43497196a58a443ecd180255c703d082 100644 (file)
@@ -36,6 +36,7 @@ enum ftdi_chip_type {
        TYPE_FT2232C,
        TYPE_FT2232H,
        TYPE_FT4232H,
+       TYPE_FT232H,
 };
 
 struct mpsse_ctx;