diff options
author | Sébastien Szymanski <sebastien.szymanski@armadeus.com> | 2017-08-02 15:05:26 (GMT) |
---|---|---|
committer | Stefano Babic <sbabic@denx.de> | 2017-08-16 09:44:57 (GMT) |
commit | 44e670532dd9e29bc25f136db8b00c49bef42c4d (patch) | |
tree | 68a347d833922d2e3088a7bca2fcef1d2ba3321a | |
parent | 6efb613373d140685b3ac41111988326e241e7a6 (diff) | |
download | u-boot-44e670532dd9e29bc25f136db8b00c49bef42c4d.tar.xz |
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>
-rw-r--r-- | arch/arm/mach-imx/mx6/soc.c | 2 |
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 af31673..7607456 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; } |