]> code.ossystems Code Review - bsp/u-boot.git/commit
imx: hab: add mx7 secure boot support
authorAdrian Alonso <aalonso@freescale.com>
Mon, 12 Oct 2015 18:48:15 +0000 (13:48 -0500)
committerOtavio Salvador <otavio@ossystems.com.br>
Tue, 3 Nov 2015 12:55:06 +0000 (10:55 -0200)
commit54021ea45f4476d9f465ce4c67ce2a945089a858
treec147db6f77ed71827fc93a3302ba2005f4bcade3
parenteea967b65257ccaa71a93bccca55ebd2c6326235
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