[PATCH 10/10] bootwrapper: Add fsl_get_immr() and 8xx/pq2 clock functions.

David Gibson david at gibson.dropbear.id.au
Fri Sep 7 10:53:57 EST 2007


On Wed, Sep 05, 2007 at 02:21:19PM -0500, Scott Wood wrote:
> fsl_get_immr() is equivalent to the kernel's get_immrbase() function.
> 
> mpc885_get_clock() transforms a crystal frequency into a system frequency
> according to the PLL register settings.
> 
> pq2_get_clocks() does the same as the above for the PowerQUICC II,
> except that it produces several different clocks.
> 
> The mpc8xx/pq2 set_clocks() functions modify common properties in
> the device tree based on the given clock data.
> 
> The mpc885/pq2 fixup_clocks() functions call get_clocks(), and
> pass the results to set_clocks().

Uh... doesn't this need to go in the series *before* the patch that
uses fsl_get_immr() for the pq2 code..?

-- 
David Gibson			| I'll have my music baroque, and my code
david AT gibson.dropbear.id.au	| minimalist, thank you.  NOT _the_ _other_
				| _way_ _around_!
http://www.ozlabs.org/~dgibson



More information about the Linuxppc-dev mailing list