----- "Prafulla Wadaskar" <prafu...@marvell.com> wrote: > The main objective of having mvgpio.c is to share/reuse a driver code > across several SoCs. > > If most of the SoCs (what we know) have similar register definition, > it makes sense to keep them in mvgpio.c > > What may differ for each SOC is that- base addresses, number of GPIOs, > number of GPIO Banks, that should go in asm/arch/gpio.h > > If any future SoC follows totally different GPIO architecture, we can > always have _gpio.c. > > Regards.. > Prafulla . . >
So what about v2 patches i sent? I did things accordingly you said. can you please review them and let me know if any changes are required. Regards, Ajay Bhargav _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot