]> git.baikalelectronics.ru Git - arm-tf.git/commit
feat(zynqmp): add support for custom sip service
authorAmit Nagal <amit.nagal@amd.com>
Wed, 15 Feb 2023 13:13:55 +0000 (18:43 +0530)
committerAmit Nagal <amit.nagal@amd.com>
Thu, 16 Feb 2023 15:23:22 +0000 (20:53 +0530)
commit496d708154d893fb9f412390acd433337faccecc
tree1458e9bcb29e18cd9825ad78cdb64bb35618ff7b
parent2b8c608e1350b3cfa96b18285a7bd86dbbc2d857
feat(zynqmp): add support for custom sip service

Add support for custom sip service.
Bare minimum implementation for custom_smc_handler is provided
by platform. Actual definition for custom_smc_handler will be provided
by custom pkg.

This feature is going to be used by external libraries. For example
for checking it's status.

The similar approach is also used by qti/{sc7180,sc7280} platforms
by providing a way to select QTISECLIB_PATH.

This code is providing a generic way how to wire any code
via custom $(CUSTOM_PKG_PATH)/custom_pkg.mk makefile with also an
option to wire custom SMC. SMC functionality depends on "package".

Change-Id: Icedffd582f76f89fc399b0bb2e05cdaee9b743a0
Signed-off-by: Amit Nagal <amit.nagal@amd.com>
docs/plat/xilinx-zynqmp.rst
plat/xilinx/zynqmp/custom_sip_svc.c [new file with mode: 0644]
plat/xilinx/zynqmp/include/custom_svc.h [new file with mode: 0644]
plat/xilinx/zynqmp/platform.mk
plat/xilinx/zynqmp/sip_svc_setup.c