[PATCH 09/17] bootwrapper: Add dt_set_cpu_clocks().

David Gibson david at gibson.dropbear.id.au
Sat Mar 17 12:28:24 EST 2007


On Fri, Mar 16, 2007 at 12:28:51PM -0500, Scott Wood wrote:
> This adds a library function that platform files can call to
> set clock-frequency, bus-frequency, and timebase-frequency in
> each CPU node.
> 
> Signed-off-by: Scott Wood <scottwood at freescale.com>

And my patch-in-progress had a function almost exactly like this one,
too.  However, not all systems have a notion of "bus-frequency" in the
cpu node, so better make that one optional (I suggest skip the setprop
if bus==0).

-- 
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