]> git.baikalelectronics.ru Git - arm-tf.git/commit
feat(imx8mn): add hab and map required memory blocks
authorAndrey Zhizhikin <andrey.zhizhikin@leica-geosystems.com>
Mon, 26 Sep 2022 20:47:12 +0000 (22:47 +0200)
committerAndrey Zhizhikin <andrey.zhizhikin@leica-geosystems.com>
Wed, 19 Oct 2022 13:53:01 +0000 (15:53 +0200)
commitb5f06d3dfad8c27bdf528b083ef919ce4022c52d
tree1d5c81d2c3e7158c57f366c0cbd2c13759963ae6
parent5941f37288a5ceac495cbdbd3e3d02f1a3c55e0a
feat(imx8mn): add hab and map required memory blocks

In order for HAB to perform operations, memory regions has to be mapped
in TF-A, which HAB ROM code would use internally.

Include those memory blocks for i.MX8MN SoC. Of a special note, the DRAM
block is mapped with complete size available on the platform and uses
MT_RW attributes, this is required to minimize the size of translation
tables and provide a possibility to exchange the execution results
between EL3 and EL1&2, see details in [1].

Link: [1]: https://review.trustedfirmware.org/c/TF-A/trusted-firmware-a/+/16880
Signed-off-by: Andrey Zhizhikin <andrey.zhizhikin@leica-geosystems.com>
Change-Id: If7a2b718658db452871e1ae56b71a4983e8ef2fe
plat/imx/imx8m/imx8mn/imx8mn_bl31_setup.c
plat/imx/imx8m/imx8mn/include/platform_def.h