[PATCH] Clarification: dtb size fields are in bytes

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



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 <grant.likely@xxxxxxx>
Cc: daniel.buenzli@xxxxxxxxxxxx
---
 source/flattened-format.rst | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/source/flattened-format.rst b/source/flattened-format.rst
index a82e502..a1c358e 100644
--- a/source/flattened-format.rst
+++ b/source/flattened-format.rst
@@ -90,8 +90,8 @@ big-endian format.
     This field shall contain the value 0xd00dfeed (big-endian).
 
 ``totalsize``
-    This field shall contain the total size of the devicetree data
-    structure. This size shall encompass all sections of the structure:
+    This field shall contain the total size in bytes of the devicetree data structure.
+    This size shall encompass all sections of the structure:
     the header, the memory reservation block, structure block and
     strings block, as well as any free space gaps between the blocks or
     after the final block.
@@ -216,8 +216,8 @@ structure.
         uint64_t size;
     };
 
-Each pair gives the physical address and size of a reserved memory
-region. These given regions shall not overlap each other. The list of
+Each pair gives the physical address and size in bytes of a reserved memory region.
+These given regions shall not overlap each other. The list of
 reserved blocks shall be terminated with an entry where both address and
 size are equal to 0. Note that the address and size values are always
 64-bit. On 32-bit CPUs the upper 32-bits of the value are ignored.
-- 
2.11.0

--
To unsubscribe from this list: send the line "unsubscribe devicetree-spec" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Device Tree]     [Linux Driver Backports]     [Video for Linux]     [Linux USB Devel]     [Linux Audio Users]     [Photos]     [Yosemite Photos]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Yosemite Backpacking]

  Powered by Linux