[U-Boot] [PATCH 1/4] gpio: Adds GPIO driver support for Armada100
Ajay Bhargav
ajay.bhargav at einfochips.com
Tue Jul 19 06:14:19 CEST 2011
----- "Lei Wen" <adrian.wenl at gmail.com> wrote:
> Hi Ajay,
>
> On Tue, Jul 19, 2011 at 12:01 PM, Ajay Bhargav
> <ajay.bhargav at einfochips.com> 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
More information about the U-Boot
mailing list