mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-29 08:01:08 +00:00
mx7: Add 1.2GHz speed grade entry
There are recent MX7 parts that have a 1.2GHz speed grade. Add support for it. Signed-off-by: Fabio Estevam <fabio.estevam@nxp.com>
This commit is contained in:
parent
60a07fb843
commit
9b548bf856
1 changed files with 3 additions and 0 deletions
|
@ -105,6 +105,7 @@ struct imx_sec_config_fuse_t const imx_sec_config_fuse = {
|
||||||
#define OCOTP_TESTER3_SPEED_800MHZ 0
|
#define OCOTP_TESTER3_SPEED_800MHZ 0
|
||||||
#define OCOTP_TESTER3_SPEED_500MHZ 1
|
#define OCOTP_TESTER3_SPEED_500MHZ 1
|
||||||
#define OCOTP_TESTER3_SPEED_1GHZ 2
|
#define OCOTP_TESTER3_SPEED_1GHZ 2
|
||||||
|
#define OCOTP_TESTER3_SPEED_1P2GHZ 3
|
||||||
|
|
||||||
u32 get_cpu_speed_grade_hz(void)
|
u32 get_cpu_speed_grade_hz(void)
|
||||||
{
|
{
|
||||||
|
@ -125,6 +126,8 @@ u32 get_cpu_speed_grade_hz(void)
|
||||||
return 500000000;
|
return 500000000;
|
||||||
case OCOTP_TESTER3_SPEED_1GHZ:
|
case OCOTP_TESTER3_SPEED_1GHZ:
|
||||||
return 1000000000;
|
return 1000000000;
|
||||||
|
case OCOTP_TESTER3_SPEED_1P2GHZ:
|
||||||
|
return 1200000000;
|
||||||
}
|
}
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue