Return-Path: Received: from gate.crashing.org (gate.crashing.org [63.228.1.57]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by ozlabs.org (Postfix) with ESMTPS id B13CFDDF04 for ; Thu, 16 Apr 2009 02:19:24 +1000 (EST) Message-Id: From: Kumar Gala To: Timur Tabi In-Reply-To: Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Mime-Version: 1.0 (Apple Message framework v930.3) Subject: Re: [PATCH] powerpc/85xx: Add P2020DS board support Date: Wed, 15 Apr 2009 11:17:17 -0500 References: <1239810564-8403-1-git-send-email-galak@kernel.crashing.org> Cc: linuxppc-dev@ozlabs.org, Ted Peters List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , On Apr 15, 2009, at 10:59 AM, Timur Tabi wrote: > On Wed, Apr 15, 2009 at 10:49 AM, Kumar Gala > wrote: > >> --- a/arch/powerpc/platforms/fsl_uli1575.c >> +++ b/arch/powerpc/platforms/fsl_uli1575.c >> @@ -57,7 +57,7 @@ static void __devinit early_uli5249(struct >> pci_dev *dev) >> unsigned char temp; >> >> if (!machine_is(mpc86xx_hpcn) && !machine_is(mpc8544_ds) && >> - !machine_is(mpc8572_ds)) >> + !machine_is(mpc8572_ds) && ! >> machine_is(p2020_ds)) >> return; > > Are we going to need to update this function every time we add a new > board that has an ULI 1575 on it? Can't we define some property in > the device tree to handle this? Seeing as I think this is the last board that will have the ULI 1575 from us I don't think its worth it. - k