]> git.baikalelectronics.ru Git - arm-tf.git/commit
feat(imx8mm): add hab and map required memory blocks
authorAndrey Zhizhikin <andrey.zhizhikin@leica-geosystems.com>
Mon, 26 Sep 2022 20:41:08 +0000 (22:41 +0200)
committerAndrey Zhizhikin <andrey.zhizhikin@leica-geosystems.com>
Wed, 19 Oct 2022 13:47:39 +0000 (15:47 +0200)
commit5941f37288a5ceac495cbdbd3e3d02f1a3c55e0a
tree1613da17536f041778e7e26382dc5aa5a90f6135
parent61fe7826d8ae41c906b2189136a1ae482f91f84a
feat(imx8mm): 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.MX8MM 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: I6a3a3d7105b85c2f4ab6ea6cfbca67c9a325eb11
plat/imx/imx8m/imx8mm/imx8mm_bl31_setup.c
plat/imx/imx8m/imx8mm/include/platform_def.h