commit | 2eb98044eece0539b4c00ed003fc953ddc2d998e | [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 | ed93bc76cee5090d0cf6039c0d89724f8b2af06a [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>