]> Git Repo - J-u-boot.git/commit
fdt: Add function to locate an array in the device tree
authorSimon Glass <[email protected]>
Mon, 2 Apr 2012 13:18:41 +0000 (13:18 +0000)
committerAlbert ARIBAUD <[email protected]>
Tue, 15 May 2012 06:31:36 +0000 (08:31 +0200)
commit96875e7d3b9900d0e63f0b591ff5693b31c4d9c3
tree0960bc43115c34d73b07b67248a87a54217bde3a
parent39007ec8cdd8ecfee659dca90f3b267b8e68da3c
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 <[email protected]>
Signed-off-by: Tom Warren <[email protected]>
include/fdtdec.h
lib/fdtdec.c
This page took 0.033848 seconds and 4 git commands to generate.