From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from metis.ext.pengutronix.de ([2001:67c:670:201:290:27ff:fe1d:cc33]) by bombadil.infradead.org with esmtps (Exim 4.92.2 #3 (Red Hat Linux)) id 1i8MLe-0002as-8G for barebox@lists.infradead.org; Thu, 12 Sep 2019 10:29:13 +0000 From: Ahmad Fatoum Date: Thu, 12 Sep 2019 12:29:02 +0200 Message-Id: <20190912102905.21307-4-a.fatoum@pengutronix.de> In-Reply-To: <20190912102905.21307-1-a.fatoum@pengutronix.de> References: <20190912102905.21307-1-a.fatoum@pengutronix.de> MIME-Version: 1.0 List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "barebox" Errors-To: barebox-bounces+u.kleine-koenig=pengutronix.de@lists.infradead.org Subject: [PATCH 4/7] filetype: support fastboot barebox_update with layerscape image To: barebox@lists.infradead.org Cc: Ahmad Fatoum 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 --- 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