Skip to content

Commit 1613f17

Browse files
committed
Clarification: dtb size fields are in bytes
Clarify that the dtb header totalsize field, and the reserved region size field specify the size in bytes. Resolves #9 Signed-off-by: Grant Likely <[email protected]> Cc: [email protected]
1 parent 7521911 commit 1613f17

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

source/flattened-format.rst

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -90,8 +90,8 @@ big-endian format.
9090
This field shall contain the value 0xd00dfeed (big-endian).
9191

9292
``totalsize``
93-
This field shall contain the total size of the devicetree data
94-
structure. This size shall encompass all sections of the structure:
93+
This field shall contain the total size in bytes of the devicetree data structure.
94+
This size shall encompass all sections of the structure:
9595
the header, the memory reservation block, structure block and
9696
strings block, as well as any free space gaps between the blocks or
9797
after the final block.
@@ -216,8 +216,8 @@ structure.
216216
uint64_t size;
217217
};
218218
219-
Each pair gives the physical address and size of a reserved memory
220-
region. These given regions shall not overlap each other. The list of
219+
Each pair gives the physical address and size in bytes of a reserved memory region.
220+
These given regions shall not overlap each other. The list of
221221
reserved blocks shall be terminated with an entry where both address and
222222
size are equal to 0. Note that the address and size values are always
223223
64-bit. On 32-bit CPUs the upper 32-bits of the value are ignored.

0 commit comments

Comments
 (0)