summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMark A. Greer <mgreer@mvista.com>2008-01-04 02:40:47 +1100
committerPaul Mackerras <paulus@samba.org>2008-01-17 14:57:35 +1100
commit5b14e5f9ddbb1bd32a876cac75f5f3ecfd353063 (patch)
treeb6bfc903f6dfd92742a2e1ee0156b233d4a8f3b5
parent10804f0fb89561d63b2131be17cfaf8d1a30468c (diff)
downloadop-kernel-dev-5b14e5f9ddbb1bd32a876cac75f5f3ecfd353063.zip
op-kernel-dev-5b14e5f9ddbb1bd32a876cac75f5f3ecfd353063.tar.gz
[POWERPC] #address-cells & #size-cells properties are not inherited
Fix error in booting-without-of.txt that indicates that a node can inherit its #address-cells and #size-cells definitions from its parent's parent. This is not correct. Signed-off-by: Mark A. Greer <mgreer@mvista.com> Signed-off-by: Paul Mackerras <paulus@samba.org>
-rw-r--r--Documentation/powerpc/booting-without-of.txt8
1 files changed, 4 insertions, 4 deletions
diff --git a/Documentation/powerpc/booting-without-of.txt b/Documentation/powerpc/booting-without-of.txt
index bf18537..6d1d085 100644
--- a/Documentation/powerpc/booting-without-of.txt
+++ b/Documentation/powerpc/booting-without-of.txt
@@ -671,10 +671,10 @@ device or bus to be described by the device tree.
In general, the format of an address for a device is defined by the
parent bus type, based on the #address-cells and #size-cells
-property. In the absence of such a property, the parent's parent
-values are used, etc... The kernel requires the root node to have
-those properties defining addresses format for devices directly mapped
-on the processor bus.
+properties. Note that the parent's parent definitions of #address-cells
+and #size-cells are not inhereted so every node with children must specify
+them. The kernel requires the root node to have those properties defining
+addresses format for devices directly mapped on the processor bus.
Those 2 properties define 'cells' for representing an address and a
size. A "cell" is a 32-bit number. For example, if both contain 2
OpenPOWER on IntegriCloud