]> git.baikalelectronics.ru Git - uboot.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)
commit44ccfcde48611b1334cdc563021c5b1546f9e513
tree38072b0fce7035ae90c4cee92b18b8f7fd60bf97
parentef765013541916cfe70c5e85a850dc93cd9dcd4b
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