TEE-502 imx: refactor optee bindings addition
authorSilvano di Ninno <silvano.dininno@nxp.com>
Wed, 29 Jan 2020 16:52:00 +0000 (17:52 +0100)
committerYe Li <ye.li@nxp.com>
Thu, 29 Apr 2021 07:56:39 +0000 (00:56 -0700)
commit1bfbbac316e3d7ac051f81264b66425a86d95c4d
treec87c62bb3ee2a2a5f9b74a362f103884f64a0a8c
parent7d1fe0e66e9537c05a2abff6f16c555ddff63bad
TEE-502 imx: refactor optee bindings addition

- Remove code duplication betwee imx8 and imx8m support
- add reserved memory node to prevent Linux accessing optee reserved memory

Signed-off-by: Silvano di Ninno <silvano.dininno@nxp.com>
Reviewed-by: Ye Li <ye.li@nxp.com>
(cherry picked from commit 8beac7ef22c16b72ad337b44a0516436a4a0d00c)
(cherry picked from commit 07be6f855bdcbca200e4685ea557b2529187e29f)
arch/arm/include/asm/mach-imx/optee.h [new file with mode: 0644]
arch/arm/mach-imx/Makefile
arch/arm/mach-imx/dt_optee.c [new file with mode: 0644]
arch/arm/mach-imx/imx8/fdt.c
arch/arm/mach-imx/imx8m/soc.c