commit | ec0352a5071688f81d1e5d6f9ccacecc74d80d04 | [log] [tgz] |
---|---|---|
author | Ricardo Salveti <ricardo@foundries.io> | Wed Oct 20 15:12:06 2021 +0300 |
committer | Tom Rini <trini@konsulko.com> | Mon Oct 25 17:17:24 2021 -0400 |
tree | ca643d9f848a87bd261ec7855598a6a0d14d41c5 | |
parent | 509f36e1f5cbe1302ada3e93c66e076942cab123 [diff] |
arm: spl: prepare for jumping to OPTEE Make sure to (if applicable) flush the D-cache, invalidate I-cache, and disable MMU and caches before jumping to OPTEE. This fixes the SDP->SPL->OPTEE boot flow on iMX6Q and most likely on some other ARM SoCs. Signed-off-by: Ricardo Salveti <ricardo@foundries.io> Co-developed-by: Oleksandr Suvorov <oleksandr.suvorov@foundries.io> Signed-off-by: Oleksandr Suvorov <oleksandr.suvorov@foundries.io>