From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Date: Thu, 13 Sep 2007 16:42:13 +1000 From: David Gibson To: Kumar Gala Subject: Re: Make mpc82xx use generic_calibrate_decr() Message-ID: <20070913064213.GB24281@localhost.localdomain> References: <20070913062201.GA24281@localhost.localdomain> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii In-Reply-To: Cc: "linuxppc-dev@ozlabs.org list" List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , 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 > > --- > > > > 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