u-boot-brain/arch
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
..
arc arc: remove dummy target 2015-05-13 19:20:35 +03:00
arm imx: mx6: add get_cpu_speed_grade_hz func to return MHz speed grade from OTP 2015-05-19 15:31:25 +02:00
avr32 arch: Make board selection choices optional 2015-05-12 18:10:02 -04:00
blackfin arch: Make board selection choices optional 2015-05-12 18:10:02 -04:00
m68k arch: Make board selection choices optional 2015-05-12 18:10:02 -04:00
microblaze arch: Make board selection choices optional 2015-05-12 18:10:02 -04:00
mips arch: Make board selection choices optional 2015-05-12 18:10:02 -04:00
nds32 arch: Make board selection choices optional 2015-05-12 18:10:02 -04:00
nios2 arch: Make board selection choices optional 2015-05-12 18:10:02 -04:00
openrisc arch: Make board selection choices optional 2015-05-12 18:10:02 -04:00
powerpc arch: Make board selection choices optional 2015-05-12 18:10:02 -04:00
sandbox sandbox: dts: add sandbox_pmic.dtsi and include it to sandbox.dts and test.dts 2015-05-14 19:59:21 -06:00
sh arch: Make board selection choices optional 2015-05-12 18:10:02 -04:00
sparc arch: Make board selection choices optional 2015-05-12 18:10:02 -04:00
x86 x86: Enable multi-core init for Minnowboard MAX 2015-04-30 16:13:52 -06:00
.gitignore .gitignore: drop include/asm/proc from ignore pattern 2014-06-19 11:18:54 -04:00
Kconfig x86: Kconfig: Move DM_SPI & DM_SPI_FLASH to arch/Kconfig 2015-04-29 18:51:50 -06:00