On Sat, Dec 11, 2010 at 2:50 PM, Walter Goossens <[email protected]> wrote: > I do still have one concern, do I understand correctly that there is no way > to do address-translation (the "ranges" stuff) on a flattenend tree, using > the of_get_flat_dt_* functions? This would mean that this code would fail to > get the correct address for a uartlite connected to a bus that has > address-translation.
Correct, none of the flat tree core code tries to do any range translation. In fact, it does very little in the way of looking at reg properties at all. Only the absolute bare minimum required to get through early boot. It could be done, but there really hasn't been a use case for it up to this point. Instead, ranges can be translated after the tree has been unflattened into the live form. g. _______________________________________________ devicetree-discuss mailing list [email protected] https://lists.ozlabs.org/listinfo/devicetree-discuss
