Skip to content
Snippets Groups Projects
Commit 60a07fb8 authored by Fabio Estevam's avatar Fabio Estevam Committed by Stefano Babic
Browse files

mx7: Fix the get_cpu_speed_grade_hz() return values


According to the MX7D fuse map the following speed grades are available:

800  MHz
500  MHz
1000 MHz
1200 MHz

So simply return the real frequency that corresponds to the speed grade.

With this change we see on boot:

CPU:   Freescale i.MX7D rev1.2 1000 MHz (running at 792 MHz)

Signed-off-by: default avatarFabio Estevam <fabio.estevam@nxp.com>
parent 31b8a901
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment