xen/arm: bootfdt: Use proper default for #address-cells and #size-cells
authorJulien Grall <julien.grall@linaro.org>
Wed, 29 Nov 2017 17:57:32 +0000 (17:57 +0000)
committerStefano Stabellini <sstabellini@kernel.org>
Fri, 8 Dec 2017 21:14:13 +0000 (13:14 -0800)
commitc05aa4afac64ea687c1a2bf9277ba6552809495b
treedb90f8fd690e1940be15ee4e77df16f7f0b5d1f1
parent43550972395f9a3a48bb4086a0faf0f8d442e37d
xen/arm: bootfdt: Use proper default for #address-cells and #size-cells

Per the device-tree specific [1], when the property #address-cells
and  #size-cells are not present, the default value should be resp. 1
and 2.

[1] https://www.devicetree.org/downloads/devicetree-specification-v0.1-20160524.pdf

Signed-off-by: Julien Grall <julien.grall@linaro.org>
Acked-by: Stefano Stabellini <sstabellini@kernel.org>
xen/arch/arm/bootfdt.c