Skip to content

Commit fecf7e8

Browse files
committed
boot: bootutil: loader: Fix some comments
Fixes some comments which had typos or were not formatted correctly Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
1 parent 3fea62b commit fecf7e8

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

boot/bootutil/src/loader.c

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -787,8 +787,9 @@ boot_image_check(struct boot_loader_state *state, struct image_header *hdr,
787787
(void)bs;
788788
(void)rc;
789789

790-
/* In the case of ram loading the image has already been decrypted as it is
791-
* decrypted when copied in ram */
790+
/* In the case of ram loading the image has already been decrypted as it is
791+
* decrypted when copied in ram
792+
*/
792793
#if defined(MCUBOOT_ENC_IMAGES) && !defined(MCUBOOT_RAM_LOAD)
793794
if (MUST_DECRYPT(fap, BOOT_CURR_IMG(state), hdr)) {
794795
rc = boot_enc_load(state, 1, hdr, fap, bs);
@@ -1347,7 +1348,7 @@ boot_copy_region(struct boot_loader_state *state,
13471348

13481349
#ifdef MCUBOOT_ENC_IMAGES
13491350
/* If only copy, then does not matter if header indicates need for
1350-
* encryptio/decryptio, we just copy data. */
1351+
* encryption/decryption, we just copy data. */
13511352
if (!only_copy && IS_ENCRYPTED(hdr)) {
13521353
#if defined(MCUBOOT_SWAP_USING_OFFSET)
13531354
uint32_t abs_off = off - sector_off + bytes_copied;

0 commit comments

Comments
 (0)