From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from nf-out-0910.google.com (nf-out-0910.google.com [64.233.182.186]) by ozlabs.org (Postfix) with ESMTP id 99224DDEA2 for ; Wed, 22 Aug 2007 20:21:01 +1000 (EST) Received: by nf-out-0910.google.com with SMTP id c10so109204nfd for ; Wed, 22 Aug 2007 03:21:00 -0700 (PDT) Date: Wed, 22 Aug 2007 12:20:46 +0200 (CEST) From: Esben Nielsen To: Robert Woodworth Subject: Re: [PATCH 3/3] Add support for xupv2p and ml410 boards. In-Reply-To: <1187751864.6266.6.camel@PisteOff> Message-ID: References: <1187743993171-git-send-email-wolfgang.reissnegger@xilinx.com> <1187743993360-git-send-email-wolfgang.reissnegger@xilinx.com> <20070822005048.CF66B31005A@mail77-blu.bigfish.com> <1187751864.6266.6.camel@PisteOff> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: Stephen Neuendorffer , linuxppc-embedded@ozlabs.org List-Id: Linux on Embedded PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , On Tue, 21 Aug 2007, Robert Woodworth wrote: > Should the xparameters????.h file *really* be included in the tree? > > This file is completely board/EDK/ISE/synthesis specific. I'd rather it > not be included and have people copy theirs from EDK. > Or as I have done, sym-link it from my EDK project. > > > Woody. > The solution below is in line with what we do in our 2.4 kernel to support several of our own boards. When you distribute the kernel you have to distribute the source as well. You thus have to include xparameters.h such the kernel can be rebuild by the receiver. Esben > > > On Tue, 2007-08-21 at 17:53 -0700, wolfgang.reissnegger@xilinx.com > wrote: >> From: Stephen Neuendorffer > >> 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 >> diff --git a/arch/ppc/platforms/4xx/xparameters/xparameters_ml41x.h b/arch/ppc/platforms/4xx/xparameters/xparameters_ml41x.h >> new file mode 100644 >> index 0000000..06dac67 >> --- /dev/null >> +++ b/arch/ppc/platforms/4xx/xparameters/xparameters_ml41x.h >> @@ -0,0 +1,277 @@ >> + >> +/******************************************************************* >> +* >> +* CAUTION: This file is automatically generated by libgen. >> +* Version: Xilinx EDK 8.2.02 EDK_Im_Sp2.4 >> +* DO NOT EDIT. >> +* >> +* Copyright (c) 2005 Xilinx, Inc. All rights reserved. >> +* >> +* Description: Driver parameters >> +* >> +*******************************************************************/ >> + > > > _______________________________________________ > Linuxppc-embedded mailing list > Linuxppc-embedded@ozlabs.org > https://ozlabs.org/mailman/listinfo/linuxppc-embedded >