commit | a937b8036aa0345f9cafa874c873a235eb5d18f7 | [log] [tgz] |
---|---|---|
author | Thierry Reding <treding@nvidia.com> | Tue Aug 26 17:33:53 2014 +0200 |
committer | Simon Glass <sjg@chromium.org> | Wed Oct 22 16:56:41 2014 -0600 |
tree | 7a2b6410c681a09ce033217507b4c75d011fe85e | |
parent | 5504b80afa1493c46050c7381a95080ae073d1c1 [diff] |
fdt: Add resource parsing functions Add the fdt_get_resource() and fdt_get_named_resource() functions which can be used to parse resources (memory regions) from an FDT. A helper to compute the size of a region is also provided. Signed-off-by: Thierry Reding <treding@nvidia.com> Acked-by: Simon Glass <sjg@chromium.org>