gfdt_add_property()

Add a property to a node (ARM)

Synopsis:

#include <qvm/firmware.h>
void gfdt_add_property(int node,
                       const char *propname,
                       const void *valp,
                       size_t ncells)

Arguments:

node
The offset of the FDT node where the property is being added.
propname
A pointer to the name of the property being added.
valp
A pointer to the new property's value.
ncells
The number of uint32_t cells needed to store the property.

Description:

If the specified property isn't already present, this function sets it to the given value in the specified FDT node.

Page updated: