From d7cdb1038a7784c7d3ba39886a43a2c2f598509c Mon Sep 17 00:00:00 2001 From: Ahmad Fatoum Date: Tue, 17 Sep 2019 13:55:15 +0200 Subject: filetype: support fastboot barebox_update with layerscape image 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 Signed-off-by: Sascha Hauer --- common/filetype.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'common/filetype.c') diff --git a/common/filetype.c b/common/filetype.c index 825bf25ad1..4966c5e068 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; -- cgit v1.2.3