summaryrefslogtreecommitdiffstats
path: root/utils
diff options
context:
space:
mode:
authorAmaury Pouly <pamaury@rockbox.org>2011-09-20 21:25:46 +0000
committerAmaury Pouly <pamaury@rockbox.org>2011-09-20 21:25:46 +0000
commitdf448bf7a192322ced589f375496f8c17f706111 (patch)
tree6cbae443309e9403010cb6a9f169a82af6750e94 /utils
parentfd9859ead2b2f550eb7336e5223222b85001bd23 (diff)
downloadrockbox-df448bf7a192322ced589f375496f8c17f706111.tar.gz
rockbox-df448bf7a192322ced589f375496f8c17f706111.tar.bz2
rockbox-df448bf7a192322ced589f375496f8c17f706111.zip
Add support for i.MX28 to imx_hid_recovery, thanks to Wolfram Sang.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30576 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'utils')
-rw-r--r--utils/imx_hid_recovery/imx_hid_recovery.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/utils/imx_hid_recovery/imx_hid_recovery.c b/utils/imx_hid_recovery/imx_hid_recovery.c
index 546e244338..cb057d4b54 100644
--- a/utils/imx_hid_recovery/imx_hid_recovery.c
+++ b/utils/imx_hid_recovery/imx_hid_recovery.c
@@ -48,8 +48,12 @@ int main(int argc, char **argv)
libusb_set_debug(NULL, 3);
+ /* MX23 */
dev = libusb_open_device_with_vid_pid(NULL, 0x066F, 0x3780);
if(dev == NULL)
+ /* MX28 */
+ dev = libusb_open_device_with_vid_pid(NULL, 0x15A2, 0x004F);
+ if(dev == NULL)
{
printf("Cannot open device\n");
return 1;