Browse Source

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>
Sébastien Szymanski 7 năm trước cách đây
mục cha
commit
44e670532d
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      arch/arm/mach-imx/mx6/soc.c

+ 1 - 1
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;
 	}