]> Git Repo - u-boot.git/commit
fdt_support: Add helper function to read "ranges" property
authorAlexander Graf <[email protected]>
Fri, 11 Apr 2014 15:09:41 +0000 (17:09 +0200)
committerYork Sun <[email protected]>
Wed, 23 Apr 2014 00:58:45 +0000 (17:58 -0700)
commitc48e686889395ee6d33c7a7d76f8399839b699d1
tree035b94a6b4d5847048f3b4f7070dc7f4ac9b1d7f
parent94fb182cdf5f39befc822cd5a1110a1ca3b6631d
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 <[email protected]>
Acked-by: Scott Wood <[email protected]>
Reviewed-by: York Sun <[email protected]>
common/fdt_support.c
include/fdt_support.h
This page took 0.03419 seconds and 4 git commands to generate.