Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
plat-rcar: romapi: retry call to ROM_GetRndVector
Sometimes ROM_GetRndVector() function returns an error, which causes OP-TEE panic down the call path, as OP-TEE can't handle errors from the hardware random number generator. As a workaround, we can try to repeat call to the ROM_GetRndVector() because it succeeds on the next try. Anyways, this hardly can be considered as a normal behavior so it is better to disable HW RNG by default, which will be done in a separate patch. Signed-off-by: Volodymyr Babchuk <volodymyr_babchuk@epam.com>
- Loading branch information