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 <>
Signed-off-by: David Hendricks <>
Signed-off-by: Stefan Tauner <>
Acked-by: Stefan Tauner <>
4 files changed