xen/dts: Add new helpers to use the device tree
authorJulien Grall <julien.grall@linaro.org>
Fri, 13 Sep 2013 12:49:11 +0000 (13:49 +0100)
committerIan Campbell <ian.campbell@citrix.com>
Tue, 17 Sep 2013 14:27:48 +0000 (15:27 +0100)
commitc88d32f463f75664285fd98856a7cdc6e01409bc
tree4d5f3ffff34b183f05f58af6d2ba20c78807c8e1
parent190ece328e74d04bcf1c1bed386a7d1cfe9b031e
xen/dts: Add new helpers to use the device tree

List of new helpers taken from linux (commit 74b9272):
    - dt_property_read_string
    - dt_match_node
    - dt_find_maching_node
    - dt_device_is_available
    - dt_prop_cmp

Other new helpers:
    - dt_set_cell
    - dt_for_each_child
    - dt_set_range
    - dt_cells_to_size
    - dt_next_cell
    - dt_get_range
    - dt_node_name_is_equal
    - dt_node_path_is_equal
    - dt_property_name_is_equal

Signed-off-by: Julien Grall <julien.grall@linaro.org>
Acked-by: Ian Campbell <ian.campbell@citrix.com>
xen/common/device_tree.c
xen/include/xen/device_tree.h