History log of /external/dtc/tests/appendprop2.c
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
38ad79d33946590c862567c7cbdf25b5a46d8149 14-Nov-2012 Kim Phillips <kim.phillips@freescale.com> dtc/tests: don't include fdt.h prior to libfdt.h

tests will need fdt type definitions provided in a subsequent patch
to libfdt_env.h. Since libfdt.h includes libfdt_env.h in the right
order anyway, just remove the fdt.h include.

Signed-off-by: Kim Phillips <kim.phillips@freescale.com>
Acked-by: David Gibson <david@gibson.dropbear.id.au>
/external/dtc/tests/appendprop2.c
cbf1410eab4b7ce7be1b15f985ef71bfc1f5886d 01-Jun-2012 David Gibson <david@gibson.dropbear.id.au> libfdt: Add helpers for 64-bit integer properties

In device trees in the world, properties consisting of a single 64-bit
integer are not as common as those consisting of a single 32-bit, cell
sized integer, but they're common enough that they're worth including
convenience functions for.

This patch adds helper wrappers of fdt_setprop_inplace(), fdt_setprop() and
fdt_appendprop() for handling 64-bit integer quantities in properties. For
better consistency with the names of these new *_u64() functions we also
add *_u32() functions as alternative names for the existing *_cell()
functions handling 32-bit integers.

Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
/external/dtc/tests/appendprop2.c
a31e3ef83bfce62d07695355e5f06cd4d0e44b86 04-Dec-2011 Minghuan Lian <Minghuan.Lian@freescale.com> libfdt: Add support for appending the values to a existing property

Some properties may contain multiple values, these values may need
to be added to the property respectively. this patch provides this
functionality. The main purpose of fdt_append_prop() is to append
the values to a existing property, or create a new property if it
dose not exist.

Signed-off-by: Minghuan Lian <Minghuan.Lian@freescale.com>
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
/external/dtc/tests/appendprop2.c