diff options
author | Nico Huber <nico.huber@secunet.com> | 2016-02-18 21:42:49 +0000 |
---|---|---|
committer | Stefan Tauner <stefan.tauner@alumni.tuwien.ac.at> | 2016-02-18 21:42:49 +0000 |
commit | d99a2bd049264cc327c6ef772d1ae9c11697a29e (patch) | |
tree | e1ec42d9aebfb5615ddedbbc0c141562610b7fd5 /pickit2_spi.c | |
parent | c05900f3dccddb5ffb4f1c9557b2ffc81683ec44 (diff) | |
download | flashrom-d99a2bd049264cc327c6ef772d1ae9c11697a29e.tar.gz flashrom-d99a2bd049264cc327c6ef772d1ae9c11697a29e.tar.bz2 flashrom-d99a2bd049264cc327c6ef772d1ae9c11697a29e.zip |
dediprog: port to libusb1 and use asynchronous bulk transfers for reading
This patch is based on Nico Huber's original version that was rebased
by David Hendricks for Chromium OS in
Change-Id: I84384b9d8ed53911657cf2293733531a6e11fd23
Corresponding to flashrom svn r1929.
Signed-off-by: Nico Huber <nico.huber@secunet.com>
Signed-off-by: David Hendricks <dhendrix@chromium.org>
Signed-off-by: Stefan Tauner <stefan.tauner@alumni.tuwien.ac.at>
Acked-by: Stefan Tauner <stefan.tauner@alumni.tuwien.ac.at>
Diffstat (limited to 'pickit2_spi.c')
-rw-r--r-- | pickit2_spi.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/pickit2_spi.c b/pickit2_spi.c index fb03b0243..e5f7bede6 100644 --- a/pickit2_spi.c +++ b/pickit2_spi.c @@ -95,9 +95,8 @@ static usb_dev_handle *pickit2_handle; #define SCR_VDD_OFF 0xFE #define SCR_VDD_ON 0xFF -/* Copied from dediprog.c */ -/* Might be useful for other USB devices as well. static for now. */ -/* device parameter allows user to specify one device of multiple installed */ +/* Might be useful for other USB devices as well. static for now. + * device parameter allows user to specify one device of multiple installed */ static struct usb_device *get_device_by_vid_pid(uint16_t vid, uint16_t pid, unsigned int device) { struct usb_bus *bus; |