diff options
author | David Gibson <david@gibson.dropbear.id.au> | 2007-03-13 20:50:40 -0400 |
---|---|---|
committer | Paul Mackerras <paulus@samba.org> | 2007-03-16 01:38:19 -0400 |
commit | 0e0293c898c424c52e5d4e7f6923a203d06b9c4b (patch) | |
tree | 54078533f47d45c0840095901e416dfa543393ba /include/asm-powerpc | |
parent | a782a9e3a12bcea4916117b0832016c24fffeb85 (diff) |
[POWERPC] Update documentation for flat device tree format v17
This patch updates booting-without-of.txt to describe version 17 of
the flattened device tree format. Version 17 is a small, backwards
compatible change from version 16, adding an extra field giving the
size of the device tree's structure block. At this time, the kernel
has no use for the extra information, however its presence can make
life easier for bootloaders or other software manipulating the tree.
In addition this patch adds information on the size_dt_strings field
of the device tree header, present since version 3 of the flattened
tree format, but omitted from the documentation. It also makes
changes to consistently refer to versions 16 and 17 as versions 16 and
17 in decimal, rather than version 0x10 which was occasionally used
for version 16 previously.
Finally, we also add the new field to the definition of the device
tree header structure in prom.h
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Acked-by: Jon Loeliger <jdl@freescale.com>
Signed-off-by: Paul Mackerras <paulus@samba.org>
Diffstat (limited to 'include/asm-powerpc')
-rw-r--r-- | include/asm-powerpc/prom.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/asm-powerpc/prom.h b/include/asm-powerpc/prom.h index 1aa15e2e056e..994de8ea3308 100644 --- a/include/asm-powerpc/prom.h +++ b/include/asm-powerpc/prom.h | |||
@@ -59,6 +59,8 @@ struct boot_param_header | |||
59 | u32 boot_cpuid_phys; /* Physical CPU id we're booting on */ | 59 | u32 boot_cpuid_phys; /* Physical CPU id we're booting on */ |
60 | /* version 3 fields below */ | 60 | /* version 3 fields below */ |
61 | u32 dt_strings_size; /* size of the DT strings block */ | 61 | u32 dt_strings_size; /* size of the DT strings block */ |
62 | /* version 17 fields below */ | ||
63 | u32 dt_struct_size; /* size of the DT structure block */ | ||
62 | }; | 64 | }; |
63 | 65 | ||
64 | 66 | ||