fdt: Add a function to decode a variable-sized u32 array
authorSimon Glass <sjg@chromium.org>
Tue, 11 Nov 2014 01:00:19 +0000 (18:00 -0700)
committerSimon Glass <sjg@chromium.org>
Fri, 21 Nov 2014 06:24:11 +0000 (07:24 +0100)
commita9f04d49e519383f98689d603facdee227a2f94d
tree1b218e35a8b8c0789a119edcdb06c87ba78e62e5
parent768e0f52f2d1a9d19842c8d1ded22a96b080a266
fdt: Add a function to decode a variable-sized u32 array

Sometimes an array can be of variable size up to a maximum. Add a helper
function to decode this.

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