MLK-16787-2 iMX8M: Add support to enable CONFIG_SECURE_BOOT
authorYe Li <ye.li@nxp.com>
Thu, 9 Nov 2017 03:43:56 +0000 (21:43 -0600)
committerYe Li <ye.li@nxp.com>
Mon, 13 Nov 2017 07:09:45 +0000 (01:09 -0600)
commita0cba5678b10827bc4b5e4fb2e40945a5c332baa
treea687d5f87213cadc45b637401b891c4868a98878
parent5f6ef97a9d13361895180df7014f4e4fb48a5875
MLK-16787-2 iMX8M: Add support to enable CONFIG_SECURE_BOOT

Add some SOC level codes and build configurations to use HAB lib for
CONFIG_SECURE_BOOT, like adding the SEC_CONFIG fuse, enable fuse driver,
CAAM clock function, and add CAAM secure RAM to MMU table.

The FSL_CAAM is temporally not enabled for iMX8M when CONFIG_SECURE_BOOT is set,
because we don't need the CAAM driver for SPL.

Signed-off-by: Ye Li <ye.li@nxp.com>
Reviewed-by: Peng Fan <peng.fan@nxp.com>
arch/arm/cpu/armv8/imx8m/clock.c
arch/arm/cpu/armv8/imx8m/soc.c
arch/arm/imx-common/Kconfig
arch/arm/imx-common/Makefile
arch/arm/include/asm/arch-imx8m/clock.h
include/configs/imx8mq_evk.h