Hi Ajay, On Tue, Jul 19, 2011 at 12:23 PM, Ajay Bhargav <ajay.bhar...@einfochips.com> wrote: > > ----- "Prafulla Wadaskar" <prafu...@marvell.com> wrote: > >> You should define all GPIO register in a single struct >> And point them with base address offsets >> > >> >> I suggest you to add mvgpio.c instead of armada100_gpio.c >> This will be used in future by other Marvell SoCs. >> > GPIO registers might vary for other Marvell SoCs? How to deal with > that?
I could tell you that for the pxa series branch, the gpio register arrangement not change for years, and still keep it valid for the next generation product. So mvgpio.c could be used by pxa168(aspen), pxa910(td), pxa610(mmp2), pxa620(mmp3). Best regards, Lei _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot