diff options
author | Michel Jaouen <michel.jaouen@st.com> | 2021-09-07 14:11:41 +0200 |
---|---|---|
committer | Michel Jaouen <michel.jaouen@st.com> | 2021-09-09 18:22:58 +0200 |
commit | e863e5ce570c9a76f633a765b22f1d608e24e75a (patch) | |
tree | 3cc1da26b107ec4ffc6da650db7f110ce46b96b8 | |
parent | 76727035932f36c389bc237353acbcd4c8491384 (diff) |
FWU: Add return value to fwu_bootloader_mark_image_accepted
When building with SWAP activated,success return value is missing.
Change-Id: Ie00ecf70dc19334758d2d248af3cfc31f6f17f84
Signed-off-by: Michel Jaouen <michel.jaouen@st.com>
-rw-r--r-- | secure_fw/partitions/firmware_update/bootloader/mcuboot/tfm_mcuboot_fwu.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/secure_fw/partitions/firmware_update/bootloader/mcuboot/tfm_mcuboot_fwu.c b/secure_fw/partitions/firmware_update/bootloader/mcuboot/tfm_mcuboot_fwu.c index 3260ec2e6..9ef53385b 100644 --- a/secure_fw/partitions/firmware_update/bootloader/mcuboot/tfm_mcuboot_fwu.c +++ b/secure_fw/partitions/firmware_update/bootloader/mcuboot/tfm_mcuboot_fwu.c @@ -483,8 +483,8 @@ psa_status_t fwu_bootloader_mark_image_accepted( } #else (void)bootloader_image_id; - return PSA_SUCCESS; #endif + return PSA_SUCCESS; } psa_status_t fwu_bootloader_abort(bl_image_id_t bootloader_image_id) |