From: Alexander Kurz <akurz@blala.de>
To: barebox@lists.infradead.org
Cc: Alexander Kurz <akurz@blala.de>
Subject: [PATCH 1/2] scripts: imx imx-usb-loader: sort USB id list
Date: Mon, 21 Nov 2016 08:35:12 +0100 [thread overview]
Message-ID: <1479713713-17241-1-git-send-email-akurz@blala.de> (raw)
For better readability sort the list of known USB ids by VID and PID.
Signed-off-by: Alexander Kurz <akurz@blala.de>
---
scripts/imx/imx-usb-loader.c | 56 ++++++++++++++++++++++----------------------
1 file changed, 28 insertions(+), 28 deletions(-)
diff --git a/scripts/imx/imx-usb-loader.c b/scripts/imx/imx-usb-loader.c
index c0aaa7d..fb80e0e 100644
--- a/scripts/imx/imx-usb-loader.c
+++ b/scripts/imx/imx-usb-loader.c
@@ -84,6 +84,34 @@ struct mach_id imx_ids[] = {
.mode = MODE_BULK,
}, {
.vid = 0x15a2,
+ .pid = 0x0030,
+ .name = "i.MX35",
+ .header_type = HDR_MX51,
+ .mode = MODE_BULK,
+ .max_transfer = 64,
+ }, {
+ .vid = 0x15a2,
+ .pid = 0x003a,
+ .name = "i.MX25",
+ .header_type = HDR_MX51,
+ .mode = MODE_BULK,
+ .max_transfer = 64,
+ }, {
+ .vid = 0x15a2,
+ .pid = 0x0041,
+ .name = "i.MX51",
+ .header_type = HDR_MX51,
+ .mode = MODE_BULK,
+ .max_transfer = 64,
+ }, {
+ .vid = 0x15a2,
+ .pid = 0x004e,
+ .name = "i.MX53",
+ .header_type = HDR_MX53,
+ .mode = MODE_BULK,
+ .max_transfer = 512,
+ }, {
+ .vid = 0x15a2,
.pid = 0x004f,
.name = "i.MX28",
}, {
@@ -121,34 +149,6 @@ struct mach_id imx_ids[] = {
.header_type = HDR_MX53,
.mode = MODE_HID,
.max_transfer = 1024,
- }, {
- .vid = 0x15a2,
- .pid = 0x0041,
- .name = "i.MX51",
- .header_type = HDR_MX51,
- .mode = MODE_BULK,
- .max_transfer = 64,
- }, {
- .vid = 0x15a2,
- .pid = 0x004e,
- .name = "i.MX53",
- .header_type = HDR_MX53,
- .mode = MODE_BULK,
- .max_transfer = 512,
- }, {
- .vid = 0x15a2,
- .pid = 0x0030,
- .name = "i.MX35",
- .header_type = HDR_MX51,
- .mode = MODE_BULK,
- .max_transfer = 64,
- }, {
- .vid = 0x15a2,
- .pid = 0x003a,
- .name = "i.MX25",
- .header_type = HDR_MX51,
- .mode = MODE_BULK,
- .max_transfer = 64,
},
};
--
2.1.4
_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox
next reply other threads:[~2016-11-21 7:39 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-11-21 7:35 Alexander Kurz [this message]
2016-11-21 7:35 ` [PATCH 2/2] scripts: imx imx-usb-loader: add i.MX6SL support Alexander Kurz
2016-11-21 8:04 ` [PATCH 1/2] scripts: imx imx-usb-loader: sort USB id list Sascha Hauer
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1479713713-17241-1-git-send-email-akurz@blala.de \
--to=akurz@blala.de \
--cc=barebox@lists.infradead.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox