of: Introduce Device Tree resolve support.
authorPantelis Antoniou <pantelis.antoniou@konsulko.com>
Fri, 4 Jul 2014 16:59:20 +0000 (19:59 +0300)
committerMark Brown <broonie@kernel.org>
Mon, 16 Feb 2015 06:04:02 +0000 (15:04 +0900)
commit614005d5e951310da38981f331c1368ea8861e5d
tree84ce3734bd1d9574875c289eb8dabf5a7c30c8c5
parent67cf77308b5f1a04218b769d5c0108ad6c8d13af
of: Introduce Device Tree resolve support.

Introduce support for dynamic device tree resolution.
Using it, it is possible to prepare a device tree that's
been loaded on runtime to be modified and inserted at the kernel
live tree.

Export of of_resolve and bug fix of double free by
Guenter Roeck <groeck@juniper.net>

Signed-off-by: Pantelis Antoniou <pantelis.antoniou@konsulko.com>
[grant.likely: Don't need to select CONFIG_OF_DYNAMIC and CONFIG_OF_DEVICE]
[grant.likely: Don't need to depend on OF or !SPARC]
[grant.likely: Factor out duplicate code blocks into single function]
Signed-off-by: Grant Likely <grant.likely@linaro.org>
(cherry picked from commit 7941b27b16e3282f6ec8817e36492f1deec753a7)
Signed-off-by: Mark Brown <broonie@kernel.org>
Conflicts:
drivers/of/Kconfig
drivers/of/Makefile
Documentation/devicetree/dynamic-resolution-notes.txt [new file with mode: 0644]
drivers/of/Kconfig
drivers/of/Makefile
drivers/of/resolver.c [new file with mode: 0644]
include/linux/of.h