diff options
author | Simon Glass <sjg@chromium.org> | 2012-04-02 13:18:41 +0000 |
---|---|---|
committer | Albert ARIBAUD <albert.u.boot@aribaud.net> | 2012-05-15 08:31:36 +0200 |
commit | 96875e7d3b9900d0e63f0b591ff5693b31c4d9c3 (patch) | |
tree | 0960bc43115c34d73b07b67248a87a54217bde3a /include/libfdt.h | |
parent | 39007ec8cdd8ecfee659dca90f3b267b8e68da3c (diff) | |
download | u-boot-imx-96875e7d3b9900d0e63f0b591ff5693b31c4d9c3.zip u-boot-imx-96875e7d3b9900d0e63f0b591ff5693b31c4d9c3.tar.gz u-boot-imx-96875e7d3b9900d0e63f0b591ff5693b31c4d9c3.tar.bz2 |
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>
Diffstat (limited to 'include/libfdt.h')
0 files changed, 0 insertions, 0 deletions