u-boot-brain/arch/arm/cpu/armv7/mx6
Tim Harvey 9b9449c3e2 imx: mx6: add get_cpu_speed_grade_hz func to return MHz speed grade from OTP
The IMX6 has four different speed grades determined by eFUSE SPEED_GRADING
indicated by OCOTP_CFG3[17:16] which is at 0x440 in the Fusemap Description
Table. Return this frequency so that it can be used elsewhere.

Note that the IMX6SDLRM and the IMX6SXRM do not indicate this in the
their Fusemap Description Table however Freescale has confirmed that these
eFUSE bits match the description within the IMX6DQRM and that they will
be added to the next revision of the respective reference manuals.

These have been tested with IMX6 Quad/Solo/Dual-light 800Mhz and 1GHz grades.

Signed-off-by: Tim Harvey <tharvey@gateworks.com>
2015-05-19 15:31:25 +02:00
..
clock.c Merge branch 'master' of git://git.denx.de/u-boot-spi 2015-01-02 07:42:58 -05:00
ddr.c arm: mx6: ddr: set fast-exit on DDR3 if pd_fast_exit specified 2015-05-19 15:22:53 +02:00
hab.c imx: Support i.MX6 High Assurance Boot authentication 2014-09-22 16:21:04 +02:00
Kconfig arch: Make board selection choices optional 2015-05-12 18:10:02 -04:00
Makefile mx6: add support of multi-processor command 2014-08-20 11:52:54 +02:00
mp.c mx6: add support of multi-processor command 2014-08-20 11:52:54 +02:00
soc.c imx: mx6: add get_cpu_speed_grade_hz func to return MHz speed grade from OTP 2015-05-19 15:31:25 +02:00