]> git.ipfire.org Git - thirdparty/u-boot.git/commit
imx8: cpu: add uclass based CPU driver
authorAnatolij Gustschin <agust@denx.de>
Thu, 18 Oct 2018 12:28:24 +0000 (14:28 +0200)
committerStefano Babic <sbabic@denx.de>
Mon, 22 Oct 2018 10:59:01 +0000 (12:59 +0200)
commit2fdb1a1df925f885afc677e61755125844a9b7ef
treebddd3c78c98a1de1f06a949d060c51e435789d9f
parent70b4b49b91e2bfb148307dc4e35594740ba00514
imx8: cpu: add uclass based CPU driver

print_cpuinfo() in board init code requires uclass CPU driver,
add it to be able to display CPU info when CONFIG_DISPLAY_CPUINFO
option is enabled. CPU node in DT will have to include 'clocks'
and 'u-boot,dm-pre-reloc' properties for generic print_cpuinfo()
to work as expected. The driver outputs info for i.MX8QXP Rev A
and Rev B CPUs.

Signed-off-by: Anatolij Gustschin <agust@denx.de>
Cc: Stefano Babic <sbabic@denx.de>
Reviewed-by: Peng Fan <peng.fan@nxp.com>
arch/arm/include/asm/arch-imx/cpu.h
arch/arm/mach-imx/imx8/cpu.c