summaryrefslogtreecommitdiff
path: root/arch/arm/cpu/arm926ejs/mxs/spl_mem_init.c
diff options
context:
space:
mode:
authorMarek Vasut <marex@denx.de>2012-11-30 05:22:12 (GMT)
committerStefano Babic <sbabic@denx.de>2012-12-04 08:26:54 (GMT)
commit77cb33bd25c97be3f5a878831cf743778e2e7dac (patch)
tree1b1c5ad24ec5102878ae029c3d4460cad327349d /arch/arm/cpu/arm926ejs/mxs/spl_mem_init.c
parent58bcadd9d08f680739d29e0f5f374f721023b8ca (diff)
downloadu-boot-77cb33bd25c97be3f5a878831cf743778e2e7dac.tar.xz
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/cpu/arm926ejs/mxs/spl_mem_init.c')
0 files changed, 0 insertions, 0 deletions