From 17d6cc2604119a4ac61580abc1c978bd7b9b178d Mon Sep 17 00:00:00 2001 From: Daniele Lacamera Date: Wed, 16 Sep 2026 12:15:23 +0200 Subject: [PATCH] F-12892: wolfBoot_update_trigger acts on the update partition The function sets the update partition state to IMG_STATE_UPDATING and erases the update partition last sector; the doc said boot partition. --- src/libwolfboot.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/libwolfboot.c b/src/libwolfboot.c index 8a5e9973..a1a66e3b 100644 --- a/src/libwolfboot.c +++ b/src/libwolfboot.c @@ -865,8 +865,8 @@ void RAMFUNCTION wolfBoot_erase_partition(uint8_t part) /** * @brief Update trigger function. * - * This function updates the boot partition state to "IMG_STATE_UPDATING". - * If the FLAGS_HOME macro is defined, it erases the last sector of the boot + * This function sets the update partition state to "IMG_STATE_UPDATING". + * If the FLAGS_HOME macro is defined, it erases the last sector of the update * partition before updating the partition state. It also checks FLAGS_UPDATE_EXT * and calls the appropriate flash unlock and lock functions before * updating the partition state.