summaryrefslogtreecommitdiff
path: root/arch/arm
diff options
context:
space:
mode:
authorSébastien Szymanski <sebastien.szymanski@armadeus.com>2017-08-02 17:05:26 +0200
committerStefano Babic <sbabic@denx.de>2017-08-16 11:44:57 +0200
commit44e670532dd9e29bc25f136db8b00c49bef42c4d (patch)
tree68a347d833922d2e3088a7bca2fcef1d2ba3321a /arch/arm
parent6efb613373d140685b3ac41111988326e241e7a6 (diff)
imx: imx6ul: correct get_cpu_speed_grade_hz on 696MHz SoCs
Return the correct value when the speed grade is 696MHz. Signed-off-by: Sébastien Szymanski <sebastien.szymanski@armadeus.com>
Diffstat (limited to 'arch/arm')
-rw-r--r--arch/arm/mach-imx/mx6/soc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mach-imx/mx6/soc.c b/arch/arm/mach-imx/mx6/soc.c
index af316735ee..760745656f 100644
--- a/arch/arm/mach-imx/mx6/soc.c
+++ b/arch/arm/mach-imx/mx6/soc.c
@@ -130,7 +130,7 @@ u32 get_cpu_speed_grade_hz(void)
if (val == OCOTP_CFG3_SPEED_528MHZ)
return 528000000;
else if (val == OCOTP_CFG3_SPEED_696MHZ)
- return 69600000;
+ return 696000000;
else
return 0;
}