[U-Boot] [PATCH 1/4] gpio: Adds GPIO driver support for Armada100
Lei Wen
adrian.wenl at gmail.com
Wed Jul 20 14:18:06 CEST 2011
Hi Ajay,
On Wed, Jul 20, 2011 at 6:43 PM, Ajay Bhargav
<ajay.bhargav at einfochips.com> wrote:
> Hi Lei,
>
>> I think we make thing complicated here. For GPIO driver, the only
>> structure we need to
>> define is the GPIO register itself, like GPIO_PLR, GPIO_PDR, etc...
>>
>
> I got your point, but lemme show you where the problem is..
> GPIO_PLR0 0x0000
> GPIO_PLR1 0x0004
> GPIO_PLR2 0x0008
> GPIO_PLR3 0x0100
>
> till 3 registers its fine... fourth register is way out of league.
>
I know this is a bit tricky, but couldn't be included in a logic
hidden by MACRO or funcion?
Best regards,
Lei
More information about the U-Boot
mailing list