]> git.baikalelectronics.ru Git - uboot.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)
commit11acc311460401da4218e919fb9923f2040cf9bf
treebddd3c78c98a1de1f06a949d060c51e435789d9f
parent204499f037d8e0cf49be26ec924954e8a33e19c0
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