Advertisement
heimi

flashrom patch for ST Micro Connect Lite

Mar 18th, 2013
196
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Diff 1.50 KB | None | 0 0
  1. Index: ft2232_spi.c
  2. ===================================================================
  3. --- ft2232_spi.c        (Revision 1848)
  4. +++ ft2232_spi.c        (Arbeitskopie)
  5. @@ -46,6 +46,9 @@
  6.  #define TIAO_TUMPA_LITE_PID    0x8a99
  7.  #define AMONTEC_JTAGKEY_PID    0xCFF8
  8.  
  9. +#define STM_VID             0x0483
  10. +#define STMCL_PID           0x3746
  11. +
  12.  #define GOEPEL_VID             0x096C
  13.  #define GOEPEL_PICOTAP_PID     0x1449
  14.  
  15. @@ -65,6 +68,7 @@
  16.         {FTDI_VID, TIAO_TUMPA_PID, OK, "TIAO", "USB Multi-Protocol Adapter"},
  17.         {FTDI_VID, TIAO_TUMPA_LITE_PID, OK, "TIAO", "USB Multi-Protocol Adapter Lite"},
  18.         {FTDI_VID, AMONTEC_JTAGKEY_PID, OK, "Amontec", "JTAGkey"},
  19. +       {STM_VID, STMCL_PID, OK, "ST Micro", "Micro Connect Lite"}, //2232H based
  20.         {GOEPEL_VID, GOEPEL_PICOTAP_PID, OK, "GOEPEL", "PicoTAP"},
  21.         {FIC_VID, OPENMOKO_DBGBOARD_PID, OK, "FIC", "OpenMoko Neo1973 Debug board (V2+)"},
  22.         {OLIMEX_VID, OLIMEX_ARM_OCD_PID, NT, "Olimex", "ARM-USB-OCD"},
  23. @@ -197,6 +201,10 @@
  24.                 } else if (!strcasecmp(arg, "232H")) {
  25.                         ft2232_type = FTDI_FT232H_PID;
  26.                         channel_count = 1;
  27. +               } else if (!strcasecmp(arg, "STM")) {
  28. +                       ft2232_vid = STM_VID;
  29. +                       ft2232_type = STMCL_PID;
  30. +                       channel_count = 1;
  31.                 } else if (!strcasecmp(arg, "jtagkey")) {
  32.                         ft2232_type = AMONTEC_JTAGKEY_PID;
  33.                         channel_count = 2;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement