hc
2025-02-14 bbb9540dc49f70f6b703d1c8d1b85fa5f602d86e
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
/*
 * Copyright (c) 2017 Google, Inc
 * Written by Simon Glass <sjg@chromium.org>
 *
 * SPDX-License-Identifier:    GPL-2.0+
 *
 * Support for a 'live' (as opposed to flat) device tree
 */
 
#ifndef _OF_LIVE_H
#define _OF_LIVE_H
 
struct device_node;
 
/**
 * of_live_build() - build a live (hierarchical) tree from a flat DT
 *
 * @fdt_blob: Input tree to convert
 * @rootp: Returns live tree that was created
 * @return 0 if OK, -ve on error
 */
int of_live_build(const void *fdt_blob, struct device_node **rootp);
 
#endif