commit | 4eb72fe921cfb0f1ea45e5c4402b83e96847ba20 | [log] [tgz] |
---|---|---|
author | Konstantin Porotchkin <kostap@marvell.com> | Sun Mar 07 13:48:21 2021 +0200 |
committer | Manish Pandey <manish.pandey2@arm.com> | Tue Apr 20 13:00:16 2021 +0200 |
tree | cf2c8629ec0508d0fb332569dc3befce329822cc | |
parent | 90eac1703d555cc007f145ce4c941a2bc6bf58c5 [diff] |
drivers/marvell: check if TRNG unit is present Some Marvell SoCs may have crypto engine disabled in the HW. This patch checks the AP LD0 efuse for crypto engine/TRNG presence before initializing the driver. Change-Id: I441e7c69a137106bd36302b028b04c0b31896dbd Signed-off-by: Konstantin Porotchkin <kostap@marvell.com> Reviewed-on: https://sj1git1.cavium.com/c/IP/SW/boot/atf/+/47314 Tested-by: sa_ip-sw-jenkins <sa_ip-sw-jenkins@marvell.com> Reviewed-by: Yi Guo <yi.guo@cavium.com>