drivers: of: add function to scan fdt nodes given by path
authorMarek Szyprowski <m.szyprowski@samsung.com>
Mon, 26 Aug 2013 12:41:56 +0000 (14:41 +0200)
committerMarek Szyprowski <m.szyprowski@samsung.com>
Tue, 27 Aug 2013 07:18:32 +0000 (09:18 +0200)
commit57d74bcf3072b65bde5aa540cedc976a75c48e5c
tree1a3fde01f9ca700e606509c7a12647946c9ac30b
parenta2547380393ac82c659b40182b0da8d05a8365f3
drivers: of: add function to scan fdt nodes given by path

Add a function to scan the flattened device-tree starting from the
node given by the path. It is used to extract information (like reserved
memory), which is required on early boot before we can unflatten the tree.

Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com>
Acked-by: Michal Nazarewicz <mina86@mina86.com>
Acked-by: Tomasz Figa <t.figa@samsung.com>
Reviewed-by: Rob Herring <rob.herring@calxeda.com>
drivers/of/fdt.c
include/linux/of_fdt.h