gfdt_update_node()
Create an FDT node (ARM)
Synopsis:
#include <qvm/firmware.h>int gfdt_update_node(int parent,
const char *nodename,
uint64_t unit)Arguments:
- parent
- Where to add the node; the new node will be child of this parent node.
- nodename
- A pointer to the name of the new node.
- unit
- The unit number of the new node.
Description:
This function creates an FDT node if it isn't already present.
Returns:
Offset of the new FDT node, or a negative offset if the node already existed.
Page updated:
