Skip to content

Commit f6e1af8

Browse files
committed
doc: Add information on TLV allow list
Add information on TLV allow list and MCUBOOT_USE_TLV_ALLOW_LIST, MCUboot configuration identifier that controls its usage. Signed-off-by: Dominik Ermel <dominik.ermel@nordicsemi.no>
1 parent ae2d0d6 commit f6e1af8

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

docs/design.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -168,6 +168,14 @@ The `ih_hdr_size` field indicates the length of the header, and therefore the
168168
offset of the image itself. This field provides for backwards compatibility in
169169
case of changes to the format of the image header.
170170
171+
## [TLV allow list](#tlv-allow)
172+
173+
While reading unprotected TLVs from an image, MCUboot will try to match TLVs
174+
against list it has compiled in support for; each new defined TLV has to be added
175+
to that list, which is named `allowed_unprot_tlvs` and defined in
176+
image_validate.c. The usage of the list is optional and can be controlled
177+
during compilation with `MCUBOOT_USE_TLV_ALLOW_LIST` config identifier.
178+
171179
## [Flash map](#flash-map)
172180
173181
A device's flash is partitioned according to its _flash map_. At a high

0 commit comments

Comments
 (0)