[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>
This commit is contained in:
Mark A. Greer 2008-01-04 02:40:47 +11:00 committed by Paul Mackerras
parent 10804f0fb8
commit 5b14e5f9dd

View File

@ -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 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 parent bus type, based on the #address-cells and #size-cells
property. In the absence of such a property, the parent's parent properties. Note that the parent's parent definitions of #address-cells
values are used, etc... The kernel requires the root node to have and #size-cells are not inhereted so every node with children must specify
those properties defining addresses format for devices directly mapped them. The kernel requires the root node to have those properties defining
on the processor bus. addresses format for devices directly mapped on the processor bus.
Those 2 properties define 'cells' for representing an address and a 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 size. A "cell" is a 32-bit number. For example, if both contain 2