jtag/drivers/jlink.c: fix for LPC Link-2 running JLink firmware on Linux
commit61d8b2cabfd967a1702f2c14661b03d8dcb7d44c
authorAnders <anders@openpuma.org>
Fri, 12 Sep 2014 15:44:33 +0000 (12 08:44 -0700)
committerSpencer Oliver <spen@spen-soft.co.uk>
Mon, 6 Oct 2014 11:58:57 +0000 (6 11:58 +0000)
tree984db84f6cff66a6579e0da69efd0197fca76f05
parentca8f8e7e77ec2263044288e540c7276155155a48
jtag/drivers/jlink.c: fix for LPC Link-2 running JLink firmware on Linux

Change 2288 fixed the extraneous reset caused by set_configuration that
crashed the LPC Link-2 running JLink firmware and works on windows platforms.
On Linux however, conditional code was still calling USB reset and caused
the adapter to crash on any non-windows platforms.

Change-Id: Ibf2a02d0dcdd91ccb71d86231cd8311dcadfee1e
Signed-off-by: anders@openpuma.org
Reviewed-on: http://openocd.zylin.com/2297
Tested-by: jenkins
Reviewed-by: Xiaofan <xiaofanc@gmail.com>
Reviewed-by: Spencer Oliver <spen@spen-soft.co.uk>
src/jtag/drivers/jlink.c