From: Sébastien Szymanski Date: Wed, 2 Aug 2017 15:05:26 +0000 (+0200) Subject: imx: imx6ul: correct get_cpu_speed_grade_hz on 696MHz SoCs X-Git-Tag: v2017.09-rc3~74^2~8 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=44e670532dd9e29bc25f136db8b00c49bef42c4d;p=u-boot 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 --- 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; }