summaryrefslogtreecommitdiffstats
path: root/arch/openrisc/cpu/cpu.c
diff options
context:
space:
mode:
authorMarek Vasut <marex@denx.de>2012-11-30 05:22:12 +0000
committerStefano Babic <sbabic@denx.de>2012-12-04 09:26:54 +0100
commit77cb33bd25c97be3f5a878831cf743778e2e7dac (patch)
tree1b1c5ad24ec5102878ae029c3d4460cad327349d /arch/openrisc/cpu/cpu.c
parent58bcadd9d08f680739d29e0f5f374f721023b8ca (diff)
downloadtalos-obmc-uboot-77cb33bd25c97be3f5a878831cf743778e2e7dac.tar.gz
talos-obmc-uboot-77cb33bd25c97be3f5a878831cf743778e2e7dac.zip
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>
Diffstat (limited to 'arch/openrisc/cpu/cpu.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud