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>
This commit is contained in:
parent
841ec21357
commit
7941b27b16
5 changed files with 368 additions and 0 deletions
|
@ -863,4 +863,7 @@ static inline int of_changeset_update_property(struct of_changeset *ocs,
|
|||
}
|
||||
#endif
|
||||
|
||||
/* CONFIG_OF_RESOLVE api */
|
||||
extern int of_resolve_phandles(struct device_node *tree);
|
||||
|
||||
#endif /* _LINUX_OF_H */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue