[U-Boot] [PATCH v2 2/2] gpio: Add GPIO driver for Marvell SoC Armada100

Lei Wen adrian.wenl at gmail.com
Fri Jul 22 09:52:32 CEST 2011


On Fri, Jul 22, 2011 at 3:27 PM, Ajay Bhargav
<ajay.bhargav at einfochips.com> wrote:
> Hi Lei,
>
>> Why not put this structure into driver file?
>> I think this register is not easy to change, and put this into arch
>> .h
>> would make the work duplicated,
>> as each arch need to redefine the same structure again.
>>
> Other architectures may/may not have the same structure. One can redefine
> structure based on this header file.

I think if have no such same structure, the gpio driver may need to be rewrite,
since the meaning of the register may also change.

Best regards,
Lei


More information about the U-Boot mailing list