]> xenbits.xensource.com Git - xen.git/commit
xen/device-tree: Add dt_property_read_u32_array helper
authorRahul Singh <rahul.singh@arm.com>
Tue, 28 Sep 2021 18:18:16 +0000 (19:18 +0100)
committerStefano Stabellini <stefano.stabellini@xilinx.com>
Fri, 1 Oct 2021 01:25:45 +0000 (18:25 -0700)
commit65ca66cf42420842039eb0f61ea8bcb9f56a355e
tree042933c7830bad6fd2ab24c8bddba813ce5a9c5c
parent1907cfc8b2ac516cde82a7e6acf0ee244c263adf
xen/device-tree: Add dt_property_read_u32_array helper

Based Linux commit a67e9472da423ec47a3586920b526ebaedf25fc3

Import the Linux helper of_property_read_u32_array. This function find
and read an array of 32 bit integers from a property.

Signed-off-by: Rahul Singh <rahul.singh@arm.com>
Reviewed-by: Bertrand Marquis <bertrand.marquis@arm.com>
Reviewed-by: Stefano Stabellini <sstabellini@kernel.org>
xen/include/xen/device_tree.h