of/flattree: Add non-boottime device tree functions
authorStephen Neuendorffer <stephen.neuendorffer@xilinx.com>
Thu, 18 Nov 2010 23:54:59 +0000 (15:54 -0800)
committerGrant Likely <grant.likely@secretlab.ca>
Wed, 29 Dec 2010 23:53:45 +0000 (16:53 -0700)
commit9706a36e35c4ce04f28a62cfe1205b4e3b0dd13c
tree12f378664e5fa9fe560b281fa56214772df3f6ab
parente6ce1324e4f08b0d984340201a125806dae0e9a6
of/flattree: Add non-boottime device tree functions

In preparation for providing run-time handling of device trees, factor
out some of the basic functions so that they take an arbitrary blob,
rather than relying on the single boot-time tree.

V2:
- functions have of_fdt_* names
- removed find_flat_dt_string
- blob argument is first

Signed-off-by: Stephen Neuendorffer <stephen.neuendorffer@xilinx.com>
Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
drivers/of/fdt.c
include/linux/of_fdt.h