diff options
author | Ahmad Fatoum <a.fatoum@pengutronix.de> | 2019-09-17 13:55:15 +0200 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2019-09-18 14:40:07 +0200 |
commit | d7cdb1038a7784c7d3ba39886a43a2c2f598509c (patch) | |
tree | f30822cc19a2303580d4b244a8345eb5c172e914 | |
parent | a50ac2c8ec11fcc6852fa97994724cc0deeb08da (diff) | |
download | barebox-d7cdb1038a7784c7d3ba39886a43a2c2f598509c.tar.gz barebox-d7cdb1038a7784c7d3ba39886a43a2c2f598509c.tar.xz |
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 <a.fatoum@pengutronix.de>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
-rw-r--r-- | common/filetype.c | 2 |
1 files changed, 2 insertions, 0 deletions
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; |