[U-Boot] [PATCH] powerpc/85xx: compare actual device addresses with the device tree
Wolfgang Denk
wd at denx.de
Wed Nov 17 00:29:17 CET 2010
Dear Timur Tabi,
In message <4CE30FE1.2010806 at freescale.com> you wrote:
>
> Ok, I can do it this way, but 99% of the code will be CPU-specific. The whole
> point behind the function is to compare the device tree numbers with the
> physical addresses of the actual devices in hardware.
Maybe this can be implemented in a largely CPU independent way? Try to
make it data-driven, so you can then for example just provide a
CPU-specific data sructure (array of names / addresses or whatever you
are checking).
> Do you want the default weak functions to say something like "not implemented",
> or just do nothing at all?
No news is good news. Make them silent, please.
Best regards,
Wolfgang Denk
--
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
Why can you only have two doors on a chicken coop? If it had four it
would be a chicken sedan.
More information about the U-Boot
mailing list