commit | 19555be6b4edf37ab6f969a2d2118d6b34fde0af | [log] [tgz] |
---|---|---|
author | Alexander Graf <agraf@suse.de> | Fri Apr 11 17:09:41 2014 +0200 |
committer | York Sun <yorksun@freescale.com> | Tue Apr 22 17:58:45 2014 -0700 |
tree | 035b94a6b4d5847048f3b4f7070dc7f4ac9b1d7f | |
parent | 7c8a6cf2caa0060047a74b5d2c1421f776466c6b [diff] |
fdt_support: Add helper function to read "ranges" property This patch adds a helper function that can be used to interpret most "ranges" properties in the device tree. It reads the n'th range out of a "ranges" array and returns the node's virtual address of the range, the physical address that range starts at and the size of the range. Signed-off-by: Alexander Graf <agraf@suse.de> Acked-by: Scott Wood <scottwood@freescale.com> Reviewed-by: York Sun <yorksun@freescale.com>