[U-Boot-Users] [RFC][PATCH] fdt fixup

Grant Likely grant.likely at secretlab.ca
Fri Nov 2 15:56:38 CET 2007


On 11/2/07, Kumar Gala <galak at kernel.crashing.org> wrote:
> > Possibly true; but I am concerned that it just trades one fragile
> > method (strict path) for another (expected differences between nodes
> > for identical devices in the tree)
>
> Yeah, I guess the best one can do is leave it up to the developer to
> pick the right method.  Its not as if we'd get ride of explicit path
> fixups.
>
> The idea of aliases is looking more and more appealing to me.

Indeed.

It also an area where device_type might actually be a useful property
if it is used to auto enumerate devices of the same type.  ie. If the
dtb doesn't explicitly specify eth* aliases, then u-boot could
enumerate them so that generic fixup routines can be used and so Linux
(or other OS) can use the same device numbering as u-boot.

Cheers,
g.

-- 
Grant Likely, B.Sc., P.Eng.
Secret Lab Technologies Ltd.
grant.likely at secretlab.ca
(403) 399-0195




More information about the U-Boot mailing list