MLK-18129-2 imx8qm/qxp: Add secure boot environment
authorYe Li <ye.li@nxp.com>
Wed, 25 Apr 2018 09:45:32 +0000 (02:45 -0700)
committerYe Li <ye.li@nxp.com>
Thu, 29 Apr 2021 07:56:22 +0000 (00:56 -0700)
commit6de1f4e766b547d7949ce720edd7b4ac0ed0752b
tree6fd7906a1321236f0a26c7684df1801d9151b36c
parent8c7defea747ce2e6a87468a40ac95387d1996743
MLK-18129-2 imx8qm/qxp: Add secure boot environment

Add the secure boot relevant environment variables to MEK.
When CONFIG_AHAB_BOOT is enabled, we will switch to boot in this
new way:
1. Load the OS container to address 0x98000000
2. Using auth_cntr to authenticate the OS container. It will load the
   kernel and FDT to destination address.
3. Using booti to boot kernel.

Signed-off-by: Ye Li <ye.li@nxp.com>
Acked-by: Peng Fan <peng.fan@nxp.com>
(cherry picked from commit 545c8fe112244f20377e97921389c86eacc8551f)
(cherry picked from commit cba5acebbe6be0736f229ef719b1a1e5835e1a5f)
(cherry picked from commit 07b9850354b27dafa4cc774c59770931af2ac898)
(cherry picked from commit 149006de99c9c214232d30cc2e9795401766fe4b)
board/freescale/imx8qm_mek/imx8qm_mek.c
board/freescale/imx8qxp_mek/imx8qxp_mek.c
include/configs/imx8qm_mek.h
include/configs/imx8qxp_mek.h