2 * Copyright (c) 2017 Google, Inc
3 * Written by Simon Glass <sjg@chromium.org>
5 * SPDX-License-Identifier: GPL-2.0+
7 * Support for a 'live' (as opposed to flat) device tree
16 * of_live_build() - build a live (hierarchical) tree from a flat DT
18 * @fdt_blob: Input tree to convert
19 * @rootp: Returns live tree that was created
20 * @return 0 if OK, -ve on error
22 int of_live_build(const void *fdt_blob, struct device_node **rootp);