bus_blaster: do not fail on missing get_latency_timer27/1627/2
authorSøren Jørvang <jorvang@users.sourceforge.net>
Tue, 17 Sep 2013 13:21:38 +0000 (14:21 +0100)
committerSpencer Oliver <spen@spen-soft.co.uk>
Wed, 25 Sep 2013 13:55:27 +0000 (13:55 +0000)
commit3f34ed9c7908ac78ed3f83d436cd6a365ddd4d7a
tree00234107b1565ebfd9aa8774dcf15f5a85adf550
parentb89917020d559ed132ddb044b38e49dd2abb7b89
bus_blaster: do not fail on missing get_latency_timer

Patch submitted from Trac #64
Seems certain clones do not correctly emulate the ftdi chip, if
the call to read the latency timer fails then do not treat this as a
failure.

Change-Id: Iae671b926d101adf1010639d11ca46c58d0af524
Signed-off-by: Spencer Oliver <spen@spen-soft.co.uk>
Reviewed-on: http://openocd.zylin.com/1627
Tested-by: jenkins
Reviewed-by: Xiaofan <xiaofanc@gmail.com>
src/jtag/drivers/usb_blaster/ublast_access_ftd2xx.c
src/jtag/drivers/usb_blaster/ublast_access_ftdi.c