]> git.dujemihanovic.xyz Git - u-boot.git/commit
imx: Avoid hardcoded Job Ring Max size
authorBreno Lima <breno.lima@nxp.com>
Thu, 25 Mar 2021 09:30:05 +0000 (17:30 +0800)
committerStefano Babic <sbabic@denx.de>
Thu, 8 Apr 2021 07:18:29 +0000 (09:18 +0200)
commit55086e196eaca9403a636ea7079e7135bddbbece
tree38072b0fce7035ae90c4cee92b18b8f7fd60bf97
parent6d7b27033726fe32583ced72f144c288699eed04
imx: Avoid hardcoded Job Ring Max size

Prior instantiating RNG we have to ensure if the CAAM job rings are
available. Avoid hardcoded job ring max size and use the definition at
fsl_sec.h

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