]> git.dujemihanovic.xyz Git - u-boot.git/commit
imx: Ensure CAAM clock is enabled prior getting out_jr_size
authorBreno Lima <breno.lima@nxp.com>
Thu, 25 Mar 2021 09:30:04 +0000 (17:30 +0800)
committerStefano Babic <sbabic@denx.de>
Thu, 8 Apr 2021 07:18:29 +0000 (09:18 +0200)
commit6d7b27033726fe32583ced72f144c288699eed04
tree3839019c653c1ba24e0acf5446a58e46df343229
parent8c497e148c0676977a1ef392595fd5b790e59ee4
imx: Ensure CAAM clock is enabled prior getting out_jr_size

Prior calling sec_in32() we have to ensure CAAM clock is enabled, the
function sec_in32() is reading CAAM registers and if CAAM clock is disabled
the system will hang.

Signed-off-by: Breno Lima <breno.lima@nxp.com>
Reviewed-by: Ye Li <ye.li@nxp.com>
Signed-off-by: Peng Fan <peng.fan@nxp.com>
arch/arm/mach-imx/cmd_dek.c
arch/arm/mach-imx/cmd_mfgprot.c