HomeFreeBSD

MFC r322359: Enable OF_setprop API function to add property in FDT

Description

MFC r322359: Enable OF_setprop API function to add property in FDT

This patch modifies function ofw_fdt_setprop (called by OF_setprop),
so that it can add property, when replacing is not possible.
Adding property is needed to fixup FDT's that have missing
properties.

Details

Provenance
kevansAuthored on
Parents
rS330901: MFC r322289: Enable uing ofw_bus_find_compatible in early platform code
Branches
Unknown
Tags
Unknown