• Home
  • Raw
  • Download

Lines Matching +full:device +full:- +full:tree

1 /* SPDX-License-Identifier: (GPL-2.0-or-later OR BSD-2-Clause) */
5 * libfdt - Flat Device Tree manipulation
10 #define FDT_ALIGN(x, a) (((x) + (a) - 1) & ~((a) - 1))
64 * You should have another method of validating the device tree, such as a
72 * This does essentially no checks. Only the latest device-tree
73 * version is correctly handled. Inconsistencies or errors in the device
74 * tree may cause undefined behaviour or crashes. Invalid parameters
77 * If an error occurs when modifying the tree it may leave the tree in
83 * Only use this if you have a fully validated device tree with
89 * This assumes that the device tree is sane. i.e. header metadata
92 * With this assumption enabled, normal device trees produced by libfdt
93 * and the compiler should be handled safely. Malicious device trees and
95 * device trees (e.g. those only partially loaded) can also cause
98 * Note: Only checks that relate exclusively to the device tree itself
108 * extensive checking of parameters and the device tree, making various
117 * This disables checks for device-tree version and removes all code
120 * Only enable this if you know you have a device tree with the latest
126 * This assumes that it is OK for a failed addition to the device tree,
130 * leave the tree in a sub-optimal state.
135 * This assumes that the device tree components appear in a 'convenient'
139 * This order is not specified by the device-tree specification,
140 * but is expected by libfdt. The device-tree compiler always created
141 * device trees with this order.
145 * device tree is correctly ordered. See fdt_blocks_misordered_().
160 * can_assume_() - check if a particular assumption is enabled