From fe928a86d91a04c159468bc5dddc522f1baef973 Mon Sep 17 00:00:00 2001 From: Gerson Fernando Budke Date: Fri, 3 May 2024 20:10:43 +0200 Subject: [PATCH] mgmt: updatehub: Fix mark for update This fixes compatibility with recent bootutils API. Fixes #69297 Signed-off-by: Gerson Fernando Budke (cherry picked from commit 94cd46d6efe2be3b0beea8cd470297b6dcfbd913) --- subsys/mgmt/updatehub/updatehub_storage.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/subsys/mgmt/updatehub/updatehub_storage.c b/subsys/mgmt/updatehub/updatehub_storage.c index d18b24be4bc91a..81886a9044e239 100644 --- a/subsys/mgmt/updatehub/updatehub_storage.c +++ b/subsys/mgmt/updatehub/updatehub_storage.c @@ -73,7 +73,7 @@ int updatehub_storage_mark_partition_to_upgrade(struct updatehub_storage_context return -EINVAL; } - return boot_request_upgrade_multi(partition_id, BOOT_UPGRADE_TEST); + return boot_request_upgrade(BOOT_UPGRADE_TEST); } int updatehub_storage_mark_partition_as_confirmed(const uint32_t partition_id)