Skip to content
Snippets Groups Projects
Commit c48e6868 authored by Alexander Graf's avatar Alexander Graf Committed by York Sun
Browse files

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: default avatarAlexander Graf <agraf@suse.de>
Acked-by: default avatarScott Wood <scottwood@freescale.com>
Reviewed-by: default avatarYork Sun <yorksun@freescale.com>
parent 94fb182c
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment