From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from wa-out-1112.google.com (wa-out-1112.google.com [209.85.146.181]) by ozlabs.org (Postfix) with ESMTP id 452D1DDE9B for ; Fri, 10 Aug 2007 23:48:04 +1000 (EST) Received: by wa-out-1112.google.com with SMTP id m28so999687wag for ; Fri, 10 Aug 2007 06:48:02 -0700 (PDT) Message-ID: Date: Fri, 10 Aug 2007 07:48:01 -0600 From: "Grant Likely" Sender: glikely@secretlab.ca To: "Koss, Mike (Mission Systems)" Subject: Re: Device Tree tool [was RE: [PATCH] Consolidate XILINX_VIRTEX board support] In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 References: <20070806225642.7D72A7B005B@mail34-fra.bigfish.com> <200708070124.04748.arnd@arndb.de> 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 8/10/07, Koss, Mike (Mission Systems) wrote: > > <> > > > > diff --git a/arch/ppc/platforms/4xx/xparameters/xparameters.h > > > > b/arch/ppc/platforms/4xx/xparameters/xparameters.h > > > > index 01aa043..34d9844 100644 > > > > --- a/arch/ppc/platforms/4xx/xparameters/xparameters.h > > > > +++ b/arch/ppc/platforms/4xx/xparameters/xparameters.h > > > > @@ -15,8 +15,12 @@ > > > > > > > > #if defined(CONFIG_XILINX_ML300) > > > > #include "xparameters_ml300.h" > > > > +#elif defined(CONFIG_XILINX_XUPV2P) #include > > > > +"xparameters_xupv2p.h" > > > > #elif defined(CONFIG_XILINX_ML403) > > > > #include "xparameters_ml403.h" > > > > +#elif defined(CONFIG_XILINX_ML41x) > > > > + #include "xparameters_ml41x.h" > > > > #else > > > > /* Add other board xparameter includes here before the #else */ > > > > #error No xparameters_*.h file included > > > > > > see comment above. > > > This whole xparams stuff is a special case; but it is going away for > arch/powerpc. xparameters.h is generated by the xilinx EDK tool and it > is painful to work with in the Linux context. For arch/powerpc, I've > got a tool that generates a device tree from the FPGA hardware design. > > What is the tool that you are using and are you willing to share it at > this point? I'm currently working on some code to generate platform > files for our internal drivers and the ll_temac vs using the ugle > xparam's file. I'd like to not duplicate, or actually assist, any effort > in this area. It's on my git tree; http://git.secretlab.ca I've also got some feedback from the Xilinx folks in the form of a patch, but I haven't integrated it yet. Pretty experimental stuff, I'll probably end up rewriting it from scratch before it's done. Cheers, g. > > -- Mike Koss > > -- Grant Likely, B.Sc., P.Eng. Secret Lab Technologies Ltd. grant.likely@secretlab.ca (403) 399-0195