Home
last modified time | relevance | path

Searched hist:"96875 e7d3b9900d0e63f0b591ff5693b31c4d9c3" (Results 1 – 2 of 2) sorted by relevance

/rk3399_rockchip-uboot/include/
H A Dfdtdec.h96875e7d3b9900d0e63f0b591ff5693b31c4d9c3 Mon Apr 02 13:18:41 UTC 2012 Simon Glass <sjg@chromium.org> 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>
/rk3399_rockchip-uboot/lib/
H A Dfdtdec.c96875e7d3b9900d0e63f0b591ff5693b31c4d9c3 Mon Apr 02 13:18:41 UTC 2012 Simon Glass <sjg@chromium.org> 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>