imx: hab: Keep CAAM clock enabled after authenticating additional images
authorBreno Lima <breno.lima@nxp.com>
Tue, 20 Feb 2018 01:19:22 +0000 (01:19 +0000)
committerStefano Babic <sbabic@denx.de>
Thu, 22 Feb 2018 13:35:20 +0000 (14:35 +0100)
commit669f2d189e4c3a738ad2863a5f8f66a85d468bd9
treef9542c3a9d85cce7f7b6b84e3eb626b2a353dfcf
parentd247cf50698a590571cf9a6fd4608e702580e40e
imx: hab: Keep CAAM clock enabled after authenticating additional images

Currently it is not possible to run CMD_DEK on i.MX SPL targets:

=> dek_blob 0x12000000 0x12001000 128

The system hangs after running dek_blob because the CAAM clock is being
disabled by the HAB code. There is no need to disable CAAM clock after
authenticating additional boot images, thus keep CAAM clock enabled to
address this issue.

Signed-off-by: Breno Lima <breno.lima@nxp.com>
Reviewed-by: Fabio Estevam <fabio.estevam@nxp.com>
arch/arm/mach-imx/hab.c