diff options
author | Marek Vasut <marex@denx.de> | 2012-11-30 05:22:12 +0000 |
---|---|---|
committer | Stefano Babic <sbabic@denx.de> | 2012-12-04 09:26:54 +0100 |
commit | 77cb33bd25c97be3f5a878831cf743778e2e7dac (patch) | |
tree | 1b1c5ad24ec5102878ae029c3d4460cad327349d /arch/arm/imx-common | |
parent | 58bcadd9d08f680739d29e0f5f374f721023b8ca (diff) | |
download | u-boot-imx-77cb33bd25c97be3f5a878831cf743778e2e7dac.zip u-boot-imx-77cb33bd25c97be3f5a878831cf743778e2e7dac.tar.gz u-boot-imx-77cb33bd25c97be3f5a878831cf743778e2e7dac.tar.bz2 |
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/arm/imx-common')
0 files changed, 0 insertions, 0 deletions