commit | 81d5605a8654ae735e751b59f3f2d7b09fe29471 | [log] [tgz] |
---|---|---|
author | Breno Lima <breno.lima@nxp.com> | Thu Mar 25 17:30:21 2021 +0800 |
committer | Stefano Babic <sbabic@denx.de> | Thu Apr 08 09:18:29 2021 +0200 |
tree | 06abbb1a1ccf46bdf7baea91215ff952afab24c2 | |
parent | 4e682d555d80875ad062e3366b8970e199e04395 [diff] |
cmd: blob: Instantiate RNG before running CMD_BLOB U-Boot can instantiate CAAM RNG if needed by crypto operations. Call sec_init() prior running a blob operation to ensure RNG is correctly instantiated. Make sure CAAM clock is enabled and check if a job ring is available for that operation. 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>