From: Sascha Hauer <s.hauer@pengutronix.de>
To: barebox@lists.infradead.org
Subject: [PATCH 2/2] scripts: imx-image: Add i.MX25 support
Date: Wed, 27 Nov 2013 13:56:13 +0100 [thread overview]
Message-ID: <1385556973-19218-2-git-send-email-s.hauer@pengutronix.de> (raw)
In-Reply-To: <1385556973-19218-1-git-send-email-s.hauer@pengutronix.de>
The i.MX25 works like the i.MX51, just add the SoC magic and the USB product
id.
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
---
scripts/imx/imx-image.c | 1 +
scripts/imx/imx-usb-loader.c | 7 +++++++
2 files changed, 8 insertions(+)
diff --git a/scripts/imx/imx-image.c b/scripts/imx/imx-image.c
index ec571eb..1d935be 100644
--- a/scripts/imx/imx-image.c
+++ b/scripts/imx/imx-image.c
@@ -442,6 +442,7 @@ struct soc_type {
};
static struct soc_type socs[] = {
+ { .name = "imx25", .header_version = 1, },
{ .name = "imx35", .header_version = 1, },
{ .name = "imx51", .header_version = 1, },
{ .name = "imx53", .header_version = 2, },
diff --git a/scripts/imx/imx-usb-loader.c b/scripts/imx/imx-usb-loader.c
index 7ccfc99..81c0640 100644
--- a/scripts/imx/imx-usb-loader.c
+++ b/scripts/imx/imx-usb-loader.c
@@ -124,6 +124,13 @@ struct mach_id imx_ids[] = {
.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,
},
};
--
1.8.4.3
_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox
next prev parent reply other threads:[~2013-11-27 12:56 UTC|newest]
Thread overview: 26+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-11-27 11:28 FW: Barebox on Karo TX25 John Parker
2013-11-27 12:56 ` [PATCH 1/2] ARM: imx: karo tx25: Add config file for imx-image Sascha Hauer
2013-11-27 12:56 ` Sascha Hauer [this message]
2013-11-27 14:49 ` John Parker
2013-11-27 13:02 ` FW: Barebox on Karo TX25 Sascha Hauer
2013-11-27 13:18 ` John Parker
2013-11-27 15:49 ` John Parker
2013-11-27 21:01 ` Sascha Hauer
2013-11-28 16:13 ` John Parker
2013-11-28 16:22 ` Baruch Siach
2013-11-29 8:16 ` John Parker
2013-11-29 9:46 ` Sascha Hauer
2013-11-29 10:27 ` John Parker
2013-11-29 10:41 ` John Parker
2013-12-02 9:13 ` John Parker
2013-12-03 9:26 ` Sascha Hauer
2013-12-03 19:01 ` Jean-Christophe PLAGNIOL-VILLARD
2013-12-05 15:24 ` Sascha Hauer
2013-12-05 16:48 ` Jean-Christophe PLAGNIOL-VILLARD
2013-12-19 14:14 ` John Parker
2013-11-27 19:45 ` John Parker
2013-11-27 20:15 ` Eric Bénard
2013-11-27 20:54 ` Sascha Hauer
2013-11-28 4:16 ` Alexander Aring
2013-11-28 7:20 ` Sascha Hauer
2013-11-28 7:37 ` Alexander Aring
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=1385556973-19218-2-git-send-email-s.hauer@pengutronix.de \
--to=s.hauer@pengutronix.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