commit | 744ec23420bbb373f3dde76876c35808f6eacfbc | [log] [tgz] |
---|---|---|
author | Simon Glass <sjg@chromium.org> | Mon Apr 02 13:18:41 2012 +0000 |
committer | Albert ARIBAUD <albert.u.boot@aribaud.net> | Tue May 15 08:31:36 2012 +0200 |
tree | 0960bc43115c34d73b07b67248a87a54217bde3a | |
parent | 609d35a8d1801f7569f5dfce98090ee4abeef9bf [diff] |
fdt: Add function to locate an array in the device tree fdtdec_locate_array() locates an integer array but does not copy it. This saves the caller having to allocated wasted space. Access to array elements should be through the fdt32_to_cpu() macro. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Warren <twarren@nvidia.com>