libfdt: Add support for appending the values to a existing property
authorMinghuan Lian <Minghuan.Lian@freescale.com>
Tue, 28 Aug 2012 00:38:59 +0000 (19:38 -0500)
committerGerald Van Baren <gvb@unssw.com>
Mon, 15 Oct 2012 23:15:39 +0000 (19:15 -0400)
commit36ad18a6db0eec546b83e6500ceb7593be53a1ed
treea16b8142752d256470579f69f4f5c924a3cb9214
parent6528ff0109d81c1f21d20f9f1370782bccf87bcb
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>
include/libfdt.h
lib/libfdt/fdt_rw.c