Skip to content

Commit cbf3047

Browse files
hakonfamutzig
authored andcommitted
docs: fix typos in design.md
Minor typo fixes. Signed-off-by: Håkon Øye Amundsen <[email protected]>
1 parent 0c9266f commit cbf3047

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

docs/design.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -340,11 +340,11 @@ of 3 is explained below.
340340
[encrypted images](encrypted_images.md) document for more information.
341341

342342
3. Swap size: When beginning a new swap operation, the total size that needs
343-
to be swapped (based on the slot with largest image + tlvs) is written to
343+
to be swapped (based on the slot with largest image + TLVs) is written to
344344
this location for easier recovery in case of a reset while performing the
345345
swap.
346346

347-
4. Swap info: A single byte which encodes the following informations:
347+
4. Swap info: A single byte which encodes the following information:
348348
- Swap type: Stored in bits 0-3. Indicating the type of swap operation in
349349
progress. When mcuboot resumes an interrupted swap, it uses this field to
350350
determine the type of operation to perform. This field contains one of the
@@ -618,13 +618,13 @@ bulletted lists, so maybe that is better. -->
618618
​ with the greatest index); current element = "index".
619619
​ b. Erase scratch area.
620620
​ c. Copy secondary_slot[index] to scratch area.
621-
​ - If these are the last sectors (i.e., first swap being perfomed),
621+
​ - If these are the last sectors (i.e., first swap being performed),
622622
​ copy the full sector *except* the image trailer.
623623
​ - Else, copy entire sector contents.
624624
​ d. Write updated swap status (i).
625625
​ e. Erase secondary_slot[index]
626626
​ f. Copy primary_slot[index] to secondary_slot[index]
627-
​ - If these are the last sectors (i.e., first swap being perfomed),
627+
​ - If these are the last sectors (i.e., first swap being performed),
628628
​ copy the full sector *except* the image trailer.
629629
​ - Else, copy entire sector contents.
630630
​ g. Write updated swap status (ii).
@@ -816,7 +816,7 @@ If it does not match then "source: none" is returned.
816816
817817
If the swap status region indicates that the images are not contiguous, mcuboot
818818
determines the type of swap operation that was interrupted by reading the `swap
819-
info` field in the active image trailer and extarcting the swap type from bits
819+
info` field in the active image trailer and extracting the swap type from bits
820820
0-3 then resumes the operation. In other words, it applies the procedure defined
821821
in the previous section, moving image 1 into the primary slot and image 0 into
822822
the secondary slot. If the boot status indicates that an image part is present
@@ -852,7 +852,7 @@ an image:
852852
As indicated above, the final step of the integrity check is signature
853853
verification. The boot loader can have one or more public keys embedded in it
854854
at build time. During signature verification, the boot loader verifies that an
855-
image was signed with a private key that corresponds to the embedded keyhash
855+
image was signed with a private key that corresponds to the embedded KEYHASH
856856
TLV.
857857
858858
For information on embedding public keys in the boot loader, as well as

0 commit comments

Comments
 (0)