Make mpc82xx use generic_calibrate_decr()
David Gibson
david at gibson.dropbear.id.au
Thu Sep 13 16:42:13 EST 2007
On Thu, Sep 13, 2007 at 01:43:53AM -0500, Kumar Gala wrote:
>
> 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 :)
Oh, yes. Oops.
--
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