mx6: Fix calculation of emi_slow clock rate
authorAndrew Gabbasov <andrew_gabbasov@mentor.com>
Thu, 4 Jul 2013 11:27:32 +0000 (06:27 -0500)
committerStefano Babic <sbabic@denx.de>
Tue, 10 Sep 2013 16:22:27 +0000 (18:22 +0200)
commitd55e0dabd706a5632a11d4d82c777def4fd8ce32
treed8d329ea6c42fbedccbd3b6cd63ff64e3e5eb127
parent68e1747f9c0506159e8ecc9a4feb58e9c65a7b39
mx6: Fix calculation of emi_slow clock rate

This is porting of Freescale's patch from version imx_v2009.08_3.0.35_4.0.0,
that fixes the obvious mistype of bits offset macro name (ACLK_EMI_PODF_OFFSET
was used instead of ACLK_EMI_SLOW_PODF_OFFSET).

Using the occasion, change the variable name 'emi_slow_pof' to more consistent
'emi_slow_podf'.

Signed-off-by: Jason Liu <r64343@freescale.com>
Signed-off-by: Andrew Gabbasov <andrew_gabbasov@mentor.com>
Acked-by: Dirk Behme <dirk.behme@de.bosch.com>
arch/arm/cpu/armv7/mx6/clock.c