From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: In-Reply-To: <20070913062201.GA24281@localhost.localdomain> References: <20070913062201.GA24281@localhost.localdomain> Mime-Version: 1.0 (Apple Message framework v752.2) Content-Type: text/plain; charset=US-ASCII; format=flowed Message-Id: From: Kumar Gala Subject: Re: Make mpc82xx use generic_calibrate_decr() Date: Thu, 13 Sep 2007 01:43:53 -0500 To: David Gibson 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 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 :) - k