fdt: Add functions to access phandles, arrays and bools
authorSimon Glass <sjg@chromium.org>
Mon, 27 Feb 2012 10:52:35 +0000 (10:52 +0000)
committerAlbert ARIBAUD <albert.u.boot@aribaud.net>
Thu, 29 Mar 2012 06:12:47 +0000 (08:12 +0200)
commitd17da65560f15f74f8efe321044b9cdf45e24c9b
tree4ea24114308650c2f77d0e891fe4314a19ae5798
parentf88fe2ded4acd035826018f33c6a67033a8f5d07
fdt: Add functions to access phandles, arrays and bools

Add a function to look up a property which is a phandle in a node, and
another to read a fixed-length integer array from an fdt property.
Also add a function to read boolean properties, although there is no
actual boolean type in U-Boot.

Signed-off-by: Simon Glass <sjg@chromium.org>
Acked-by: Gerald Van Baren <vanbaren@cideas.com>
Acked-by: Stephen Warren <swarren@nvidia.com>
Signed-off-by: Tom Warren <twarren@nvidia.com>
include/fdtdec.h
lib/fdtdec.c