diff options
author | Julien Grall <julien.grall@linaro.org> | 2013-08-28 15:47:17 +0100 |
---|---|---|
committer | Ian Campbell <ian.campbell@citrix.com> | 2013-09-10 11:04:44 +0100 |
commit | 50718fc3c5981df5c393a97b7b5a0dcc9ba78004 (patch) | |
tree | 2e0ec8f32312e6bfe44b422cacf0ec4d620c8673 /xen/common | |
parent | 887915680a701a2e258676a6c97ae0599ac9e3fe (diff) | |
download | xen-50718fc3c5981df5c393a97b7b5a0dcc9ba78004.tar.gz xen-50718fc3c5981df5c393a97b7b5a0dcc9ba78004.tar.bz2 xen-50718fc3c5981df5c393a97b7b5a0dcc9ba78004.zip |
xen/dts: Don't check the number of address and size cells in process_cpu_node
CPU nodes are not required to have #address-cells == 1 and #size-cells == 0, so
don't check for that (see Linux Documentation/devicetree/booting-without-of.txt
Section III.5.a).
In some OMAP5 device, tree, these 2 properties are not correctly set. Therefore,
Xen will only able to handle 1 CPU.
Signed-off-by: Julien Grall <julien.grall@linaro.org>
Acked-by: Ian Campbell <ian.campbell@citrix.com>
CC: andrii.anisov@globallogic.com
CC: baozich@gmail.com
Diffstat (limited to 'xen/common')
-rw-r--r-- | xen/common/device_tree.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/xen/common/device_tree.c b/xen/common/device_tree.c index 3a3c99cbd7..c4f0f2cfde 100644 --- a/xen/common/device_tree.c +++ b/xen/common/device_tree.c @@ -414,12 +414,6 @@ static void __init process_cpu_node(const void *fdt, int node, const u32 *cell; paddr_t start, size; - if ( address_cells != 1 || size_cells != 0 ) - { - early_printk("fdt: node `%s': invalid #address-cells or #size-cells", - name); - return; - } prop = fdt_get_property(fdt, node, "reg", NULL); if ( !prop ) |