summaryrefslogtreecommitdiff
path: root/plat/imx/imx8mq
diff options
context:
space:
mode:
authorPeng Fan <peng.fan@nxp.com>2017-10-30 14:31:11 +0800
committerAbel Vesa <abel.vesa@nxp.com>2018-06-11 10:08:40 +0300
commit68c2cdd8cf00624e70449101169b49c266ad2703 (patch)
tree2fccb9769af809892d174da7f421ca8e79f97ecf /plat/imx/imx8mq
parenta4f28e03a3ce2ea79b5e112c6d4d08b628414c71 (diff)
imx8mq: pass TEE address and size to BL33
Pass TEE address space to BL33 to avoid uboot relocation touch this space. Signed-off-by: Peng Fan <peng.fan@nxp.com>
Diffstat (limited to 'plat/imx/imx8mq')
-rw-r--r--plat/imx/imx8mq/imx8m_bl31_setup.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/plat/imx/imx8mq/imx8m_bl31_setup.c b/plat/imx/imx8mq/imx8m_bl31_setup.c
index 56bbca93..e61ab5b7 100644
--- a/plat/imx/imx8mq/imx8m_bl31_setup.c
+++ b/plat/imx/imx8mq/imx8m_bl31_setup.c
@@ -190,6 +190,9 @@ void bl31_early_platform_setup2(u_register_t arg0, u_register_t arg1,
SET_SECURITY_STATE(bl32_image_ep_info.h.attr, SECURE);
bl32_image_ep_info.pc = BL32_BASE;
bl32_image_ep_info.spsr = 0;
+ /* Pass TEE base and size to uboot */
+ bl33_image_ep_info.args.arg1 = 0xFE000000;
+ bl33_image_ep_info.args.arg2 = 0x2000000;
#endif
bl31_tzc380_setup();
}