Thread (3 messages) flat view 3 messages, 2 authors, 2007-09-13

Re: Make mpc82xx use generic_calibrate_decr()

From: David Gibson <hidden>
Date: 2007-09-13 06:42:13

On Thu, Sep 13, 2007 at 01:43:53AM -0500, Kumar Gala wrote:
On Sep 13, 2007, at 1:22 AM, David Gibson wrote:
quoted
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 <redacted>
---

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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help