Make mpc82xx use generic_calibrate_decr()

Kumar Gala galak at kernel.crashing.org
Thu Sep 13 16:43:53 EST 2007


On Sep 13, 2007, at 1:22 AM, David Gibson wrote:

> The only difference between m82xx_calibrate_decr() and
> generic_calibrate_decr() is that the former computes the timebase
> frequency from the cpu node's bus-frequency property, instead of
> directly from the timebase-frequency property.
>
> But there's no reason the timebase-frequency shouldn't be correct on
> 82xx like everything else.  Certainly the 82xx bootwrapper in
> arch/powerpc/boot/cuboot-pq2.c should get it right.
>
> Therefore, this patch removes mpc82xx_calibrate_decr(), using
> generic_calibrate_decr() instead.
>
> Signed-off-by: David Gibson <david at gibson.dropbear.id.au>
> ---
>
> I've compiled this, but no booted it, since I don't have any 82xx
> hardware.  I'm hoping for an ack from someone who can test boot it.

Scott's cleanup does this already for 82xx :)

- k



More information about the Linuxppc-dev mailing list