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 <[email protected]> > Cc: Stefano Babic <[email protected]> > Cc: Fabio Estevam <[email protected]> > ---
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: [email protected] ===================================================================== _______________________________________________ U-Boot mailing list [email protected] http://lists.denx.de/mailman/listinfo/u-boot

