From: Ahmad Fatoum <a.fatoum@pengutronix.de>
To: barebox@lists.infradead.org
Cc: Ahmad Fatoum <a.fatoum@pengutronix.de>
Subject: [PATCH v2 3/6] filetype: support fastboot barebox_update with layerscape image
Date: Tue, 17 Sep 2019 13:55:15 +0200 [thread overview]
Message-ID: <20190917115518.14953-4-a.fatoum@pengutronix.de> (raw)
In-Reply-To: <20190917115518.14953-1-a.fatoum@pengutronix.de>
We do not yet support USB on the Layerscape platforms, but when we do,
it's imaginable that we would want to export barebox_update targets over
Fastboot. Prepare for this by adding the layerscape images to those that
filetype_is_barebox_image returns true for.
Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de>
---
common/filetype.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/common/filetype.c b/common/filetype.c
index 825bf25ad107..4966c5e068bd 100644
--- a/common/filetype.c
+++ b/common/filetype.c
@@ -460,6 +460,8 @@ bool filetype_is_barebox_image(enum filetype ft)
case filetype_mips_barebox:
case filetype_ch_image:
case filetype_ch_image_be:
+ case filetype_layerscape_image:
+ case filetype_layerscape_qspi_image:
return true;
default:
return false;
--
2.23.0
_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox
next prev parent reply other threads:[~2019-09-17 11:55 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-09-17 11:55 [PATCH v2 0/6] ARM: layerscape: streamline and document boot Ahmad Fatoum
2019-09-17 11:55 ` [PATCH v2 1/6] ARM: Layerscape: add bootm handler for images Ahmad Fatoum
2019-09-17 11:55 ` [PATCH v2 2/6] ARM: Layerscape: don't generate second-stage 2nd.image Ahmad Fatoum
2019-09-17 11:55 ` Ahmad Fatoum [this message]
2019-09-17 11:55 ` [PATCH v2 4/6] scripts: pblimage: explicitly set architecture to ARM Ahmad Fatoum
2019-09-17 11:55 ` [PATCH v2 5/6] ARM: layerscape: tqmls1046a: disable all SGMII PHYs Ahmad Fatoum
2019-09-17 11:55 ` [PATCH v2 6/6] Documentation: boards: document layerscape support Ahmad Fatoum
2019-09-18 12:40 ` [PATCH v2 0/6] ARM: layerscape: streamline and document boot 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=20190917115518.14953-4-a.fatoum@pengutronix.de \
--to=a.fatoum@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