]> git.ipfire.org Git - people/ms/u-boot.git/commit - arch/arm/mach-imx/hab.c
imx: hab: add mx7 secure boot support
authorAdrian Alonso <aalonso@freescale.com>
Mon, 12 Oct 2015 18:48:15 +0000 (13:48 -0500)
committerStefano Babic <sbabic@denx.de>
Fri, 30 Oct 2015 14:22:37 +0000 (15:22 +0100)
commitee3899aa6c938f950a66024f1a451f3219ed85ec
tree9f79fd39f3cd44b8e3da0f36fdebcfc972d75de9
parentfba6f9efa4e20a137f1a8121225c5deff4b17300
imx: hab: add mx7 secure boot support

Add mx7 secure boot support, add helper macro IS_HAB_ENABLED_BIT
to get the corresponding bit mask per SoC (mx7 or mx6) to identify
if securue boot feature is enabled/disabled.

On authenticate_image only check for mmu enabled on mx6 SoC to
force pu_irom_mmu_enabled so ROM code can perform mmu cache flush
mx7 SoC ROM code does not have this issue as ROM enables cache support
based on fuse settings.

Signed-off-by: Adrian Alonso <aalonso@freescale.com>
arch/arm/imx-common/hab.c