Changeset 90f54b0e in rtems for cpukit

Timestamp:
02/24/17 00:12:50 (7 years ago)
Author:
David Gibson <david@…>
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)
Message:

libfdt: Add fdt_setprop_empty()

Device trees can contain empty (zero length) properties, which are often
used as boolean flags. These can already be created using fdt_setprop()
passing a length of zero and a pointer which is ignored. It is safe to
pass NULL, but that may not be obvious from the interface. To make it
clearer, add an fdt_setprop_empty() helper macro.

Signed-off-by: David Gibson <david@…>

(No files)

Note: See TracChangeset for help on using the changeset viewer.