From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from kuuvir01.barco.com (kuu212123311.barco.com [212.123.3.11]) by ozlabs.org (Postfix) with SMTP id DC732DDEF6 for ; Wed, 25 Apr 2007 22:07:40 +1000 (EST) Received: from peko by sleipner.barco.com with local (Exim 4.60) (envelope-from ) id 1HggHa-0004Xl-DM for linuxppc-embedded@ozlabs.org; Wed, 25 Apr 2007 14:07:38 +0200 From: Peter Korsgaard To: linuxppc-embedded@ozlabs.org Subject: Re: [PATCH 2/5] [PPC] Merge common virtex header files References: <1176622062492-git-send-email-grant.likely@secretlab.ca> <11766220692537-git-send-email-grant.likely@secretlab.ca> <11766220693636-git-send-email-grant.likely@secretlab.ca> Date: Wed, 25 Apr 2007 14:07:38 +0200 In-Reply-To: <11766220693636-git-send-email-grant.likely@secretlab.ca> (Grant Likely's message of "Sun, 15 Apr 2007 01:27:39 -0600") Message-ID: <87d51sac8l.fsf@sleipner.barco.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii List-Id: Linux on Embedded PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , >>>>> "GL" == Grant Likely writes: Hi, GL> The header files for the ml403 and ml300 are virtually identical, GL> merge them into a single file. GL> diff --git a/include/asm-ppc/ibm4xx.h b/include/asm-ppc/ibm4xx.h GL> index 92fd02d..ed6891a 100644 GL> --- a/include/asm-ppc/ibm4xx.h GL> +++ b/include/asm-ppc/ibm4xx.h GL> @@ -47,12 +47,8 @@ GL> #include GL> #endif GL> GL> -#if defined(CONFIG_XILINX_ML300) GL> -#include GL> -#endif GL> - GL> -#if defined(CONFIG_XILINX_ML403) GL> -#include GL> +#if defined(CONFIG_XILINX_VIRTEX) GL> +#include GL> #endif Could we make that #if defined(CONFIG_XILINX_ML300) || defined(CONFIG_XILINX_ML403) instead? I'm using RedBoot on a virtex platform, and hence another struct bd_info than the ML300/ML403. Other than that, Acked-by: Peter Korsgaard -- Bye, Peter Korsgaard