On Monday, October 17, 2011 05:22:48 PM Stefan Herbrechtsmeier wrote: > Signed-off-by: Stefan Herbrechtsmeier <sherb...@cit-ec.uni-bielefeld.de> > CC: Marek Vasut <marek.va...@gmail.com> > CC: Remy Bohmer <li...@bohmer.net> > ---
Hi Stefan, this patch is awesome, I really need this one. But ... Can you possibly convert the register definitions to struct based access ? Like struct pxa_usb_regs { u32 reg1; u32 reg2; ... }; and then use it in the functions : type fn() { struct pxa_usb_regs regs = (struct pxa_usb_regs)0x46000000; ... writel(val, ®s->reg1); } Thanks!! _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot