Skip to content
Commit 81d5605a authored by Breno Lima's avatar Breno Lima Committed by Stefano Babic
Browse files

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: default avatarBreno Lima <breno.lima@nxp.com>
Reviewed-by: default avatarYe Li <ye.li@nxp.com>
Signed-off-by: default avatarPeng Fan <peng.fan@nxp.com>
parent 4e682d55
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment