i.MX8 crypto/fsl: Enable fsl CAAM rng driver
rng driver enabled to read random number using caam. Signed-off-by: Gaurav Jain <gaurav.jain@nxp.com>
This commit is contained in:
committed by
Stefano Babic
parent
ff04a0944d
commit
db74ced5df
@@ -767,8 +767,14 @@ init:
|
||||
return -1;
|
||||
}
|
||||
#if CONFIG_IS_ENABLED(OF_CONTROL)
|
||||
if (ofnode_valid(scu_node))
|
||||
if (ofnode_valid(scu_node)) {
|
||||
if (IS_ENABLED(CONFIG_DM_RNG)) {
|
||||
ret = device_bind_driver(NULL, "caam-rng", "caam-rng", NULL);
|
||||
if (ret)
|
||||
printf("Couldn't bind rng driver (%d)\n", ret);
|
||||
}
|
||||
return ret;
|
||||
}
|
||||
#endif
|
||||
|
||||
#ifdef CONFIG_FSL_CORENET
|
||||
|
||||
Reference in New Issue
Block a user