fdt: Add fdtdec functions to read byte array
authorAnton Staff <robotboy@chromium.org>
Tue, 17 Apr 2012 09:01:28 +0000 (09:01 +0000)
committerAlbert ARIBAUD <albert.u.boot@aribaud.net>
Tue, 15 May 2012 06:31:39 +0000 (08:31 +0200)
commitbed4d89277629904bfcefa37589c71e4b7424bea
treefb96d19d9a5484a4a3098c8e12095bfd77a6ac74
parent649d0ffbc1eca693726937ff40e7d7ab852f4ae9
fdt: Add fdtdec functions to read byte array

Sometimes we don't need a full cell for each value. This provides
a simple function to read a byte array, both with and without
copying it.

Signed-off-by: Simon Glass <sjg@chromium.org>
Signed-off-by: Tom Warren <twarren@nvidia.com>
include/fdtdec.h
lib/fdtdec.c