On 30/11/2012 16:22, Marek Vasut wrote: > Implement common function to setup the VDDIO, VDDD and VDDA voltage. > Right now, there are two almost identical functions to setup VDDIO > and VDDD, which is prone to breakage. Pull out the differences into > constant structure and pass them as an argument to the common function. > > Moreover, the function has almost identical loops for setting higher > and lower VDDx voltage. Merge these two loops. > > Signed-off-by: Marek Vasut <ma...@denx.de> > Cc: Stefano Babic <sba...@denx.de> > Cc: Fabio Estevam <fabio.este...@freescale.com> > ---
Applied to u-boot-imx, thanks. Best regards, Stefano Babic -- ===================================================================== DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: +49-8142-66989-53 Fax: +49-8142-66989-80 Email: sba...@denx.de ===================================================================== _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot