[U-Boot] [PATCH] powerpc/85xx: compare actual device addresses with the device tree

Timur Tabi timur at freescale.com
Wed Nov 17 00:12:33 CET 2010


Wolfgang Denk wrote:
> No, I don't like this.  The parts that are not specific to 85xx should
> be available to all, and CPU specific (and eventually board specific?)
> parts should be possible by calling into respective functions (which
> might, for example, have weak dummy implementations).

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.

Do you want the default weak functions to say something like "not implemented",
or just do nothing at all?

-- 
Timur Tabi
Linux kernel developer at Freescale



More information about the U-Boot mailing list