MLK-19064 imx8qm: Add secure boot environment
authorYe Li <ye.li@nxp.com>
Thu, 26 Jul 2018 14:54:34 +0000 (07:54 -0700)
committerYe Li <ye.li@nxp.com>
Fri, 24 May 2019 09:36:38 +0000 (02:36 -0700)
commit6826e1a3fd5828fd9c89279217ea6c8b3c1d1e33
tree513c727414386ac11b25d3e3d8609e1e987574c6
parenta0371a771d102b3f90e043056ecdf477cd31ec20
MLK-19064 imx8qm: Add secure boot environment

Add the secure boot relevant environment variables to ARM2 and MEK.
When CONFIG_AHAB_BOOT is enabled, we will switch to boot flow:
1. Load the signed OS container to address 0x88000000
2. Using auth_cntr to authenticate the OS container. It will load the
   kernel and FDT to destination addresses.
3. Using booti to boot kernel.

Signed-off-by: Ye Li <ye.li@nxp.com>
(cherry picked from commit eb47b72c1c89deddeaa3b3618d8c28aca05cd4ad)
(cherry picked from commit e469bf980df3fa5c7d4e059aaaed4db296a0b002)
board/freescale/imx8qm_arm2/imx8qm_arm2.c
board/freescale/imx8qm_mek/imx8qm_mek.c
include/configs/imx8qm_arm2.h
include/configs/imx8qm_mek.h