u-boot/arch/arm/cpu/armv7/mx7
Fabio Estevam 60a07fb843 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>
2017-03-19 17:28:59 +01:00
..
clock.c treewide: replace #include <asm/errno.h> with <linux/errno.h> 2016-09-23 17:55:42 -04:00
clock_slice.c treewide: replace #include <asm/errno.h> with <linux/errno.h> 2016-09-23 17:55:42 -04:00
Kconfig Kconfig: Migrate BOARD_LATE_INIT to a select 2017-01-24 10:35:54 -05:00
Makefile mx7: psci: add basic psci support 2015-11-12 17:31:16 +01:00
psci-mx7.c ARM: Move __secure definition to common asm/secure.h 2016-07-15 15:54:57 +02:00
psci.S ARM: PSCI: Switch to per-CPU target PC storage in secure data section 2016-07-15 15:54:58 +02:00
soc.c mx7: Fix the get_cpu_speed_grade_hz() return values 2017-03-19 17:28:59 +01:00