From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from wx-out-0506.google.com (wx-out-0506.google.com [66.249.82.224]) by ozlabs.org (Postfix) with ESMTP id 2BE90DDF0A for ; Tue, 1 May 2007 00:57:32 +1000 (EST) Received: by wx-out-0506.google.com with SMTP id s19so1441676wxc for ; Mon, 30 Apr 2007 07:57:30 -0700 (PDT) Message-ID: <528646bc0704300757k66807211na34f6b1c852461e@mail.gmail.com> Date: Mon, 30 Apr 2007 08:57:30 -0600 From: "Grant Likely" Sender: glikely@gmail.com To: "Andrei Konovalov" , "Linux PPC" Subject: Re: Xilinx framebuffer platform bus binding In-Reply-To: <528646bc0704300203p2b7afb22we23fa0da66c80a80@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed References: <528646bc0704300203p2b7afb22we23fa0da66c80a80@mail.gmail.com> List-Id: Linux on Embedded PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , On 4/30/07, Grant Likely wrote: > Andrei; FWIW, here is the code that I'm using to register the Xilinx > FB to the platform bus. > Oh, and in keeping with the other devices, I use this snippet in xparams: Cheers, g. diff --git a/arch/ppc/platforms/4xx/xparameters/xparameters.h b/arch/ppc/platforms/4xx/xparameters/xparameters.h index 917cc81..8675511 100644 --- a/arch/ppc/platforms/4xx/xparameters/xparameters.h +++ b/arch/ppc/platforms/4xx/xparameters/xparameters.h @@ -103,3 +103,9 @@ #define XPAR_GPIO_4_IS_DUAL 0 #endif +#ifndef XPAR_TFT_0_USE_DCR +#define XPAR_TFT_0_USE_DCR 0 +#endif +#ifndef XPAR_TFT_1_USE_DCR +#define XPAR_TFT_1_USE_DCR 0 +#endif