Changeset 1478


Ignore:
Timestamp:
12/20/11 03:08:14 (5 months ago)
Author:
hailfinger
Message:

ft2232_spi: fix arm-usb-ocd and arm-usb-ocd-h

These devices have an additional output buffer which is activated only
by pulling ADBUS4 low. This patch was real-life tested with
arm-usb-ocd; arm-usb-ocd-h should be the same (as it shares the same
documentation).

Signed-off-by: Paul Fertser <fercerpav@…>
Acked-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@…>

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/ft2232_spi.c

    r1474 r1478  
    205205                        ft2232_type = OLIMEX_ARM_OCD_PID; 
    206206                        ft2232_interface = INTERFACE_A; 
     207                        cs_bits = 0x08; 
     208                        pindir = 0x1b; 
    207209                } else if (!strcasecmp(arg, "arm-usb-tiny")) { 
    208210                        ft2232_vid = OLIMEX_VID; 
     
    213215                        ft2232_type = OLIMEX_ARM_OCD_H_PID; 
    214216                        ft2232_interface = INTERFACE_A; 
     217                        cs_bits = 0x08; 
     218                        pindir = 0x1b; 
    215219                } else if (!strcasecmp(arg, "arm-usb-tiny-h")) { 
    216220                        ft2232_vid = OLIMEX_VID; 
Note: See TracChangeset for help on using the changeset viewer.