Function cros_fdt::apply_overlay
source · pub fn apply_overlay<T: AsRef<str>>(
base: &mut Fdt,
overlay: Fdt,
filter_symbols: impl IntoIterator<Item = T>,
) -> Result<()>Expand description
Apply an overlay to the base FDT.
§Arguments
base - base FDT that will be updated with new nodes and properties.
overlay - overlay FDT that will be applied to the base. Must contain symbols and fixups nodes.
filtered_symbols - A slice of node labels (symbols) listing nodes which will be applied to the
base. Values must correspond to the properties of overlay __symbols__ node. If empty, the
entire overlay is applied to base.