Skip to content

Commit deb8f23

Browse files
sjg20robherring
authored andcommitted
State the 64-bit alignment requirement earlier
This is currently buried in a paragraph later in the Alignment section. State the requirement up front, along with a note about existing uses. Series-to: dtc Series-cc: rob Signed-off-by: Simon Glass <[email protected]>
1 parent 05a3481 commit deb8f23

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

source/chapter5-flattened-format.rst

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -390,6 +390,10 @@ offset from the beginning of the devicetree blob.
390390
Alignment
391391
---------
392392

393+
The devicetree blob shall be located at an 8-byte-aligned address. To maintain
394+
backwards compatibilty for 32-bit machines, 4-byte alignment is supported by
395+
some software, but this is not |spec|-compliant.
396+
393397
For the data in the memory reservation and structure blocks to be used
394398
without unaligned memory accesses, they shall lie at suitably aligned
395399
memory addresses. Specifically, the memory reservation block shall be

0 commit comments

Comments
 (0)