Searched hist:"77 cb33bd25c97be3f5a878831cf743778e2e7dac" (Results 1 – 1 of 1) sorted by relevance
/openbmc/u-boot/arch/arm/cpu/arm926ejs/mxs/ |
H A D | spl_power_init.c | diff 77cb33bd25c97be3f5a878831cf743778e2e7dac Thu Nov 29 23:22:12 CST 2012 Marek Vasut <marex@denx.de> mxs: Implement common function to setup VDDx
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 <marex@denx.de> Cc: Stefano Babic <sbabic@denx.de> Cc: Fabio Estevam <fabio.estevam@freescale.com>
|