Function arch::fdt::apply_device_tree_overlays
source · pub fn apply_device_tree_overlays(
fdt: &mut Fdt,
overlays: Vec<DtbOverlay>,
devices: Vec<PlatformBusResources>,
phandles: &BTreeMap<&str, u32>
) -> Result<()>
Expand description
Apply multiple device tree overlays to the base FDT.
§Arguments
fdt
- The base FDToverlays
- A vector of overlay files to applydevices
- A vector of device resource descriptors to amend the overlay nodes with