diff options
author | Ruchika Gupta <ruchika.gupta@nxp.com> | 2018-02-09 08:36:47 (GMT) |
---|---|---|
committer | Prabhakar Kushwaha <prabhakar.kushwaha@nxp.com> | 2018-02-13 03:42:36 (GMT) |
commit | 03560b1848552b2be47bcc7c184171b6fbc018da (patch) | |
tree | b6e4b6017ab1cf9192ca0de4930ee95beb97d4e8 /include/configs/salvator-x.h | |
parent | 123ee865e05903fac15553d7c094c5aa52b0cda7 (diff) | |
download | u-boot-03560b1848552b2be47bcc7c184171b6fbc018da.tar.xz |
armv8: sec_firmware: Remove JR3 from device tree node in all cases
JR3 was getting removed from device tree only if random number generation
was successful. However, if SEC firmware is present,JR3 should be removed
from device tree node irrespective of the random seed generation as
SEC firmware reserves it for it's use. Not removing it in case of random
number generation failure causes the kernel to crash.
Random number generation was being called twice. This is not required.
If SEC firmware is running, SIP call can be made to the SEC firmware to
get the random number. This call itself would return failure if function
is not supported. Duplicate calling of random number generation function
has been removed
Signed-off-by: Ruchika Gupta <ruchika.gupta@nxp.com>
Diffstat (limited to 'include/configs/salvator-x.h')
0 files changed, 0 insertions, 0 deletions