Changeset 90f54b0e in rtems
- Timestamp:
- 02/24/17 00:12:50 (7 years ago)
- Branches:
- 5, master
- Children:
- d0a1fc8
- Parents:
- 6dbbd277
- git-author:
- David Gibson <david@…> (02/24/17 00:12:50)
- git-committer:
- Sebastian Huber <sebastian.huber@…> (07/19/18 05:01:10)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
cpukit/include/libfdt.h
r6dbbd277 r90f54b0e 1528 1528 fdt_setprop((fdt), (nodeoffset), (name), (str), strlen(str)+1) 1529 1529 1530 1531 /** 1532 * fdt_setprop_empty - set a property to an empty value 1533 * @fdt: pointer to the device tree blob 1534 * @nodeoffset: offset of the node whose property to change 1535 * @name: name of the property to change 1536 * 1537 * fdt_setprop_empty() sets the value of the named property in the 1538 * given node to an empty (zero length) value, or creates a new empty 1539 * property if it does not already exist. 1540 * 1541 * This function may insert or delete data from the blob, and will 1542 * therefore change the offsets of some existing nodes. 1543 * 1544 * returns: 1545 * 0, on success 1546 * -FDT_ERR_NOSPACE, there is insufficient free space in the blob to 1547 * contain the new property value 1548 * -FDT_ERR_BADOFFSET, nodeoffset did not point to FDT_BEGIN_NODE tag 1549 * -FDT_ERR_BADLAYOUT, 1550 * -FDT_ERR_BADMAGIC, 1551 * -FDT_ERR_BADVERSION, 1552 * -FDT_ERR_BADSTATE, 1553 * -FDT_ERR_BADSTRUCTURE, 1554 * -FDT_ERR_BADLAYOUT, 1555 * -FDT_ERR_TRUNCATED, standard meanings 1556 */ 1557 #define fdt_setprop_empty(fdt, nodeoffset, name) \ 1558 fdt_setprop((fdt), (nodeoffset), (name), NULL, 0) 1559 1530 1560 /** 1531 1561 * fdt_appendprop - append to or create a property
Note: See TracChangeset
for help on using the changeset viewer.