Commit 2bcdca68 authored by Marti Bolivar's avatar Marti Bolivar
Browse files

bootutil: fix comment for BOOT_SWAP_TYPE_NONE

The comment for BOOT_SWAP_TYPE_NONE says "Just boot whatever is in
slot 0". That's not correct: if configured to do so (and this the
strongly recommended configuration), mcuboot will first
cryptographically validate the contents of slot 0 before booting it.

Fix the comment to be more accurate.

Signed-off-by: default avatarMarti Bolivar <marti.bolivar@linaro.org>
parent f95427fe
Loading
Loading
Loading
Loading
+1 −1
Changes for boot/bootutil/include/bootutil/bootutil.h: 1 added line, 1 removed line.
Original line number Diff line number Diff line
@@ -26,7 +26,7 @@
extern "C" {
#endif

/** Just boot whatever is in slot 0. */
/** Attempt to boot the contents of slot 0. */
#define BOOT_SWAP_TYPE_NONE     1

/** Swap to slot 1.  Absent a confirm command, revert back on next boot. */