microblaze console init

Grant Likely grant.likely at secretlab.ca
Sun Dec 12 08:59:32 EST 2010


On Sat, Dec 11, 2010 at 2:50 PM, Walter Goossens <waltergoossens at home.nl> 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.


More information about the devicetree-discuss mailing list