]> git.baikalelectronics.ru Git - arm-tf.git/commit
feat(zynqmp): add SMCCC_ARCH_SOC_ID support
authorMichal Simek <michal.simek@amd.com>
Thu, 9 Feb 2023 09:28:58 +0000 (10:28 +0100)
committerMichal Simek <michal.simek@amd.com>
Thu, 9 Feb 2023 12:25:50 +0000 (13:25 +0100)
commit8f9ba3f344545740fc44e90fb8322c7728ae94ec
treed940c86b5bf9fd0afdd2ead4bb6b1abc4a8d6492
parent6264643a0711faef346cbbb6e3d928a198aeaf31
feat(zynqmp): add SMCCC_ARCH_SOC_ID support

Add support for calling SMCCC_ARCH_SOC_ID which is used by Linux soc_id
driver for printing information about manufacturer and also chip version
and silicon ID code. SOC revision is directly mapped to chip ID code.
And SOC version is composed from manufacturer ID based on JEP-106 with
chip_id which contains bits mapped to CPU register 0xffca0044 platform
bits which differentiate between silicon, qemu and other emulated
platforms.

Function description is available at
docs/getting_started/porting-guide.rst.

Change-Id: I1f19e1973593897e71b39244dbdbceb6bd0e8a07
Signed-off-by: Michal Simek <michal.simek@amd.com>
plat/xilinx/common/include/plat_startup.h
plat/xilinx/zynqmp/aarch64/zynqmp_common.c