]> git.baikalelectronics.ru Git - arm-tf.git/commit
feat(zynqmp): add hooks for mmap and early setup
authorAmit Nagal <amit.nagal@amd.com>
Thu, 23 Feb 2023 16:07:23 +0000 (21:37 +0530)
committerAmit Nagal <amit.nagal@amd.com>
Fri, 24 Feb 2023 05:57:32 +0000 (11:27 +0530)
commit70134000842cbc7c052031dd453bdec8f4cb73f1
tree3e4016e60c143efa9b02ebe15683222dac038e4b
parentdc2b8e8028c73a4c7a72d138caa26dc447a1d79a
feat(zynqmp): add hooks for mmap and early setup

Add early setup hooks (via custom_early_setup()) and provide a way
to cover custom memory mapping which includes extending memory map
via custom_mmap_add().

This likely also require to align MAX_XLAT_TABLE, MAX_XLAT_TABLES
macros. It can be done for example by defining these macros in
custom_pkg.mk
MAX_MMAP_REGIONS := XY
$(eval $(call add_define,MAX_MMAP_REGIONS))
MAX_XLAT_TABLES := XZ
$(eval $(call add_define,MAX_XLAT_TABLES))

custom_early_setup() can be used for early low level operations
related to setting up the system to correct state.

Signed-off-by: Amit Nagal <amit.nagal@amd.com>
Change-Id: I61df6f9ba5af0bc97c430974fb10a2edde44f23d
plat/xilinx/zynqmp/bl31_zynqmp_setup.c
plat/xilinx/zynqmp/custom_sip_svc.c
plat/xilinx/zynqmp/include/custom_svc.h
plat/xilinx/zynqmp/include/platform_def.h