Currently, fdt blobs are handled solely at boot time. However, it may be useful to parse blobs into device trees after boot time. For instance, a PCIe device may have an FPGA which includes a device tree. This set of patches locally refactors the existing code to enable this. The code has been compile-tested on X86 but has not been run in this version. However, the patch is rather straightforward.
Stephen Neuendorffer (3): fdt.c: Add non-boottime device tree functions fdt.c: Refactor unflatten_dt_node fdt.c: Refactor unflatten_device_tree and add fdt_unflatten_tree drivers/of/fdt.c | 393 +++++++++++++++++++++++++++++------------------- include/linux/of_fdt.h | 11 ++ 2 files changed, 251 insertions(+), 153 deletions(-) This email and any attachments are intended for the sole use of the named recipient(s) and contain(s) confidential information that may be proprietary, privileged or copyrighted under applicable law. If you are not the intended recipient, do not read, copy, or forward this email message or any attachments. Delete this email message and any attachments immediately. _______________________________________________ devicetree-discuss mailing list [email protected] https://lists.ozlabs.org/listinfo/devicetree-discuss
