mirror of
https://git.codelinaro.org/clo/qsdk/oss/boot/u-boot-2016.git
synced 2026-03-14 21:10:27 +01:00
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: Fabio Estevam <fabio.estevam@nxp.com>
This commit is contained in:
parent
31b8a9011b
commit
60a07fb843
1 changed files with 2 additions and 2 deletions
|
|
@ -120,11 +120,11 @@ u32 get_cpu_speed_grade_hz(void)
|
|||
|
||||
switch(val) {
|
||||
case OCOTP_TESTER3_SPEED_800MHZ:
|
||||
return 792000000;
|
||||
return 800000000;
|
||||
case OCOTP_TESTER3_SPEED_500MHZ:
|
||||
return 500000000;
|
||||
case OCOTP_TESTER3_SPEED_1GHZ:
|
||||
return 996000000;
|
||||
return 1000000000;
|
||||
}
|
||||
return 0;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue