Mirror of DTC
Find a file
David Gibson 94993f4fc4 libfdt: Abolish fdt_property_offset()
fdt_property_offset() is the only function in the library returning a
direct offset to a property, and no function takes such an offset
(they only take offsets to nodes, not properties).  Furthermore the
only client uses for this function I can think of involve immediately
translating the offset into a pointer, effectively duplicating the
internal function _fdt_getprop()

This function abolishes fdt_property_offset(), replacing it with
fdt_get_property(), a renamed and now externally visible version of
_fdt_getprop().
2006-12-11 16:15:34 +11:00
tests libfdt: Abolish fdt_property_offset() 2006-12-11 16:15:34 +11:00
.gitignore libfdt - library for manipulating device trees in flattened format 2006-11-27 16:21:28 +11:00
fdt.c libfdt: Introduce flat tree format v17 2006-12-01 16:25:39 +11:00
fdt.h libfdt: Introduce flat tree format v17 2006-12-01 16:25:39 +11:00
fdt_ro.c libfdt: Abolish fdt_property_offset() 2006-12-11 16:15:34 +11:00
fdt_rw.c libfdt: Abolish fdt_property_offset() 2006-12-11 16:15:34 +11:00
fdt_sw.c libfdt: Introduce flat tree format v17 2006-12-01 16:25:39 +11:00
fdt_wip.c libfdt: Abolish fdt_property_offset() 2006-12-11 16:15:34 +11:00
GPL Add a copy of the GPL 2006-11-29 16:49:27 +11:00
libfdt.h libfdt: Abolish fdt_property_offset() 2006-12-11 16:15:34 +11:00
libfdt_env.h libfdt: Export accessors for header fields 2006-12-01 15:02:10 +11:00
libfdt_internal.h libfdt: Abolish fdt_property_offset() 2006-12-11 16:15:34 +11:00
Makefile libfdt: Read-write support 2006-12-01 16:59:43 +11:00