From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from de01egw02.freescale.net (de01egw02.freescale.net [192.88.165.103]) by ozlabs.org (Postfix) with ESMTP id 02B0967B71 for ; Fri, 30 Jun 2006 05:02:26 +1000 (EST) Date: Thu, 29 Jun 2006 14:02:17 -0500 From: Kim Phillips To: Kumar Gala Subject: Re: [PATCH 1/3] Add support for the Freescale MPC8349E-mITX eval board Message-Id: <20060629140217.4a07f05a.kim.phillips@freescale.com> In-Reply-To: References: <20060628211317.7b21d085.kim.phillips@freescale.com> <99F42AA0-3028-4C80-86C1-14A210C41229@kernel.crashing.org> <20060629095839.55cb8e5f.kim.phillips@freescale.com> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Cc: linuxppc-dev@ozlabs.org List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , On Thu, 29 Jun 2006 11:38:04 -0500 Kumar Gala wrote: > > > It removes rtc chip-specific code from the platform code. It > > accomplishes this by using the new "RTC-framework" glue. > > I'm aware of the new RTC framework. > > This code seems pretty generic for any RTC using the new framework. > If so, we should put it somewhere more generic like setup.c > yeah, I'd like to clean up some more of the existing rtc specific code and do that in one fell swoop.. > > > >>> diff --git a/include/asm-ppc/mpc83xx.h b/include/asm-ppc/mpc83xx.h > >>> index 02ed2c3..80076be 100644 > >>> --- a/include/asm-ppc/mpc83xx.h > >>> +++ b/include/asm-ppc/mpc83xx.h > >>> @@ -25,6 +25,10 @@ > >>> #include > >>> #endif > >>> > >>> +#ifdef CONFIG_MPC834x_ITX > >>> +#include > >>> +#endif > >>> + > >> > >> This shouldn't be needed, its a hold over from arch/ppc > >> > > Unfortunately it won't build without it. > > What's the build error? > .. CC arch/powerpc/platforms/83xx/mpc834x_itx.o arch/powerpc/platforms/83xx/mpc834x_itx.c: In function `mpc83xx_map_irq': arch/powerpc/platforms/83xx/mpc834x_itx.c:57: error: `PIRQB' undeclared (first use in this function) .. which reminds me of wanting to adopt Benh's new irq stuff.. Kim