MLK-17086 bootm: Add authentication to optee image
authorYe Li <ye.li@nxp.com>
Tue, 5 Dec 2017 07:16:08 +0000 (01:16 -0600)
committerYe Li <ye.li@nxp.com>
Fri, 24 May 2019 11:28:49 +0000 (04:28 -0700)
commitc83877f5ad9385279c5db3d6ab78ed103d45d1d5
tree6c09a896a7f66bdd6b82714d013792aab807bd92
parent181ae93e7b804db6dca4a0d2c3aaf547413428bb
MLK-17086 bootm: Add authentication to optee image

When IMX_OPTEE is enabled for secure boot, update bootm to authenticate the optee
image and the kernel zImage before booting into optee.

Signed-off-by: Ye Li <ye.li@nxp.com>
(cherry picked from commit d3bee08f12f1d41c83c47773aec6cfa28056694a)
(cherry picked from commit 3825c3fedbbe59fdf8c4f59f10221823a5fc6f03)
(cherry picked from commit a09dca5eff735ef8ef46313de09cfa0f3b4cf189)
cmd/bootm.c