]> git.dujemihanovic.xyz Git - u-boot.git/commit
imx8qxp: Fix the reported CPU frequency
authorFabio Estevam <festevam@gmail.com>
Tue, 5 Feb 2019 12:43:26 +0000 (10:43 -0200)
committerStefano Babic <sbabic@denx.de>
Wed, 13 Mar 2019 08:14:35 +0000 (09:14 +0100)
commit75cd09cb18592896abf91bc7530ea28f6b17ec77
treebab2d959d00a71f7c7defc7a4d3a2c7d0cd37e9f
parentf6c3a9136b094ce659897bd024aca6178bfc4955
imx8qxp: Fix the reported CPU frequency

Currently the CPU frequency is incorrectly reported:

CPU:   NXP i.MX8QXP RevB A35 at 147228 MHz

Fix this problem by using a direct call to the SCU firmware to
retrieve the Cortex A35 CPU frequency.

With this change applied the CPU frequency is displayed correctly:

CPU:   NXP i.MX8QXP RevB A35 at 1200 MHz

Tested-by: Marcelo Macedo <marcelo.macedo@nxp.com>
Signed-off-by: Fabio Estevam <festevam@gmail.com>
Tested-by: Andrejs Cainikovs <andrejs.cainikovs@netmodule.com>
arch/arm/mach-imx/imx8/cpu.c