diff options
author | Ahmad Fatoum <a.fatoum@pengutronix.de> | 2022-06-02 11:01:33 +0200 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2022-06-03 09:17:27 +0200 |
commit | 1f35ae661eee09dd3a43833acf77830928db140e (patch) | |
tree | f0df09f8c8a19adf035f3892ea8980a0d7c22db1 /common | |
parent | 0300b8067baf4149501e146df87bdc15a9f24802 (diff) | |
download | barebox-1f35ae661eee09dd3a43833acf77830928db140e.tar.gz barebox-1f35ae661eee09dd3a43833acf77830928db140e.tar.xz |
fastboot: support TF-A FSBL and FIP images for barebox update
Newly added stm32mp_bbu_mmc_fip_register() accepts two kinds of barebox
images: A FIP image containing barebox as well as a FIP image preceded
by TF-A as a STM32 FSBL image. Inform filetype_is_barebox_image of these
file types, so the handler can be invoked via fastboot when
global.fastboot.bbu=1.
Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de>
Link: https://lore.barebox.org/20220602090133.3190450-8-a.fatoum@pengutronix.de
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'common')
-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 3e9e14c1d7..8f79f48bc1 100644 --- a/common/filetype.c +++ b/common/filetype.c @@ -484,6 +484,8 @@ bool filetype_is_barebox_image(enum filetype ft) case filetype_ch_image_be: case filetype_layerscape_image: case filetype_layerscape_qspi_image: + case filetype_stm32_image_fsbl_v1: + case filetype_fip: return true; default: return false; |