Automatically prepend v1 mass storage protocol.
authorMathias K <kesmtp@freenet.de>
Thu, 8 Mar 2012 16:07:47 +0000 (17:07 +0100)
committerSpencer Oliver <spen@spen-soft.co.uk>
Wed, 14 Mar 2012 20:33:03 +0000 (20:33 +0000)
commitcfdfe5119de8f3e2cbaebd9f912e920a03f0168b
tree8c6dc8636f22d342f5be461816287a8c9acee3ee
parent8e198e94712f8e677faffb8e0e3e9e590bae0161
Automatically prepend v1 mass storage protocol.

This patch prepend the v1 mass storage protocol to the command
buffer and simplify the usb read/write handling.

Change-Id: I709602600e93cd1eb5848fa9f4d15659ba85eb35
Signed-off-by: Mathias K <kesmtp@freenet.de>
Reviewed-on: http://openocd.zylin.com/506
Tested-by: jenkins
Reviewed-by: Spencer Oliver <spen@spen-soft.co.uk>
src/jtag/drivers/stlink_usb.c