From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ajay Bhargav Date: Tue, 19 Jul 2011 09:44:19 +0530 (IST) Subject: [U-Boot] [PATCH 1/4] gpio: Adds GPIO driver support for Armada100 In-Reply-To: Message-ID: <1191601059.27357.1311048859322.JavaMail.root@ahm.einfochips.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de ----- "Lei Wen" wrote: > Hi Ajay, > > On Tue, Jul 19, 2011 at 12:01 PM, Ajay Bhargav > wrote: > > > >> How about merge this into current mvmfp.c? Just add some function > >> into > >> it, then no need another c file. > >> > >> Best regards, > >> Lei > >> > > > > Hi Lei, > > > > According to current ongoing development there is generic GPIO > framework being introduced. Its good if we keep gpio separate though > they are connected to MFP too, It makes more sense if they are kept in > different file. lets see what Prafulla has to say about this. > > > Ok. > BTW, I also have some comments towards your patch. > You define a huge structure in > arch/arm/include/asm/arch-armada100/gpio.h, which don't looks so good > to me. > Comments are welcome. I know its huge.. I just followed what is suggested by Wolfgang. He told not to use BASE+OFFSET thing. I am bit confused here whom to follow :) > > Macro here save a lot space, and keep the code clean. > > Best regards, > Lei > Prafulla is suggesting something.. Let me ask him how he want this. Regards, Ajay Bhargav