imx8mm: Update CPU speed grading
authorYe Li <ye.li@nxp.com>
Wed, 17 Oct 2018 06:12:37 +0000 (23:12 -0700)
committerStefano Babic <sbabic@denx.de>
Fri, 1 May 2020 11:46:21 +0000 (13:46 +0200)
commitc9a1a24be55b3348afc2b5a356f9ae36f7af0585
tree67d61f58a6cb3ea45b251b80d7b42fd0c71a7f99
parent499c94975e6a5723a428e4c0f8b146cb412081c0
imx8mm: Update CPU speed grading

According to iMX8MM datasheet (IMX8MMIEC_Rev_D and IMX8MMCEC_Rev_D),
the speed grading for imx8mm is 800Mhz, 1.2Ghz, 1.6Ghz and 1.8Ghz.
Update them to get_cpu_speed_grade_hz function.

Signed-off-by: Ye Li <ye.li@nxp.com>
Reviewed-by: Fabio Estevam <festevam@gmail.com>
Reviewed-by: Peng Fan <peng.fan@nxp.com>
arch/arm/mach-imx/cpu.c