From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from ug-out-1314.google.com (ug-out-1314.google.com [66.249.92.173]) by ozlabs.org (Postfix) with ESMTP id CEC5BDDFDB for ; Sat, 28 Apr 2007 04:49:29 +1000 (EST) Received: by ug-out-1314.google.com with SMTP id k3so693918ugf for ; Fri, 27 Apr 2007 11:49:27 -0700 (PDT) Message-ID: <528646bc0704271149w211bd5cbscb467123ab962703@mail.gmail.com> Date: Fri, 27 Apr 2007 12:49:26 -0600 From: "Grant Likely" Sender: glikely@gmail.com To: "Peter Korsgaard" Subject: Re: [PATCH 2/5] [PPC] Merge common virtex header files In-Reply-To: <87d51sac8l.fsf@sleipner.barco.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed 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> <87d51sac8l.fsf@sleipner.barco.com> Cc: linuxppc-embedded@ozlabs.org List-Id: Linux on Embedded PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , On 4/25/07, Peter Korsgaard wrote: > >>>>> "GL" == Grant Likely writes: > 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. Alternate suggestion: Can we change virtex support to use the structure defined in ppcboot.h instead? (I've actually got that change in my tree and was planning on posting it for review today or tomorrow). bd_t is a stinking ugly mess, but things would be better if we standardize all virtex platforms on the stinking ugly mess shared by almost all the other ppc embedded board ports. Cheers, g. -- Grant Likely, B.Sc. P.Eng. Secret Lab Technologies Ltd. grant.likely@secretlab.ca (403) 399-0195