Hi Ajay, On Wed, Jul 20, 2011 at 6:43 PM, Ajay Bhargav <ajay.bhar...@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 _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot