]> git.baikalelectronics.ru Git - uboot.git/commit
arm: mach-k3: Add support for device type detection
authorAndrew Davis <afd@ti.com>
Fri, 15 Jul 2022 16:34:32 +0000 (11:34 -0500)
committerTom Rini <trini@konsulko.com>
Thu, 4 Aug 2022 19:32:20 +0000 (15:32 -0400)
commit9e23aed8f607f87d3c2c35a2642a4af5fbc04b5a
tree9c80b5f61295ebf5d6bf41c6233b15761df49951
parent2f011f36149fed60239db12763e7b2f0c83bd924
arm: mach-k3: Add support for device type detection

K3 SoCs are available in a number of device types such as
GP, HS-FS, EMU, etc. Like OMAP SoCs we can detect this at runtime
and should print this out as part of the SoC information line.
We add this as part of the common.c file as it will be used
to also modify our security state early in the device boot.

Signed-off-by: Andrew Davis <afd@ti.com>
Reviewed-by: Tom Rini <trini@konsulko.com>
arch/arm/mach-k3/common.c
arch/arm/mach-k3/common.h
arch/arm/mach-k3/include/mach/hardware.h