imx8: Add AHAB secure boot support
authorPeng Fan <peng.fan@nxp.com>
Wed, 25 Sep 2019 08:11:14 +0000 (08:11 +0000)
committerStefano Babic <sbabic@denx.de>
Sun, 3 Nov 2019 16:04:16 +0000 (17:04 +0100)
commit7e2db742319beacdb23445f214e02c4c55efa680
treebb571baa48dcdcfe072321156823ec3eb32436ca
parent8c61eba03d062488ca222491b90f609ee49a441b
imx8: Add AHAB secure boot support

Add function and new command "auth_cntr" for secure boot support.
When booting with life cycle set to OEM closed, we need to use
this function to authenticate the OS container and load kernel & FDT
from OS container to their destination.

Also add image authentication call when loading container images.

Users can set CONFIG_AHAB_BOOT=y to enable the feature. It is not
set at default.

Signed-off-by: Ye Li <ye.li@nxp.com>
Signed-off-by: Peng Fan <peng.fan@nxp.com>
arch/arm/mach-imx/imx8/Kconfig
arch/arm/mach-imx/imx8/ahab.c [new file with mode: 0644]
arch/arm/mach-imx/imx8/parse-container.c