TEE-465: arm: imx8: enable fdt overlay support
authorSilvano di Ninno <silvano.dininno@nxp.com>
Tue, 3 Mar 2020 16:32:04 +0000 (17:32 +0100)
committerYe Li <ye.li@nxp.com>
Thu, 29 Apr 2021 10:25:55 +0000 (03:25 -0700)
commitf8ae54c824553562cb004a701ce84a41a6b0b5a5
tree7d5496687be922f1017e823892f9ed3a60242e2b
parent8c0aab72b34f9953028cfc33319be021754fee73
TEE-465: arm: imx8: enable fdt overlay support

Enable FDT overlay for all the i.MX 8 series.
Instead of modifying the FDT like done currently,
allow u-boot to apply an overlay instead.
Fallback to previous imlementation if overlay fails.

Signed-off-by: Silvano di Ninno <silvano.dininno@nxp.com>
Reviewed-by: Ye Li <ye.li@nxp.com>
(cherry picked from commit 13463bf47b27771976f8b824a20224f599a0518a)
(cherry picked from commit 18ae293f8ce2d26bc9c187f97653e26ed00d1a15)
arch/arm/mach-imx/dt_optee.c