On 06/26/2013 07:36:23 AM, Tudor Laurentiu wrote:
On 06/26/2013 02:14 AM, Scott Wood wrote:
This would require converting
the code to use the early device tree functions.


I see. Had a look at that api and it seems pretty limited.
I couldn't find a simple way of reading a property other than scanning the entire tree with of_scan_flat_dt().

What's wrong with scanning the entire tree? The data format doesn't allow any more efficient type of lookup (it was designed to be simple and small, not fast).

-Scott
_______________________________________________
Linuxppc-dev mailing list
Linuxppc-dev@lists.ozlabs.org
https://lists.ozlabs.org/listinfo/linuxppc-dev

Reply via email to