summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYe Li <ye.li@nxp.com>2017-05-09 04:27:48 -0500
committerYe Li <ye.li@nxp.com>2017-05-09 04:27:48 -0500
commit0b70df1d0e888d046cec4bd030c78eb746270ec0 (patch)
tree91d4342e40286b8e4d1fb3d400bb864e49cd533f
parent32d4060f845d189308d3431a7df4931ab4bd8f01 (diff)
downloadu-boot-imx-0b70df1d0e888d046cec4bd030c78eb746270ec0.zip
u-boot-imx-0b70df1d0e888d046cec4bd030c78eb746270ec0.tar.gz
u-boot-imx-0b70df1d0e888d046cec4bd030c78eb746270ec0.tar.bz2
MLK-14839-1 mx6: Fix wrong CPU frequency
Fix incorrect value for 696MHz CPU frequency on i.MX6UL. Signed-off-by: Ye Li <ye.li@nxp.com>
-rw-r--r--arch/arm/cpu/armv7/mx6/soc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/cpu/armv7/mx6/soc.c b/arch/arm/cpu/armv7/mx6/soc.c
index 091ce51..be34786 100644
--- a/arch/arm/cpu/armv7/mx6/soc.c
+++ b/arch/arm/cpu/armv7/mx6/soc.c
@@ -134,7 +134,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;
}