commit | 40f7f576c8e7df395ed25f0f3df61fac85f1adf9 | [log] [tgz] |
---|---|---|
author | David Gibson <david@gibson.dropbear.id.au> | Sun May 11 13:13:46 2014 +1000 |
committer | David Gibson <david@gibson.dropbear.id.au> | Mon May 12 16:01:09 2014 +1000 |
tree | 9aecbaaf8684d04f31294248c2b63b59cc4dd34b | |
parent | f240527e54021f82d70d8a09035e575f864c1fbd [diff] |
libfdt: Add helpers to read #address-cells and #size-cells This patch makes a small start on libfdt functions which actually help to parse the contents of device trees, rather than purely manipulating the tree's structure. We add simple helpers to read and sanity check the #address-cells and #size-cells values for a given node. Signed-off-by: David Gibson <david@gibson.dropbear.id.au>